summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/windows
AgeCommit message (Collapse)Author
2003-07-24Visual Studio Workspace file for building Mesa. This workspace contains ↵Karl Schultz
projects for building core mesa, backend drivers (e.g., gdi, dx7, ...), GLU, and GLUT. The project files are placed in the appropriate places in the Mesa tree.
2003-07-24Removing from this directory. Will be added to new gdi driver directory.Karl Schultz
2003-07-24Remove obsolete file.Karl Schultz
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-01-30Check only LEFT bits for clearing alpha buffer. (Evgeny Kotsuba)Karl Schultz
2003-01-15Fix SourceForge bug 664908. wglDescribePixelFormat should return theKarl Schultz
number of valid PFD's if the PFD pointer is NULL, without checking the validity of the other parameters.
2002-10-29update versioning/extensions for OpenGL 1.4 / Mesa 5.0Brian 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-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-04Changed a number of context fields from GLchan to GLfloat (such as ClearColor).Brian Paul
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.
2002-10-04Fix for bug 618459. Mods to allow compilation on VC++ 5.0 (Michael Krause)Karl Schultz
2002-09-27new texture compression infrastructureBrian Paul
2002-09-12Mark destroyed context as not current. (Frank Warmerdam)Karl Schultz
2002-09-04updated wglGetProcAddressBrian Paul
2002-08-28Don't call _mesa_initialize_context because we are usingKarl Schultz
_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.
2002-07-29Catch up windows driver with recent context modsKarl Schultz
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-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-23Apply alpha buffer control fix to accum buffer too.Karl Schultz
2002-04-23Fix up alpha buffer handling for Windows.Karl Schultz
- 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.
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-01-16Fixes for 24-bit Windows devices. The old code was trying to do 3-byteKarl Schultz
stores with a full DWORD store (yuk). (Jeff Lewis)
2002-01-15Fixed pixel color component problem and clear code for 24-bit WindowsKarl Schultz
devices. (Jeff Lewis)
2002-01-15Remove trailing CR's. No logical changes.Karl Schultz
2001-11-01Updates for improved DirectDraw support (Daniel Slater)Karl Schultz
2001-10-05Fix the clear() functionKarl Schultz
- 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.
2001-10-04Updated Windows driver for Mesa 4.0.Karl Schultz
Needs optimization.
2001-10-04remove extra CR charsKarl Schultz
2001-09-25disable some more code so that it compiles quietly on Windows.Karl Schultz
2001-09-18remove carriage return charsKarl Schultz
2001-09-14Win32 updates (Karl Schultz)Brian Paul
2001-07-27wglUseFontBitmapsA() update (Frank Warmerdam)Brian Paul
2001-05-21s/Height/height/ (Jeff Potter)Brian Paul
2001-05-09fixed font/bitmap x-offset bug (Frank Warmerdam)Brian Paul
2001-05-09fixed Y flip problem in read_rgba_pixels() (Frank Warmerdam)Brian Paul
2001-04-26flush pipeline in WMesaSwapBuffers (Frank Warmerdam)Brian Paul
2001-04-03fixed wglUseFontBitmapsA() bugs (Frank Warmerdam)Brian Paul
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-01-24Lots of GLchan datatype changes.Brian Paul
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
2000-11-22 Modified Files:Jouk Jansen
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. ----------------------------------------------------------------------
2000-11-17Minor header file changes to silence warnings.Brian Paul
Added _mesa_enable_sw_extensions(), called by software-only drivers to enable all s/w-supported GL extensions.
2000-11-14Removed Driver.Color() and Driver.Index() functions.Brian Paul
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.
2000-11-05- Changes for new software rasterizer modulesKeith Whitwell
- 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 '_'.
2000-09-28removed ctx->Texture.Enabled, use ctx->Texture.ReallyEnabled insteadBrian Paul
2000-09-26First batch of OpenGL SI related changes:Brian Paul
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.
2000-09-12Win32 updates (Chris Morley)Brian Paul
2000-09-08removed ctx->Driver.Dither functionBrian Paul