summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/windows
Commit message (Collapse)AuthorAgeFilesLines
* Don't cast the return value of malloc/reallocMatt Turner2012-09-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch has been generated by the following Coccinelle semantic patch: // Don't cast the return value of malloc/realloc. // // Casting the return value of malloc/realloc only stands to hide // errors. @@ type T; expression E1, E2; @@ - (T) ( _mesa_align_calloc(E1, E2) | _mesa_align_malloc(E1, E2) | calloc(E1, E2) | malloc(E1) | realloc(E1, E2) )
* windows/gdi: Remove GL_NV_register_combiners and GL_NV_vertex_array_range ↵José Fonseca2012-06-141-15/+0
| | | | exports
* mesa/gdi: remove clear_color() functionBrian Paul2012-03-121-32/+15
| | | | | | Setup the clearing color in the clear() function. Reviewed-by: Dave Airlie <[email protected]>
* mesa/gdi: include swrast.h to fix compilationBrian Paul2012-02-241-0/+1
|
* mesa/gdi: remove wmesa_set_renderbuffer_funcs() functionBrian Paul2012-01-241-50/+0
| | | | | | The code is no longer relevant. Note: this driver is probably broken now. There's no implementation of ctx->Driver.Map/UnmapRenderbuffer().
* mesa: remove gl_renderbuffer::DataTypeBrian Paul2012-01-241-1/+0
|
* mesa: remove gl_renderbuffer::PutRowRGB()Brian Paul2011-12-241-123/+0
| | | | | | No longer used anywhere. Reviewed-by: Eric Anholt <[email protected]>
* mesa: remove gl_renderbufer::PutMonoRow() and PutMonoValues()Brian Paul2011-12-241-210/+5
| | | | | | | The former was only used for clearing buffers. The later wasn't used anywhere! Remove them and all implementations of those functions. Reviewed-by: Eric Anholt <[email protected]>
* mesa/drivers: use new swrast renderbuffer functionsBrian Paul2011-12-081-7/+8
| | | | Reviewed-by: Eric Anholt <[email protected]>
* wglSetPixelFormat should ignore the ppfd parameter.Morgan Armand2011-11-021-3/+7
| | | | Signed-off-by: José Fonseca <[email protected]>
* mesa: introduce a clear color union to be used for int/unsigned buffersDave Airlie2011-09-141-4/+5
| | | | | | | | | | This introduces a new gl_color_union union and moves the current ClearColorUnclamped to use it, it removes current ClearColor completely and renames CCU to CC, then all drivers are modified to expected unclamped floats instead. also fixes st to use translated color in one place it wasn't. Signed-off-by: Dave Airlie <[email protected]>
* gdi: Remove mesa_wgl.hJosé Fonseca2011-08-301-23/+0
| | | | | | | | All commonly used windows toolchains define wgl entrypoints in the windows headers, and mesa_wgl.h not only is unnecessary but actually often stands in the waydue to slight inconsistencies. So remove it.
* mesa: Remove obsolete Windows gldirect and ICD driversIan Romanick2011-08-2659-35834/+0
| | | | | | | | | | Acked-by: Kristian Høgsberg <[email protected]> Acked-by: Marek Olšák <[email protected]> Acked-by: Alan Coopersmith <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]> Acked-by: Dave Airlie <[email protected]> Build-Tested-by: Jakob Bornecrantz <[email protected]> Tested-by: Eugeni Dodonov <[email protected]>
* mesa/gdi: Silence gcc warning about unused result.José Fonseca2011-05-041-1/+1
|
* mesa/gdi: Address compiler warnings.José Fonseca2011-04-232-136/+131
| | | | In particular the function prototypes.
* mesa/gdi: Remove InitCritSections.cpp.José Fonseca2011-04-231-33/+0
| | | | | We are now able to declare global critical sections through other mechanisms so this is useless code.
* Drop fx windows driver.José Fonseca2011-04-233-2299/+0
| | | | Irrelevant now that glide driver was removed.
* scons: Build classic mesa gdi driver.José Fonseca2011-04-235-115/+47
| | | | | | Build as scons platform=windows mesagdi
* mesa: Remove empty header file s_trispan.h.Kenneth Graunke2011-02-104-4/+0
|
* mesa: remove _mesa_create_context_for_api()Brian Paul2011-02-081-1/+1
| | | | Just add the gl_api parameter to _mesa_create_context().
* mesa: remove _mesa_initialize_context_for_api()Brian Paul2011-02-081-1/+2
| | | | Just add the gl_api parameter to _mesa_initialize_context().
* gldirect: remove _NEW_ACCUMBrian Paul2011-01-233-6/+0
|
* WIN32_THREADS -> WIN32José Fonseca2010-12-021-2/+3
| | | | | | | | | Fixes nasty bug where some parts of the code didn't define WIN32_THREADS and were using the integer mutex implementation, causing even confusion to the debuggers. And there is little interest of other thread implemenation on Win32 besides Win32 threads.
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-1336-488/+488
|
* Drop GLframebuffer typedef and just use struct gl_framebufferKristian Høgsberg2010-10-139-20/+20
|
* Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg2010-10-132-5/+5
|
* Remove GL_EXT_cull_vertexIan Romanick2010-09-271-2/+0
| | | | | This is only used in the i915 driver where it provides little benefit for very few applications that use it with fixed function TNL.
* windows: fix compilation errors and warningsKarl Schultz2010-03-102-20/+9
|
* mesa: Remove ClearIndex and IndexMask from device-driver interfaceIan Romanick2010-03-031-16/+0
| | | | | | | | These are used to inform the driver of the clear value for color-index buffers and to control write-masking of bits in color-index buffers. No driver use or need (not even Nouveau) these interfaces. Signed-off-by: Ian Romanick <[email protected]>
* mesa: Remove support for creating color-index visualsIan Romanick2010-03-032-5/+1
| | | | | | | | Remove the rgbMode and indexBits parameters from _mesa_create_visual and _mesa_initialize_visual. These values are now hardcoded to GL_TRUE and 0. Signed-off-by: Ian Romanick <[email protected]>
* Remove now obsolete mesa_bzero symbol.Karl Schultz2010-03-011-1/+0
|
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-193-9/+4
|
* Remove _mesa_memset in favor of plain memset.Kenneth Graunke2010-02-192-2/+0
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke2010-02-192-2/+0
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* Remove _mesa_strcmp in favor of plain strcmp.Kenneth Graunke2010-02-192-3/+1
|
* Add new symbol to exports listunknown2010-02-101-0/+1
|
* mesa: Factor out the fb initialization details from _mesa_new_framebuffer.Francisco Jerez2010-02-031-1/+1
| | | | | | | | | | | This should make things easier for drivers wanting to work with a "subclass" of gl_framebuffer. The complementary "_mesa_initialize_framebuffer" function is now called "_mesa_initialize_window_framebuffer" for the sake of symmetry. Signed-off-by: Brian Paul <[email protected]>
* windows: assorted build fixesBrian Paul2010-01-292-14/+2
| | | | | | | These changes were originally submitted by Karl Schultz for Mesa 7.7-rc2 but weren't applied. (cherry picked from commit 82c76cd16f35f4d903f49761af7eb28a755ad299)
* mesa: implement per-buffer color maskingBrian Paul2009-12-294-19/+19
| | | | | | | | | | | This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0. The ctx->Color.ColorMask field is now a 2-D array. Until drivers are modified to support per-buffer color masking, they can just look at the 0th color mask. The new _mesa_ColorMaskIndexed() function will be called by glColorMaskIndexedEXT() or glColorMaski().
* tnl: Replace deprecated ColorPtr[] with AttribPtr or new BackfaceColorPtr.Eric Anholt2009-11-196-18/+18
|
* tnl: Replace deprecated ObjPtr with AttribPtr[_TNL_ATTRIB_POS]Eric Anholt2009-11-193-3/+3
|
* tnl: Replace deprecated TexCoordPtr with AttribPtr[_TNL_ATTRIB_TEX*]Eric Anholt2009-11-193-12/+12
|
* Merge branch 'mesa_7_6_branch'Brian Paul2009-11-041-11/+0
|\ | | | | | | | | | | Conflicts: src/mesa/drivers/windows/gdi/mesa.def
| * windows: remove old entrypoints from mesa.def fileKarl Schultz2009-11-031-12/+0
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
* | windows: call _mesa_meta_init/free()Brian Paul2009-09-201-0/+5
| |
* | windows: replace old ColorTable, Convolution functions with newBrian Paul2009-09-192-8/+8
| |
* | windows: replace old TexCopy functions w/ newBrian Paul2009-09-192-10/+10
| |
* | gldirect: remove refs to soon-to-be-obsolete functionsBrian Paul2009-09-191-24/+2
|/ | | | I don't know if this driver is anywhere near build-able, but anyway.
* windows: updated VC8 project filesKarl Schultz2009-07-271-1/+0
| | | | See bug 22882.
* gdi: Don't implement broken gl_dispatch_stub_xxx.José Fonseca2009-04-201-77/+0
|