aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/osmesa
Commit message (Collapse)AuthorAgeFilesLines
* s/gl_ctx/mesa/ and misc clean-upsBrian Paul2003-04-011-27/+33
|
* New device driver hooks for texture object and texture image creation toBrian Paul2003-04-011-2/+6
| | | | | allow drivers to implement C++-like inheritance via containment. Lots of assorted clean-ups related to texture objects.
* fix GLchan=GLfloat problemsBrian Paul2003-03-041-7/+13
|
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-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++ warningsBrian Paul2003-02-251-2/+2
|
* Overhaul of line drawing template code. Make better use of sw_span mechanism.Brian Paul2002-11-141-204/+13
|
* Lots of clean-ups.Brian Paul2002-11-131-1512/+843
| | | | | Use new s_spantemp.h to generate all the span functions. Updated triangle functions (#define NAME, etc)
* s/BZERO/_mesa_bzero/Brian Paul2002-10-301-2/+2
|
* update versioning/extensions for OpenGL 1.4 / Mesa 5.0Brian Paul2002-10-291-3/+3
|
* wrapped a few more C library functionsBrian Paul2002-10-251-2/+2
|
* Header file clean-up:Brian Paul2002-10-241-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 renderingBrian Paul2002-10-171-7/+7
|
* context-related cleanups (ex: _mesa_notifySwapBuffers instead of ↵Brian Paul2002-10-141-1/+2
| | | | _mesa_swapbuffers)
* Another round of glRead/DrawBuffer() clean-ups and simplifications.Brian Paul2002-10-111-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 updatesBrian Paul2002-10-051-18/+22
|
* new texture compression infrastructureBrian Paul2002-09-271-5/+8
|
* struct sw_span is again allocated on the stack, but the arrays of spanBrian Paul2002-08-071-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 Paul2002-07-091-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 Paul2002-06-301-1/+15
|
* removed extra right-parenBrian Paul2002-06-251-2/+2
|
* FRONT_AND_BACK cullingKeith Whitwell2002-06-251-1/+4
|
* Implemented GL_NV_texture_rectangle extension.Brian Paul2002-06-151-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 Paul2002-06-151-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 Paul2002-06-131-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 itBrian Paul2002-04-191-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 Paul2002-04-041-1/+34
|
* call _mesa_ResizeBuffersMESA() in OSMesaMakeCurrent() to reconcile buffer ↵Brian Paul2002-04-041-2/+7
| | | | size changes
* use _glapi_get_context() instead of GET_CURRENT_CONTEXT(ctx); in buffer_size()Brian Paul2002-03-291-2/+3
|
* Lots of changes related to framebuffer/window buffer resizing. Basically,Brian Paul2002-03-161-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 32Brian Paul2002-03-011-9/+7
|
* return GL_RENDERER = Mesa Offscreen16/32 when CHAN_BITS = 16 or 32Brian Paul2002-01-301-3/+9
|
* first checkpoint commit of Klaus's new span code (struct sw_span)Brian Paul2001-12-171-4/+3
|
* main trunk is now 4.1Karl Schultz2001-11-291-1/+1
|
* update to version 4.0Karl Schultz2001-11-291-1/+1
|
* use correct vertex for flatshadingKeith Whitwell2001-09-251-14/+14
|
* Fix up Windows makefiles so that the debug build leaves debugger infoKarl Schultz2001-09-251-1/+1
| | | | | in the libraries. Make with NODEBUG=1 builds optimized without debug info (doc'ed in top level Makefile.win).
* [rgba]shift values weren't always correct, only effected blended linesBrian Paul2001-09-231-12/+47
|
* Make osmesa a DLL instead of a static lib (Windows). This is moreKarl Schultz2001-09-213-19/+35
| | | | | consistent with the other modules and platforms. It also makes the API and linkage on Windows more consistent.
* clean up makefiles some more for WindowsKarl Schultz2001-09-181-11/+10
|
* compiler warningsKarl Schultz2001-09-181-14/+14
|
* remove carriage return charsKarl Schultz2001-09-181-37/+37
|
* Win32 updates (Karl Schultz)Brian Paul2001-09-141-0/+37
|
* hook compressed texture functions into driverBrian Paul2001-09-121-1/+4
|
* fixed s/w alpha bug 458411Brian Paul2001-09-101-7/+2
|
* added OSMESA_MAX_WIDTH/HEIGHT queriesBrian Paul2001-08-281-1/+7
|
* OpenGL 1.3 supportBrian Paul2001-08-281-1/+2
|
* more work on float colors (still not finished)Brian Paul2001-07-141-4/+4
|
* assorted changes for supporting GLfloat color channels (not done)Brian Paul2001-07-131-7/+7
|
* Rename some of the tnl->Driver.* functions to tnl->Driver.Render.*, to make itKeith Whitwell2001-07-121-15/+2
| | | | | | | | | | | | | | clear that these are owned by t_vb_render.c. Make swrast_setup opaque - it now hooks itself directly into tnl->Driver.Render.*. Add a _swsetup_Wakeup() call that does this. Update X11 (tested), osmesa and FX drivers for this change. FX compiles but is probably broken as the changes there are large. It was the only remaining driver that used the internal _swsetup_ functions for interp and copy_pv. This usage has been replaced with code from the DRI tdfx driver.
* fixed logic error in OSMesaMakeCurrent() for 565 pixel support (Lars Andersson)Brian Paul2001-07-051-3/+4
|