aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/xmesaP.h
Commit message (Collapse)AuthorAgeFilesLines
* xlib: s/INLINE/inline/Brian Paul2014-09-041-3/+3
| | | | Reviewed-by: Kenneth Graunke <[email protected]>
* xlib: switch to c11 mutex functionsBrian Paul2014-03-031-1/+2
| | | | | | | The _glthread_LOCK/UNLOCK_MUTEX() macros are just wrappers around the c11 mutex functions. Let's start getting rid of those wrappers. Reviewed-by: José Fonseca <[email protected]>
* mesa: remove outdated version lines in commentsRico Schüller2013-06-051-1/+0
| | | | Signed-off-by: Brian Paul <[email protected]>
* mesa: Restore 78-column wrapping of license text in C-style comments.Kenneth Graunke2013-04-231-3/+4
| | | | | | | | | | | | | | The previous commit introduced extra words, breaking the formatting. This text transformation was done automatically via the following shell command: $ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript where 'vimscript' is a file containing: /THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * ' :wq Reviewed-by: Brian Paul <[email protected]>
* mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.Kenneth Graunke2013-04-231-1/+1
| | | | | | | | | | | | | | | This brings the license text in line with the MIT License as published on the Open Source Initiative website: http://opensource.org/licenses/mit-license.php Generated automatically be the following shell command: $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {} This introduces some wrapping issues, to be fixed in the next commit. Reviewed-by: Brian Paul <[email protected]>
* mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text.Kenneth Graunke2013-04-231-1/+1
| | | | | | | | | | | | | | | | Generated automatically be the following shell command: $ git grep 'BRIAN PAUL BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/BRIAN PAUL/THE AUTHORS/' {} The intention here is to protect all authors, not just Brian Paul. I believe that was already the sensible interpretation, but spelling it out is probably better. More practically, it also prevents people from accidentally copy & pasting the license into a new file which says Brian is not liable when he isn't even one of the authors. Reviewed-by: Brian Paul <[email protected]>
* xlib: remove texture compression hackeryBrian Paul2012-08-241-2/+0
| | | | | | I think this was left-over debug code from long ago. Reviewed-by: Ian Romanick <[email protected]>
* xlib: derive xmesa_renderbuffer from swrast_renderbufferBrian Paul2012-01-241-1/+2
|
* xlib: remove xm_span.c and related codeBrian Paul2012-01-241-4/+1
|
* xlib: remove a ton of old xlib driver cruftBrian Paul2011-11-151-150/+1
| | | | | | The days of 1-bpp, 8-bpp and dithering are long behind us. Reviewed-by: Eric Anholt <[email protected]>
* xlib: remove software alpha buffer supportBrian Paul2011-11-151-2/+0
| | | | | | | Seldom used and this won't work when we move to using Map/UnmapRenderbuffer everywhere. This will let us remove a bunch of core Mesa code too. Reviewed-by: Eric Anholt <[email protected]>
* xlib: implement renderbuffer mapping/unmappingBrian Paul2011-11-071-1/+16
| | | | | | | | This fixes the glReadPixels() regression for reading from the front/back color buffers. Note, we only allow one mapping of an XImage/Pixmap renderbuffer at any time. That might need to be revisited in the future.
* Remove remnants of legacy glide supportGuillem Jover2011-10-041-7/+0
| | | | | Signed-off-by: Guillem Jover <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* Drop some Glide remnantsAdam Jackson2011-09-061-4/+0
| | | | | | Apparently the x11 driver had a hack for glide passthrough. Who knew? Signed-off-by: Adam Jackson <[email protected]>
* drivers/x11: unifdef XFree86ServerAdam Jackson2010-11-291-16/+2
| | | | | | | 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 <[email protected]>
* x11: fix breakage from gl_config::visualType removalBrian Paul2010-10-131-0/+1
|
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-12/+12
|
* Drop GLframebuffer typedef and just use struct gl_framebufferKristian Høgsberg2010-10-131-3/+3
|
* Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg2010-10-131-3/+3
|
* gl: Remove unused GLcontextModes fieldsKristian Høgsberg2010-10-131-0/+1
|
* Grammar and spelling fixesJeff Smith2010-03-121-1/+1
| | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* mesa/xlib: fix glXQueryDrawable() bugs, see bug 24320Brian Paul2009-10-071-0/+3
|
* xlib: option to enable/test meta functions (disabled)Brian Paul2009-08-311-0/+4
|
* mesa: deprecate the GL/fxmesa.h headerBrian Paul2009-01-101-1/+1
|
* xmesa: deprecate the "XMesa" interfaceBrian Paul2009-01-101-1/+1
| | | | | Move the include/GL/xmesa*.h files to src/mesa/drivers/x11/ so they're no longer considered public.
* mesa: prefix more #includes with "main/"Brian Paul2008-09-181-1/+1
|
* remove old commentsBrian Paul2008-06-211-2/+0
|
* fix typoBrian2007-11-031-1/+1
|
* Implement GLX_EXT_texture_from_pixmap.Brian2007-05-191-2/+7
| | | | Could be done more efficiently... but works.
* xmesa: split FX functions to separate file, part 2.George Sapountzis2007-04-201-1/+0
|
* xmesa: split FX functions to separate file, part 1.George Sapountzis2007-04-201-7/+1
|
* xmesa: spilt FX code to separate functions.George Sapountzis2007-04-201-3/+4
|
* Revert "xmesa: drop glide (FX) backend."George Sapountzis2007-04-201-1/+18
| | | | This reverts commit 2a2f8d806f74619f0a7cf97fdc7f7b3ad1cad81b.
* xmesa: drop glide (FX) backend.George Sapountzis2007-04-191-18/+1
| | | | | | 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.
* xmesa: export xmesa functions used by xfree86.George Sapountzis2007-04-131-10/+0
| | | | | | | | | 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.
* xmesa: use newly added xm_image.[hc]George Sapountzis2007-04-061-5/+3
| | | | | | | | | 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)
* re-order tokens, fix commentsBrian2007-04-011-4/+4
|
* Clean and update XMesa/XFree86 interface.George Sapountzis2007-03-301-2/+3
| | | | | | | | | | | | | | | | 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.
* Implement alpha buffer copy for SwapBuffers().Brian2007-03-231-0/+1
| | | | | | | | | | | | | 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.
* Rewrite code related to buffer destruction.Brian2007-02-261-0/+7
| | | | | Do proper reference counting so that we don't wind up with dangling references to deleted windows/framebuffers. Should help with bug 7205.
* Don't use x/y/w/h params given to Clear().Brian Paul2006-10-181-2/+1
|
* Big re-org of buffer size management.Brian Paul2006-10-141-47/+65
| | | | | | | 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.
* Use XAddExtension() to register an XCloseDisplay() callback function.Brian Paul2006-08-301-0/+2
| | | | | | 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.
* Don't include unused header files.Kristian Høgsberg2006-07-061-1/+0
|
* assorted clean-ups, fixesBrian Paul2006-04-271-0/+12
|
* When creating front/back renderbuffers, init the Red/Green/Blue/AlphaBits fieldsBrian Paul2006-03-301-1/+1
|
* only call xmesa_set_renderbuffer_funcs() when really necessaryBrian Paul2006-01-091-3/+3
|
* Updates for GL_EXT_timer_query:Brian Paul2005-12-071-1/+3
| | | | | New GLint64EXT and GLuint64EXT types (use C99's long long types). New glGetQueryObject[u]i64vEXT() functions.
* Added XMesaDrawable to xmesa_renderbuffer. Use it in a few places insteadBrian Paul2005-09-261-3/+13
| | | | of the XMesaPixmap field to avoid some X server-side issues with casting.
* some clean-up and re-org for renderbuffersBrian Paul2005-09-071-12/+10
|