summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/x11/xm_api.c
AgeCommit message (Collapse)Author
2006-10-17Remove get_buffer_size()Brian Paul
Always check window size in XMesaMakeCurrent() in case glViewport is not called.
2006-10-14Big re-org of buffer size management.Brian Paul
All buffer resizes now handled by xmesa_check_and_update_buffer_size() which uses the _mesa_resize_framebuffer() function. Moved all low-level XImage/Pixmap resizing into xm_buffers.c file. Also, update lots of comments for Doxygen.
2006-10-14assorted clean-upsBrian Paul
2006-08-30Use XAddExtension() to register an XCloseDisplay() callback function.Brian Paul
When the callback is called, free all Mesa's private visual and buffer data structures which are tied to the display. Fixes problems reported by Kitware.
2006-03-30When creating front/back renderbuffers, init the Red/Green/Blue/AlphaBits fieldsBrian Paul
2006-03-16Moved _glapi_check_multithread() call into drivers, instead of inBrian Paul
_mesa_make_current(). This removes an ugly #if !defined(IN_DRI_DRIVER) from core Mesa.
2006-01-10added a couple new assertions to help debug XGL problemBrian Paul
2005-12-02Fix two failures encountered when running out of memory during XImageBrian Paul
allocation. Append \n to _mesa_warning() strings.
2005-09-26Added XMesaDrawable to xmesa_renderbuffer. Use it in a few places insteadBrian Paul
of the XMesaPixmap field to avoid some X server-side issues with casting.
2005-09-23improve the test for using software alpha bufferBrian Paul
2005-09-12added a return upon out-of-memory, remove a needless assignmentBrian Paul
2005-09-12restore brace lost in previous check-inBrian Paul
2005-09-07some clean-up and re-org for renderbuffersBrian Paul
2005-09-02Prototype implementation of new GL_EXT_timer_query extension (not finalized ↵Brian Paul
yet). Extends the query mechanism to query elapsed time while rendering.
2005-08-09_mesa_free_framebuffer_data() call frees the renderbuffers, no need to call ↵Brian Paul
the Delete methods after
2005-07-19include driverfuncs.hBrian Paul
2005-07-16XMesaResizeBuffers needs separate paths for client and server buildsAdam Jackson
2005-07-01Remove NEW_RENDERBUFFER stuff.Brian Paul
Now, OLD_RENDERBUFFER marks code that needs to eventually be removed when all the drivers are updated to no longer need the SetBuffer() function.
2005-06-08check for double-buffered buffer in XMesaDestroyBuffer() (Dave Reveman)Brian Paul
2005-05-09fix some typos in FX codeDaniel Borca
2005-05-04Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
2005-04-20clean up buffer creation codeBrian Paul
2005-04-12PF_8A8R8G8B pixel format (Dave Reveman)Brian Paul
2005-04-04updated warning string to match patch in bug report 2868Brian Paul
2005-03-03When building in the X-Server, attr.depth doesn't exist. Instead, useIan Romanick
(XMesaDrawable)w)->depth in the error message.
2005-02-18XMesaGetDepthBuffer() returned wrong bytesPerValue (Karl Schultz)Brian Paul
2005-02-07improved warning messageBrian Paul
2005-01-17fix compilation error for fx/MesaDaniel Borca
2004-11-28fix missing width/height errorBrian Paul
2004-11-27Remove the redundant width, height fields in xmesa_buffer struct. Just useBrian Paul
the values in the contained GLframebuffer. Removed some other unneeded code.
2004-10-12SWTC trick (disabled for now)Daniel Borca
2004-10-02added support for GL_ARB_draw_buffersBrian Paul
2004-04-30If we can't allocate the rowimage - bailAlan Hourihane
2004-04-26remove DitherValuesAlan Hourihane
2004-04-26bring over build fixes from stable branchAlan Hourihane
2004-04-21check return values of _swrast_CreateContext, etcBrian Paul
2004-03-21Implemented support for software-based AUX color buffers.Brian Paul
Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
2004-03-04a bunch of assorted clean-ups, etc to fix warnings, etcBrian Paul
2004-03-02workaround for crash-upon-exit in verbose modeDaniel Borca
fxMesa now uses grQueryResolution minor fixes to X11 and DOS drivers
2004-02-19Refactored several variables out of XMesaVisual in favor of identicalIan Romanick
fields in __GLcontextModes (the base type). Removed the need to keep the XMesaVisualInfo pointer when building inside the X-server.
2004-01-20Before calling _mesa_create_context(), initialize a dd_function_table structBrian Paul
by calling _mesa_init_driver_functions() and then plugging in the driver- specific functions. In particular, make sure ctx->Driver.NewTextureObject points to the appropriate driver function so that _all_ texture objects are augmented with the driver-specific data. Put in a bunch of assertions in the texture-related driver functions that texObj->DriverData is valid. Remove old dead code in near future.
2004-01-12Glide driver (windowed mode) fix for Voodoo2Daniel Borca
2003-12-19DMesa: removed MGA2064W driverDaniel Borca
DMesa: added capability to query visuals fxMesa: WGL_3DFX_gamma_control fxMesa: minor fixes to interface (fxQueryHardware vs fxMesaSelect...)
2003-12-04Port over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings.Brian Paul
2003-11-25silence a warningBrian Paul
2003-10-21prevent from optimizing out by some compilers (from XFree86 CVS)Alan Hourihane
2003-10-13glide driver (wip)Daniel Borca
2003-09-17added call to _mesa_enable_1_5_extensions()Brian Paul
2003-04-02fix double-memory free in XMesaDestroyContextBrian Paul
2003-04-01use structure containment to derive xmesa_context from GLcontextBrian Paul