summaryrefslogtreecommitdiff
path: root/src/mesa/main/renderbuffer.c
AgeCommit message (Collapse)Author
2009-02-09mesa: merge gallium-0.2 into gallium-master-mergeBrian Paul
Merge commit 'origin/gallium-0.2' into gallium-master-merge Conflicts: Makefile docs/relnotes-7.4.html docs/relnotes.html src/mesa/drivers/dri/i965/brw_wm.h src/mesa/main/imports.c src/mesa/main/mtypes.h src/mesa/main/texcompress.c src/mesa/main/texenvprogram.c src/mesa/main/version.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_draw.c
2009-01-22mesa: add new ColorEncoding and ComponentType to gl_renderbufferBrian Paul
2008-06-10gallium: remove stray include of st_context.hBrian Paul
2007-08-10remove some temporary hacksBrian
2007-08-09Checkpoint intel_renderbuffer removal.Brian
Remove surface ptr from gl_renderbuffer. Use st_renderbuffer in most places. More clean-up.
2007-08-01s/Z24_S8/S8_Z24/ (stencil is in the high byte)Brian
2007-07-31sp_z_surface.h is deadBrian
2007-07-31Redesign pipe_surface in terms of pipe_region.Brian
struct pipe_buffer goes away. Added basic region functions to softpipe to allocate/release malloc'd regions. Surface-related code is fairly coherent now.
2007-07-3032 and z24s8 softpipe buffersBrian
2007-07-30Lots of improvements to the surface-related code.Brian
Z testing now works with i915 driver. Add gl_renderbuffer::surface pointer (and reverse pointer). Remove intel_surface and xmesa_surface types - no longer used.
2007-04-05temporary add some extra renderbuffer debug codeBrian
2007-04-02updated debug printfBrian
2007-03-25Fix some renderbuffer reference counting issues. Also fixes a mem leak.Brian
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-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-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.
2006-05-20Added _mesa_remove_renderbuffer() as a counterpart to _mesa_add_renderbuffer().Brian Paul
Added _mesa_dereference_renderbuffer() to encapsulate renderbuffer reference count decrement, delete, locking.
2006-05-19install renderbuffer adaptors when color channel sizes need to be reducedBrian Paul
2006-05-14s/GLbyte/GLubyte/Brian Paul
2006-04-26remove _glthread_INIT_MUTEX() callBrian Paul
2006-04-23updated assertionBrian Paul
2006-03-26merge from texman branchBrian Paul
2006-03-14init Red/Green/EtcBits = 0 in soft_renderbuffer_storage()Brian Paul
2006-03-02improved error msgBrian Paul
2005-11-16added _mesa_new_depthstencil_renderbuffer() for combined depth/stencil buffersBrian Paul
2005-10-04change initialization of renderbuffer DepthBitsBrian Paul
2005-09-28change initialization of rb->DepthBitsBrian Paul
2005-09-23Add Wrapper field to gl_renderbuffer. Used for wrapping one renderbufferBrian Paul
with another, such as wrapping a hardware/win-sys RGB renderbuffer with a software-based alpha buffer. Previous alpha buffer wrapping was conflicting with the X driver's xmesa_renderbuffer structure containment/inheritance. That lead to memory corruption.
2005-09-22Replace gl_renderbuffer.ComponentSizes[] with separate RedBits, GreenBits,Brian Paul
BlueBits, etc fields.
2005-09-20change mask[] test in put_mono_row_uint()Brian Paul
2005-09-19s/GLchan/GLubyte/, fix error string, add commentBrian Paul
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-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.