summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/windows/wmesa.c
Commit message (Collapse)AuthorAgeFilesLines
* Removing from this directory. Will be added to new gdi driver directory.Karl Schultz2003-07-241-3312/+0
|
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-2/+1
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* Check only LEFT bits for clearing alpha buffer. (Evgeny Kotsuba)Karl Schultz2003-01-301-2/+2
|
* update versioning/extensions for OpenGL 1.4 / Mesa 5.0Brian Paul2002-10-291-1/+2
|
* Header file clean-up:Brian Paul2002-10-241-6/+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)
* 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.
* Changed a number of context fields from GLchan to GLfloat (such as ClearColor).Brian Paul2002-10-041-3/+7
| | | | | | 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.
* Fix for bug 618459. Mods to allow compilation on VC++ 5.0 (Michael Krause)Karl Schultz2002-10-041-2/+8
|
* new texture compression infrastructureBrian Paul2002-09-271-13/+17
|
* Mark destroyed context as not current. (Frank Warmerdam)Karl Schultz2002-09-121-1/+4
|
* Don't call _mesa_initialize_context because we are usingKarl Schultz2002-08-281-11/+2
| | | | | | _mesa_create_context. This avoids calling initialize twice and fixes memory leaks. Add call to free the GL context because we are creating it with _mesa_create_context, fixing another leak.
* Catch up windows driver with recent context modsKarl Schultz2002-07-291-3/+3
|
* Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()Brian Paul2002-07-091-19/+8
| | | | | indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
* Implemented GL_NV_texture_rectangle extension.Brian Paul2002-06-151-2/+2
| | | | | | | | | 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-9/+9
| | | | | | 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/+7
| | | | | | | | 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)
* Apply alpha buffer control fix to accum buffer too.Karl Schultz2002-04-231-2/+3
|
* Fix up alpha buffer handling for Windows.Karl Schultz2002-04-231-4/+13
| | | | | | | | | - add two new Pixel Format Descriptors that do not have alpha bits to mirror the two that do. - add logic to wglChoosePixelFormat to match PFD's with respect to alpha. - Create/clear software alpha buffer as required. Now a wgl or GLUT program can control the creation of a software alpha buffer via the PFD or GLUT parms, respectively.
* Lots of changes related to framebuffer/window buffer resizing. Basically,Brian Paul2002-03-161-4/+5
| | | | | | | 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().
* Fixes for 24-bit Windows devices. The old code was trying to do 3-byteKarl Schultz2002-01-161-5/+11
| | | | stores with a full DWORD store (yuk). (Jeff Lewis)
* Fixed pixel color component problem and clear code for 24-bit WindowsKarl Schultz2002-01-151-158/+165
| | | | devices. (Jeff Lewis)
* Updates for improved DirectDraw support (Daniel Slater)Karl Schultz2001-11-011-62/+491
|
* Fix the clear() functionKarl Schultz2001-10-051-80/+98
| | | | | | | | - add checks for the ColorMask and IndexMask (like osmesa) - correctly handle the DD_*_BIT flags so that we don't also ask the swrast to clear the color buffer after we cleared it ourselves. (doh!) This gives nearly a 2X improvement in the frame rate in a program like gears.
* Updated Windows driver for Mesa 4.0.Karl Schultz2001-10-041-1555/+1427
| | | | Needs optimization.
* disable some more code so that it compiles quietly on Windows.Karl Schultz2001-09-251-6/+6
|
* remove carriage return charsKarl Schultz2001-09-181-2971/+2971
|
* Win32 updates (Karl Schultz)Brian Paul2001-09-141-2955/+2971
|
* s/Height/height/ (Jeff Potter)Brian Paul2001-05-211-2/+2
|
* fixed Y flip problem in read_rgba_pixels() (Frank Warmerdam)Brian Paul2001-05-091-2/+3
|
* flush pipeline in WMesaSwapBuffers (Frank Warmerdam)Brian Paul2001-04-261-1/+9
|
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-2/+2
|
* Lots of GLchan datatype changes.Brian Paul2001-01-241-3/+3
| | | | | | | | | 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
* Minor header file changes to silence warnings.Brian Paul2000-11-171-1/+3
| | | | | Added _mesa_enable_sw_extensions(), called by software-only drivers to enable all s/w-supported GL extensions.
* Removed Driver.Color() and Driver.Index() functions.Brian Paul2000-11-141-33/+14
| | | | | | 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.
* - Changes for new software rasterizer modulesKeith Whitwell2000-11-051-10/+10
| | | | | | | | | - Remove support for choosing software fallbacks from core code - Remove partial fallback code from vbrender.c -- drivers are now expected to be able to find a triangle/quad function for every state, even if they have to use _swsetup_Triangle or _swsetup_Quad. - Marked derived variables in the GLcontext struct with a leading underscore '_'.
* removed ctx->Texture.Enabled, use ctx->Texture.ReallyEnabled insteadBrian Paul2000-09-281-4/+4
|
* First batch of OpenGL SI related changes:Brian Paul2000-09-261-19/+19
| | | | | | | 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.
* Win32 updates (Chris Morley)Brian Paul2000-09-121-82/+30
|
* removed ctx->Driver.Dither functionBrian Paul2000-09-081-12/+17
|
* Removed ctx->Driver.LogicOp().Brian Paul2000-09-071-24/+9
| | | | | | | | ctx->Driver.Index/ColorMask() now return void. Removed SWmasking and SWLogicOpEnabled variables. LogicOps and color/index masking are no longer special-case device driver functions. The Xlib driver was the only driver that used them. Things are more uniform now.
* updates from [email protected]Brian Paul2000-08-021-5/+11
|
* removed obsolete logicop functionBrian Paul2000-03-031-14/+4
|
* replaced renderer_string() with get_string() funcBrian Paul2000-02-171-6/+14
|
* Initial revisionjtg1999-08-191-0/+3021