summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/x11/xm_buffer.c
AgeCommit message (Collapse)Author
2010-03-03mesa/xlib: Remove support for color-index renderingIan Romanick
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øgsberg
2009-10-08mesa: remove a bunch of gl_renderbuffer fieldsBrian Paul
_ActualFormat is replaced by Format (MESA_FORMAT_x). ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are all replaced by MESA_FORMAT_x queries.
2009-03-09xmesa: set back-buffer's drawable fieldBrian Paul
Fixes back-buffer rendering when MESA_BACK_BUFFER=pixmap
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
2007-04-16use b->display instead of b->xm_visual->display to fix some problems ↵Brian
detected w/ valgrind
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-25Fix some renderbuffer reference counting issues. Also fixes a mem leak.Brian
2007-03-16Assorted fixes for dealing with zero-size frame/renderbuffers.Brian
In xmesa_check_and_update_buffer_size() handle xmctx==NULL correctly: still call _mesa_resize_framebufer(). If we don't we can wind up in a situation where the framebuffer size is non-zero but an attached renderbuffer size is still initialized to zero. This inconsistancy can later cause problems. Check for zero-size renderbuffers in update_color_draw_buffers() and update_color_read_buffer(). See bug 7205.
2007-03-14move CLIENT_ID code in xmesa_delete_framebuffer(), see bug 7205Brian
2007-03-06fix renderbuffer mem leakBrian
2007-02-27fix commentBrian
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-16remove some old code that could cause infinite recursionBrian 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-04-27assorted clean-ups, fixesBrian Paul
2006-03-30When creating front/back renderbuffers, init the Red/Green/Blue/AlphaBits fieldsBrian Paul
2005-12-02Fix two failures encountered when running out of memory during XImageBrian Paul
allocation. Append \n to _mesa_warning() strings.
2005-09-22Replace gl_renderbuffer.ComponentSizes[] with separate RedBits, GreenBits,Brian Paul
BlueBits, etc fields.
2005-09-07some clean-up and re-org for renderbuffersBrian Paul
2005-08-09actually free the renderbuffer in xmesa_delete_renderbuffer(), fixes a ↵Brian Paul
memory leak
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.