Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Before calling _mesa_create_context(), initialize a dd_function_table struct | Brian Paul | 2004-01-20 | 1 | -50/+13 |
| | | | | | | | | | | by calling _mesa_init_driver_functions() and then plugging in the driver- specific functions. In particular, make sure ctx->Driver.NewTextureObject points to the appropriate driver function so that _all_ texture objects are augmented with the driver-specific data. Put in a bunch of assertions in the texture-related driver functions that texObj->DriverData is valid. Remove old dead code in near future. | ||||
* | Move initialization of default ctx->Driver.buffer-object-functions into | Brian Paul | 2003-10-19 | 1 | -11/+0 |
| | | | | bufferobj.c so all the drivers don't have to worry about them. | ||||
* | initialize GetBufferSubData pointer | Brian Paul | 2003-10-15 | 1 | -0/+1 |
| | |||||
* | s/GL_COLOR_INDEX/OSMESA_COLOR_INDEX/ | Brian Paul | 2003-10-11 | 1 | -1/+1 |
| | |||||
* | don't request accum buffer in color index mode | Brian Paul | 2003-10-11 | 1 | -1/+2 |
| | |||||
* | More SciTech SNAP specific changes to glheader.h. Also modified the macros | Kendall Bennett | 2003-10-08 | 1 | -14/+14 |
| | | | | in swrast/s_spantemp.h to allow dithering to be used in the SNAP drivers. | ||||
* | GL_ARB_vertex_buffer_object working now, at least for non-indexed | Brian Paul | 2003-09-17 | 1 | -0/+11 |
| | | | | vertex arrays. | ||||
* | added call to _mesa_enable_1_5_extensions() | Brian Paul | 2003-09-17 | 1 | -0/+1 |
| | |||||
* | Rework gl[Copy]Tex[Sub]Image() error checking so that all level, width, height | Brian Paul | 2003-04-04 | 1 | -2/+1 |
| | | | | | and depth checks are done via ctx->Driver.TestProxyTexImage(). This allows more flexiblity, like supporting larger, non-cubic 3D textures. | ||||
* | s/gl_ctx/mesa/ and misc clean-ups | Brian Paul | 2003-04-01 | 1 | -27/+33 |
| | |||||
* | New device driver hooks for texture object and texture image creation to | Brian Paul | 2003-04-01 | 1 | -2/+6 |
| | | | | | allow drivers to implement C++-like inheritance via containment. Lots of assorted clean-ups related to texture objects. | ||||
* | fix GLchan=GLfloat problems | Brian Paul | 2003-03-04 | 1 | -7/+13 |
| | |||||
* | Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch] | Brian Paul | 2003-03-01 | 1 | -3/+2 |
| | | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h | ||||
* | casts to silence g++ warnings | Brian Paul | 2003-02-25 | 1 | -2/+2 |
| | |||||
* | Overhaul of line drawing template code. Make better use of sw_span mechanism. | Brian Paul | 2002-11-14 | 1 | -204/+13 |
| | |||||
* | Lots of clean-ups. | Brian Paul | 2002-11-13 | 1 | -1512/+843 |
| | | | | | Use new s_spantemp.h to generate all the span functions. Updated triangle functions (#define NAME, etc) | ||||
* | s/BZERO/_mesa_bzero/ | Brian Paul | 2002-10-30 | 1 | -2/+2 |
| | |||||
* | update versioning/extensions for OpenGL 1.4 / Mesa 5.0 | Brian Paul | 2002-10-29 | 1 | -3/+3 |
| | |||||
* | wrapped a few more C library functions | Brian Paul | 2002-10-25 | 1 | -2/+2 |
| | |||||
* | Header file clean-up: | Brian Paul | 2002-10-24 | 1 | -5/+3 |
| | | | | | | | | 1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc. | ||||
* | patches from Gerk Huisma for float-channel rendering | Brian Paul | 2002-10-17 | 1 | -7/+7 |
| | |||||
* | context-related cleanups (ex: _mesa_notifySwapBuffers instead of ↵ | Brian Paul | 2002-10-14 | 1 | -1/+2 |
| | | | | _mesa_swapbuffers) | ||||
* | Another round of glRead/DrawBuffer() clean-ups and simplifications. | Brian Paul | 2002-10-11 | 1 | -3/+3 |
| | | | | | | | Replaced ctx->Color._DriverDrawBuffer with swrast->CurrentBuffer. Replaced ctx->Pixel._DriverReadBuffer with ctx->Pixel._ReadSrcMask. swrast->Driver.SetBuffer() takes FRONT/BACK_LEFT/RIGHT_BIT values now. Added tokens and code for GL_AUX buffers, for completeness. | ||||
* | GLfloat/GLchan updates | Brian Paul | 2002-10-05 | 1 | -18/+22 |
| | |||||
* | new texture compression infrastructure | Brian Paul | 2002-09-27 | 1 | -5/+8 |
| | |||||
* | struct sw_span is again allocated on the stack, but the arrays of span | Brian Paul | 2002-08-07 | 1 | -16/+16 |
| | | | | | | | data are broken out into a new struct span_arrays which is allocated per-context (to avoid huge stack allocations - a problem on Windows). This lets us use span.redStep instead of span->redStep (for example) to hopefully get slightly better performance in the triangle functions. | ||||
* | Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer() | Brian Paul | 2002-07-09 | 1 | -14/+6 |
| | | | | | indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details. | ||||
* | CHAN_TYPE==GL_FLOAT clamping. call _tnl_MakeCurrent. (Gerk Huisma) | Brian Paul | 2002-06-30 | 1 | -1/+15 |
| | |||||
* | removed extra right-paren | Brian Paul | 2002-06-25 | 1 | -2/+2 |
| | |||||
* | FRONT_AND_BACK culling | Keith Whitwell | 2002-06-25 | 1 | -1/+4 |
| | |||||
* | Implemented GL_NV_texture_rectangle extension. | Brian Paul | 2002-06-15 | 1 | -3/+3 |
| | | | | | | | | | Replace struct gl_texure_object's Dimension w/ Target field. Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled field is obsolete, but still present for now. This effectively removes the 8-texture units limit, 32 units now possible, but unlikely! New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field. Updated device drivers to use ctx->Texture._EnabledUnits. | ||||
* | Added ctx parameter to _mesa_debug() | Brian Paul | 2002-06-15 | 1 | -8/+3 |
| | | | | | | Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes. | ||||
* | New _mesa_debug() function to replace fprintf() calls. | Brian Paul | 2002-06-13 | 1 | -2/+5 |
| | | | | | | | | Some source files updated to call _mesa_debug(), but not finished. Added __GLimports as a parameter to _mesa_create/init_context() and updated drivers accordingly. Fleshed-out more of the __GLimports and __GLexports functionality. Removed run-time config file support (config.c) | ||||
* | Allocate a sw_span struct in the swrast context instead of allocating it | Brian Paul | 2002-04-19 | 1 | -16/+16 |
| | | | | | on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger) This should solve the performance problem Karl found on Windows. | ||||
* | added OSMesaGetProcAddress() | Brian Paul | 2002-04-04 | 1 | -1/+34 |
| | |||||
* | call _mesa_ResizeBuffersMESA() in OSMesaMakeCurrent() to reconcile buffer ↵ | Brian Paul | 2002-04-04 | 1 | -2/+7 |
| | | | | size changes | ||||
* | use _glapi_get_context() instead of GET_CURRENT_CONTEXT(ctx); in buffer_size() | Brian Paul | 2002-03-29 | 1 | -2/+3 |
| | |||||
* | Lots of changes related to framebuffer/window buffer resizing. Basically, | Brian Paul | 2002-03-16 | 1 | -6/+10 |
| | | | | | | | instead of passing a GLcontext* to ResizeBuffers(), pass a GLframebuffer*. The idea is that a window can be resized without it being bound to a rendering context. This makes for a nice clean-up in the XFree86 server-side GLX code. Renamed ctx->Driver.ResizeBuffersMESA() to ctx->Driver.ResizeBuffers(). | ||||
* | updated comments for CHAN_BITS=16 or 32 | Brian Paul | 2002-03-01 | 1 | -9/+7 |
| | |||||
* | return GL_RENDERER = Mesa Offscreen16/32 when CHAN_BITS = 16 or 32 | Brian Paul | 2002-01-30 | 1 | -3/+9 |
| | |||||
* | first checkpoint commit of Klaus's new span code (struct sw_span) | Brian Paul | 2001-12-17 | 1 | -4/+3 |
| | |||||
* | use correct vertex for flatshading | Keith Whitwell | 2001-09-25 | 1 | -14/+14 |
| | |||||
* | [rgba]shift values weren't always correct, only effected blended lines | Brian Paul | 2001-09-23 | 1 | -12/+47 |
| | |||||
* | Make osmesa a DLL instead of a static lib (Windows). This is more | Karl Schultz | 2001-09-21 | 1 | -10/+10 |
| | | | | | consistent with the other modules and platforms. It also makes the API and linkage on Windows more consistent. | ||||
* | compiler warnings | Karl Schultz | 2001-09-18 | 1 | -14/+14 |
| | |||||
* | hook compressed texture functions into driver | Brian Paul | 2001-09-12 | 1 | -1/+4 |
| | |||||
* | fixed s/w alpha bug 458411 | Brian Paul | 2001-09-10 | 1 | -7/+2 |
| | |||||
* | added OSMESA_MAX_WIDTH/HEIGHT queries | Brian Paul | 2001-08-28 | 1 | -1/+7 |
| | |||||
* | OpenGL 1.3 support | Brian Paul | 2001-08-28 | 1 | -1/+2 |
| | |||||
* | more work on float colors (still not finished) | Brian Paul | 2001-07-14 | 1 | -4/+4 |
| |