summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/x11/xmesaP.h
AgeCommit message (Collapse)Author
2010-11-29drivers/x11: unifdef XFree86ServerAdam Jackson
This code was for the old GLcore build of the software rasteriser. The X server switched to a DRI driver for software indirect GLX long ago. Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-10-13x11: fix breakage from gl_config::visualType removalBrian Paul
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-10-13Drop GLframebuffer typedef and just use struct gl_framebufferKristian Høgsberg
2010-10-13Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg
2010-10-13gl: Remove unused GLcontextModes fieldsKristian Høgsberg
2010-03-12Grammar and spelling fixesJeff Smith
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2009-10-07mesa/xlib: fix glXQueryDrawable() bugs, see bug 24320Brian Paul
2009-08-31xlib: option to enable/test meta functions (disabled)Brian Paul
2009-01-10mesa: deprecate the GL/fxmesa.h headerBrian Paul
2009-01-10xmesa: deprecate the "XMesa" interfaceBrian Paul
Move the include/GL/xmesa*.h files to src/mesa/drivers/x11/ so they're no longer considered public.
2008-09-18mesa: prefix more #includes with "main/"Brian Paul
2008-06-21remove old commentsBrian Paul
2007-11-03fix typoBrian
2007-05-19Implement GLX_EXT_texture_from_pixmap.Brian
Could be done more efficiently... but works.
2007-04-20xmesa: split FX functions to separate file, part 2.George Sapountzis
2007-04-20xmesa: split FX functions to separate file, part 1.George Sapountzis
2007-04-20xmesa: spilt FX code to separate functions.George Sapountzis
2007-04-20Revert "xmesa: drop glide (FX) backend."George Sapountzis
This reverts commit 2a2f8d806f74619f0a7cf97fdc7f7b3ad1cad81b.
2007-04-19xmesa: drop glide (FX) backend.George Sapountzis
glide is no longer compiled with stand-alone libGL, so this will not link. There are still the glide config files. some code in demos and the GLX_MESA_set_3dfx_mode code which could be removed.
2007-04-13xmesa: export xmesa functions used by xfree86.George Sapountzis
This uses xmesa.h as the GLcore interface and avoids adding an explicit GLcore inteface which would not be a proper interface anyway. It puts the declarations of the three functions specific for XMesa/XFree86 in xmesa.h, we can push them down to xmesa_xf86.h if hiding behind XFree86Server ifdef's is not enough.
2007-04-06xmesa: use newly added xm_image.[hc]George Sapountzis
Keep external includes to glxheader.h and xmesa includes to xmesaP.h. Drop the following from xm_image.h: - dix-config.h (comes from glheader.h) - xfree86 includes (come from GL/xmesa_xf86.h) - ifdef __CYGWIN__ (leftover ? xm_api.c has something similar)
2007-04-01re-order tokens, fix commentsBrian
2007-03-30Clean and update XMesa/XFree86 interface.George Sapountzis
Drop XMesaSetVisualDisplay(), XMesaReset(), no longer used. Add XMesaCopyContext() and move the GlxSetRenderTables() call for XGL within XMesaForceCurrent(). This is to make xserver/GL/mesa/X/xf86glx.c unaware of Mesa internals. Also, clean some ifdef's to make it clear that USE_XSHM and XFree86Server are mutually exclusive. Lastly, - move gcstruct.h from glxheader.h up to xmesa_xf86.h since it calls *gc->ops - drop GL/glxtokens.h from xm_api|dd.c, GLX tokens come from glcore.h and are used irrelevant of XFree86.
2007-03-23Implement alpha buffer copy for SwapBuffers().Brian
Nicolai writes: When the pixmap pixel format has no alpha channel, the x11 driver (software rendering) adds a wrapped alpha channel on request. During SwapBuffers, this alpha channel is not copied from back to front, which means that the front buffer doesn't really contain the contents that the back buffer previously contained. A subsequent glReadPixels from the front buffer will return an incorrect result. The following patch attempts to fix this.
2007-02-26Rewrite code related to buffer destruction.Brian
Do proper reference counting so that we don't wind up with dangling references to deleted windows/framebuffers. Should help with bug 7205.
2006-10-18Don't use x/y/w/h params given to Clear().Brian Paul
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-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-07-06Don't include unused header files.Kristian Høgsberg
2006-04-27assorted clean-ups, fixesBrian Paul
2006-03-30When creating front/back renderbuffers, init the Red/Green/Blue/AlphaBits fieldsBrian Paul
2006-01-09only call xmesa_set_renderbuffer_funcs() when really necessaryBrian Paul
2005-12-07Updates for GL_EXT_timer_query:Brian Paul
New GLint64EXT and GLuint64EXT types (use C99's long long types). New glGetQueryObject[u]i64vEXT() functions.
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-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-06-23Remove the xmesa_set_buffer() function. No longer needed since theBrian Paul
span functions pass in a gl_renderbuffer to indicate which color buffer should be drawn into. Optimized line/triangle routines are smart enough to know which buffer to draw into as well. The swrast->SetBuffer() routine should eventually be removed from all drivers.
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-12PF_8A8R8G8B pixel format (Dave Reveman)Brian 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-03-04a bunch of assorted clean-ups, etc to fix warnings, etcBrian Paul
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.
2003-10-13glide driver (wip)Daniel Borca
2003-06-05Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick
2003-04-01use structure containment to derive xmesa_context from GLcontextBrian Paul
2003-02-25fix-up pixel_format enum stuffBrian Paul
2003-02-17Replace some #defines with enums. (Klaus Niederkrueger)Brian Paul