summaryrefslogtreecommitdiff
path: root/src/mesa/main/framebuffer.c
AgeCommit message (Collapse)Author
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-06unreference old framebuffer, if needed, in _mesa_reference_framebuffer()Brian
2007-03-06Fix/improve framebuffer object reference counting.Brian
Use _mesa_reference_framebuffer() and _mesa_unreference_framebuffer() functions to be sure reference counting is done correctly. Additional assertions are done too. Note _mesa_dereference_framebuffer() renamed to "unreference" as that's more accurate.
2007-03-06Take care of texObj reference in _mesa_free_framebuffer_data()Brian
2007-02-27assert that fb->RefCount==0 in _mesa_free_framebuffer_data()Brian
2007-02-26Do proper framebuffer refcounting in _mesa_make_current().Brian
Also, added DeletePending field to gl_framebuffer used when a window has been deleted, but there still may be rendering contexts attached to the gl_framebuffer object.
2006-10-16Set _NEW_BUFFERS in _mesa_resize_framebuffer(). This makes sure the swrastBrian Paul
module updates its state (CLIP_BIT) upon resizes. The driver could do this instead, but doing it here is safer.
2006-09-11init accum buffer fields in _mesa_update_framebuffer_visual()Brian Paul
2006-06-21Check for a valid contextAlan Hourihane
2006-06-19If DrawBuffer isn't set, return immediatelyAlan Hourihane
2006-05-20Added _mesa_dereference_framebuffer() to encapsulate reference countBrian Paul
decrement, delete and locking.
2006-05-19remove an assertionBrian Paul
2006-04-20some tentative code for _mesa_update_framebuffer_visual()Brian Paul
2006-04-06do additional checking for setting up depth/stencil wrappersBrian Paul
2006-04-05Silence minor compiler warnings (-Wextra).Brian Paul
2006-03-30comments regarding assertionsBrian Paul
2006-03-26merge from texman branchBrian Paul
2006-03-25fix issue in _mesa_free_framebuffer_data()Brian Paul
2006-03-24added some missing formats in _mesa_source/dest_buffer_exists()Brian Paul
2006-03-20added _mesa_source/dest_buffer_exists() function to easily test if ↵Brian Paul
particular renderbuffers are present
2005-11-16additional comments about GL_DEPTH_STENCIL buffersBrian Paul
2005-11-16Support for combined depth/stencil renderbuffers (GL_EXT_packed_depth_stencil).Brian Paul
depthstencil.c provides wrappers for treating depth/stencil buffers either as regular depth or stencil renderbuffers.
2005-11-15check for ctx==NULL, bug 4087Brian Paul
2005-10-21fix GLX server resize/crash when resizing windowsBrian Paul
2005-10-08Fix some issues with state updates and renderbuffers. Querying GL_RED_BITS,Brian Paul
etc. after calling glRenderBufferStorageEXT gave undefined results.
2005-10-04change initialization of renderbuffer DepthBitsBrian Paul
2005-10-03disable a warningBrian Paul
2005-09-28check for framebuffer completeness, code clean-upBrian Paul
2005-09-23remove printfBrian Paul
2005-09-23Replace gl_framebuffer's _ColorReadBufferMask with _ColorReadBufferIndex,Brian Paul
Streamline the _mesa_update_framebuffer() function a bit.
2005-09-22Replace gl_renderbuffer.ComponentSizes[] with separate RedBits, GreenBits,Brian Paul
BlueBits, etc fields.
2005-09-15Replace GLuint with GLbitfield where appropriate. Also replace GLuintBrian Paul
with GLboolean in a few places.
2005-09-13Move _mesa_add_soft_renderbuffers() from framebuffer.c to renderbuffer.cBrian Paul
Update some comments, code, etc.
2005-09-03Remove last remnants of pre-renderbuffer code.Brian Paul
2005-08-31Just additional comments.Brian Paul
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.