aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/svga
Commit message (Collapse)AuthorAgeFilesLines
* Fix/improve framebuffer object reference counting.Brian2007-03-061-1/+0
| | | | | | | Use _mesa_reference_framebuffer() and _mesa_unreference_framebuffer() functions to be sure reference counting is done correctly. Additional assertions are done too. Note _mesa_dereference_framebuffer() renamed to "unreference" as that's more accurate.
* merge current trunk into vbo branchAlan Hourihane2006-11-025-20/+40
|
* Remove calls to _mesa_ResizeBuffersMESA() - generally replace with code toBrian Paul2006-10-151-3/+11
| | | | check the current window size, then call _mesa_resize_framebuffer().
* some updates, but code still out of dateBrian Paul2005-09-071-11/+3
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-10/+12
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* silence a warningBrian Paul2004-11-291-2/+2
|
* Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport().Brian Paul2004-11-271-3/+8
| | | | | | | | Now, the driver's Viewport routine should call _mesa_ResizeBuffersMESA() if necessary. Cleaned up code related to GLframebuffer width/height initialization. Set initial viewport/scissor params in _mesa_make_current2(), instead of in the drivers' MakeCurrent functions.
* compilation fixesBrian Paul2002-11-1110-37/+38
|
* Header file clean-up:Brian Paul2002-10-241-9/+2
| | | | | | | | 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.
* context-related cleanups (ex: _mesa_notifySwapBuffers instead of ↵Brian Paul2002-10-141-2/+2
| | | | _mesa_swapbuffers)
* Changed a number of context fields from GLchan to GLfloat (such as ClearColor).Brian Paul2002-10-044-13/+29
| | | | | | Also changed parameter types for some driver functions (like ctx->Driver.Clear- Color). Updated all the device drivers. Someday, we want to support 8, 16 and 32-bit channels dynamically at runtime.
* Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()Brian Paul2002-07-091-30/+7
| | | | | indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
* Added ctx parameter to _mesa_debug()Brian Paul2002-06-151-6/+5
| | | | | | 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/+6
| | | | | | | | 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)
* Lots of changes related to framebuffer/window buffer resizing. Basically,Brian Paul2002-03-161-2/+3
| | | | | | | 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().
* updates for Mesa 4.0Brian Paul2001-09-231-1/+2
|
* Split driver struct into swrast/tnl/core components.Keith Whitwell2001-03-191-36/+37
|
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-2/+2
|
* misc updates to match latest device driver changesBrian Paul2001-02-0611-33/+70
|
* Lots of GLchan datatype changes.Brian Paul2001-01-248-30/+24
| | | | | | | | | Added GLvector4us datatype in math/m_vector.[ch] Added _math_trans_4us() in math/m_translate.[ch] Choose GLvector4ub, GLvector4us, GLvector4f at compile time based on CHAN_BITS. Made Driver.ClearColor() and Driver.ClearIndex() optional driver functions. Changed args to Driver.ClearColor(), updated drivers. Reordered files in Makefile.X11
* Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul2001-01-231-6/+6
| | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
* Major rework of tnl moduleKeith Whitwell2000-12-261-3/+3
| | | | | | | New array_cache module Support 8 texture units in core mesa (now support 8 everywhere) Rework core mesa statechange operations to avoid flushing on many noop statechanges.
* Modified Files:Jouk Jansen2000-11-221-30/+30
| | | | | | | | | | | | | | | | | | Mesa/src/Allegro/amesa.c Mesa/src/DOS/dosmesa.c Mesa/src/FX/fxdd.c Mesa/src/FX/fxdrv.h Mesa/src/FX/fxfastpath.c Mesa/src/GGI/include/ggi/mesa/ggimesa.h Mesa/src/OSmesa/osmesa.c Mesa/src/SVGA/svgamesa.c Mesa/src/Trace/tr_control.c Mesa/src/Windows/wgl.c Mesa/src/X/xmesaP.h Mesa/src/X86/3dnow.c Mesa/src/X86/katmai.c Mesa/src/X86/x86.c Removed Files: Mesa/src/mms_depend Oops,... all files containing Caps in directory name or file name were missing in my types->mtypes commit. ----------------------------------------------------------------------
* Minor header file changes to silence warnings.Brian Paul2000-11-171-2/+5
| | | | | Added _mesa_enable_sw_extensions(), called by software-only drivers to enable all s/w-supported GL extensions.
* Move the transform and lighting code to two new directoriesKeith Whitwell2000-11-161-2/+2
| | | | | | | | | | | | | | | math: Provides basic matrix and vector functionality that might be useful to multiple software t&l implementations, and is used by core mesa to manage the Model, Project, etc matrices. tnl: The real transform & lighting code from core mesa, including everything from glVertex3f through vertex buffer handling, transformation, clipping, lighting and handoff to a driver for rasterization. The interfaces of these can be further tightened up, but the basic splitting up of state and code move is done.
* more Driver.Color, Driver.Index updatesBrian Paul2000-11-141-4/+1
|
* Removed Driver.Color() and Driver.Index() functions.Brian Paul2000-11-1411-102/+53
| | | | | | Pass color or color index directly to WriteMono*() span functions. Updated current s/w drivers accordingly. Clean-up of X gc handling in XMesa driver.
* First batch of OpenGL SI related changes:Brian Paul2000-09-261-26/+26
| | | | | | | Renamed struct gl_context to struct __GLcontextRec. Include glcore.h, setup GL imports/exports. Replaced gl_ prefix with _mesa_ prefix in context.[ch] functions. GLcontext's Visual field is no longer a pointer.
* added dummy function to silence compiler warningBrian Paul2000-06-145-5/+56
|
* updates for separate R/G/B/A accum buffer sizesBrian Paul2000-03-311-2/+2
|
* include conf.htanner2000-01-315-5/+25
|
* updated RGB2BGR functionBrian Paul2000-01-252-10/+8
|
* updated for Mesa 3.3Brian Paul2000-01-258-162/+295
|
* added #ifdef SVGA, work-around asm code problemBrian Paul2000-01-236-6/+40
|
* updated SVGA sources from Mesa 3.2Brian Paul2000-01-2212-334/+1468
|
* Initial revisionjtg1999-08-191-0/+540