summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/osmesa/osmesa.c
AgeCommit message (Collapse)Author
2003-10-19Move initialization of default ctx->Driver.buffer-object-functions intoBrian Paul
bufferobj.c so all the drivers don't have to worry about them.
2003-10-15initialize GetBufferSubData pointerBrian Paul
2003-10-11s/GL_COLOR_INDEX/OSMESA_COLOR_INDEX/Brian Paul
2003-10-11don't request accum buffer in color index modeBrian Paul
2003-10-08More SciTech SNAP specific changes to glheader.h. Also modified the macrosKendall Bennett
in swrast/s_spantemp.h to allow dithering to be used in the SNAP drivers.
2003-09-17GL_ARB_vertex_buffer_object working now, at least for non-indexedBrian Paul
vertex arrays.
2003-09-17added call to _mesa_enable_1_5_extensions()Brian Paul
2003-04-04Rework gl[Copy]Tex[Sub]Image() error checking so that all level, width, heightBrian Paul
and depth checks are done via ctx->Driver.TestProxyTexImage(). This allows more flexiblity, like supporting larger, non-cubic 3D textures.
2003-04-01s/gl_ctx/mesa/ and misc clean-upsBrian Paul
2003-04-01New device driver hooks for texture object and texture image creation toBrian Paul
allow drivers to implement C++-like inheritance via containment. Lots of assorted clean-ups related to texture objects.
2003-03-04fix GLchan=GLfloat problemsBrian Paul
2003-03-01Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul
Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
2003-02-25casts to silence g++ warningsBrian Paul
2002-11-14Overhaul of line drawing template code. Make better use of sw_span mechanism.Brian Paul
2002-11-13Lots of clean-ups.Brian Paul
Use new s_spantemp.h to generate all the span functions. Updated triangle functions (#define NAME, etc)
2002-10-30s/BZERO/_mesa_bzero/Brian Paul
2002-10-29update versioning/extensions for OpenGL 1.4 / Mesa 5.0Brian Paul
2002-10-25wrapped a few more C library functionsBrian Paul
2002-10-24Header file clean-up:Brian Paul
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.
2002-10-17patches from Gerk Huisma for float-channel renderingBrian Paul
2002-10-14context-related cleanups (ex: _mesa_notifySwapBuffers instead of ↵Brian Paul
_mesa_swapbuffers)
2002-10-11Another round of glRead/DrawBuffer() clean-ups and simplifications.Brian Paul
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.
2002-10-05GLfloat/GLchan updatesBrian Paul
2002-09-27new texture compression infrastructureBrian Paul
2002-08-07struct sw_span is again allocated on the stack, but the arrays of spanBrian Paul
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.
2002-07-09Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()Brian Paul
indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
2002-06-30CHAN_TYPE==GL_FLOAT clamping. call _tnl_MakeCurrent. (Gerk Huisma)Brian Paul
2002-06-25removed extra right-parenBrian Paul
2002-06-25FRONT_AND_BACK cullingKeith Whitwell
2002-06-15Implemented GL_NV_texture_rectangle extension.Brian Paul
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.
2002-06-15Added ctx parameter to _mesa_debug()Brian Paul
Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
2002-06-13New _mesa_debug() function to replace fprintf() calls.Brian Paul
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)
2002-04-19Allocate a sw_span struct in the swrast context instead of allocating itBrian Paul
on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger) This should solve the performance problem Karl found on Windows.
2002-04-04added OSMesaGetProcAddress()Brian Paul
2002-04-04call _mesa_ResizeBuffersMESA() in OSMesaMakeCurrent() to reconcile buffer ↵Brian Paul
size changes
2002-03-29use _glapi_get_context() instead of GET_CURRENT_CONTEXT(ctx); in buffer_size()Brian Paul
2002-03-16Lots of changes related to framebuffer/window buffer resizing. Basically,Brian Paul
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().
2002-03-01updated comments for CHAN_BITS=16 or 32Brian Paul
2002-01-30return GL_RENDERER = Mesa Offscreen16/32 when CHAN_BITS = 16 or 32Brian Paul
2001-12-17first checkpoint commit of Klaus's new span code (struct sw_span)Brian Paul
2001-09-25use correct vertex for flatshadingKeith Whitwell
2001-09-23[rgba]shift values weren't always correct, only effected blended linesBrian Paul
2001-09-21Make osmesa a DLL instead of a static lib (Windows). This is moreKarl Schultz
consistent with the other modules and platforms. It also makes the API and linkage on Windows more consistent.
2001-09-18compiler warningsKarl Schultz
2001-09-12hook compressed texture functions into driverBrian Paul
2001-09-10fixed s/w alpha bug 458411Brian Paul
2001-08-28added OSMESA_MAX_WIDTH/HEIGHT queriesBrian Paul
2001-08-28OpenGL 1.3 supportBrian Paul
2001-07-14more work on float colors (still not finished)Brian Paul
2001-07-13assorted changes for supporting GLfloat color channels (not done)Brian Paul