summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/windows/gdi/wmesa.c
AgeCommit message (Collapse)AuthorFilesLines
2012-12-17wmesa: include version.h to silence warningBrian Paul1-0/+1
2012-12-16drivers: compute version and then initialize exec tableJordan Justen1-0/+7
This change forces the context version to be computed before initilizing the exec dispatch tables. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2012-11-30mesa: pass context parameter to gl_renderbuffer::Delete()Brian Paul1-2/+2
We sometimes need a rendering context when deleting renderbuffers. Pass it explicitly instead of trying to grab a current context (which might be NULL). The next patch will make use of this. Note: this is a candidate for the stable branches. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2012-11-29mesa: Rename API_OPENGL to API_OPENGL_COMPAT.Paul Berry1-1/+1
This should help avoid confusion now that we're using the gl_api enum to distinguishing between core and compatibility API's. The corresponding enum value for core API's is API_OPENGL_CORE. Acked-by: Eric Anholt <eric@anholt.net> Acked-by: Matt Turner <mattst88@gmail.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org>
2012-10-17wmesa: remove old, unused span codeBrian Paul1-474/+0
2012-10-05mesa: remove the driverCtx parameter to _mesa_create/initialize_context()Brian Paul1-1/+1
No longer used.
2012-09-05Don't cast the return value of malloc/reallocMatt Turner1-1/+1
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) )
2012-03-12mesa/gdi: remove clear_color() functionBrian Paul1-32/+15
Setup the clearing color in the clear() function. Reviewed-by: Dave Airlie <airlied@redhat.com>
2012-01-24mesa/gdi: remove wmesa_set_renderbuffer_funcs() functionBrian Paul1-50/+0
The code is no longer relevant. Note: this driver is probably broken now. There's no implementation of ctx->Driver.Map/UnmapRenderbuffer().
2012-01-24mesa: remove gl_renderbuffer::DataTypeBrian Paul1-1/+0
2011-12-24mesa: remove gl_renderbuffer::PutRowRGB()Brian Paul1-123/+0
No longer used anywhere. Reviewed-by: Eric Anholt <eric@anholt.net>
2011-12-24mesa: remove gl_renderbufer::PutMonoRow() and PutMonoValues()Brian Paul1-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 <eric@anholt.net>
2011-12-08mesa/drivers: use new swrast renderbuffer functionsBrian Paul1-7/+8
Reviewed-by: Eric Anholt <eric@anholt.net>
2011-09-14mesa: introduce a clear color union to be used for int/unsigned buffersDave Airlie1-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 <airlied@redhat.com>
2011-04-23mesa/gdi: Address compiler warnings.José Fonseca1-134/+129
In particular the function prototypes.
2011-04-23scons: Build classic mesa gdi driver.José Fonseca1-5/+6
Build as scons platform=windows mesagdi
2011-02-08mesa: remove _mesa_initialize_context_for_api()Brian Paul1-1/+2
Just add the gl_api parameter to _mesa_initialize_context().
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg1-40/+40
2010-10-13Drop GLframebuffer typedef and just use struct gl_framebufferKristian Høgsberg1-4/+4
2010-10-13Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg1-3/+3
2010-03-10windows: fix compilation errors and warningsKarl Schultz1-19/+8
2010-03-03mesa: Remove support for creating color-index visualsIan Romanick1-3/+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 <ian.d.romanick@intel.com>
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg1-4/+4
2010-02-03mesa: Factor out the fb initialization details from _mesa_new_framebuffer.Francisco Jerez1-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 <brianp@vmware.com>
2010-01-29windows: assorted build fixesBrian Paul1-12/+0
These changes were originally submitted by Karl Schultz for Mesa 7.7-rc2 but weren't applied. (cherry picked from commit 82c76cd16f35f4d903f49761af7eb28a755ad299)
2009-12-29mesa: implement per-buffer color maskingBrian Paul1-4/+4
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().
2009-09-20windows: call _mesa_meta_init/free()Brian Paul1-0/+5
2009-04-20gdi: Don't implement broken gl_dispatch_stub_xxx.José Fonseca1-77/+0
2009-03-07mesa: remove last of _mesa_unreference_framebuffer() callsBrian Paul1-1/+1
2008-11-26windows: fix visual object memleakThomas Henn1-0/+3
2008-11-26windows: fix _mesa_unreference_framebuffer() to pass ** type.Thomas Henn1-1/+3
2008-11-24windows: replace free() with _mesa_unreference_framebuffer()Brian Paul1-1/+1
Fixes invalid memory reference bug when exiting.
2008-09-11added 24bpp supportShane Blackett1-10/+217
2008-01-02additional stub functionsBrian1-0/+4
2007-10-15faster write_rgba_span_front()Andreas Micheler1-17/+78
2007-08-23For _mesa_share_state(), update the context's references to the new share ↵Brian1-0/+5
group's objects (Shane Blackett)
2007-07-21Fix a number of MINGW32 issuesZhang1-2/+5
2007-06-28a variety of fixes for MingWzhang1-66/+66
2007-04-26enable 2.1 extensionsBrian1-0/+1
2007-04-24assorted fixes for Windows/VC8Karl Schultz1-0/+22
2007-02-16Commiting a few minor fixes to glut fbdev (segfault on a separate stack)Sean D'Epagnier1-4/+4
Updated all drivers that used the old _ac_ functions to use the new _vbo_ functions. I know this fixed the fbdev driver, it looks like it might fix some other drivers too.
2006-11-01Remove x/y/width/height parameters from Clear functions.Brian Paul1-8/+5
2006-10-21don't use params passed to Clear()Brian Paul1-2/+6
2006-08-30Handle API and dispatch table changes that removed a bunch of extension ↵Karl Schultz1-0/+50
entry points.
2006-07-21check for non-nill pwc in WMesaMakeCurrent(), bug 7585Brian Paul1-1/+1
2006-04-03Fix problem reported by Bill Newman in read_rgba_pixels for 16 and 32 bit ↵Karl Schultz1-2/+2
(GDI driver). Bug would cause the wrong pixel to be read if more than one pixel requested and could cause memory access violations.
2006-03-30Clean up data structures, finishing off some of the cleanup work suggested ↵Karl Schultz1-115/+129
by Brian. Now also creating two renderbuffers, so apps can now switch with glDrawBuffer.
2006-03-30Fix logic error in viewport function so that we still resize the buffers if ↵Karl Schultz1-8/+5
the viewport and the window both change to the same new size. This lets the gloss demo work with the -f option.
2006-03-30When creating front/back renderbuffers, init the Red/Green/Blue/AlphaBits fieldsBrian Paul1-18/+38
2006-03-30Use [][3] for write_rgb_span_16Karl Schultz1-1/+1