summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/renderbuffer.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: fix incorrect assertion in _mesa_add_aux_renderbuffers()Brian Paul2009-10-091-1/+1
| | | | Fixes bug 24426.
* mesa: merge gallium-0.2 into gallium-master-mergeBrian Paul2009-02-091-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * gallium: remove stray include of st_context.hBrian Paul2008-06-101-2/+0
| |
| * remove some temporary hacksBrian2007-08-101-47/+3
| |
| * Checkpoint intel_renderbuffer removal.Brian2007-08-091-2/+12
| | | | | | | | | | | | Remove surface ptr from gl_renderbuffer. Use st_renderbuffer in most places. More clean-up.
| * s/Z24_S8/S8_Z24/ (stencil is in the high byte)Brian2007-08-011-1/+1
| |
| * sp_z_surface.h is deadBrian2007-07-311-1/+0
| |
| * Redesign pipe_surface in terms of pipe_region.Brian2007-07-311-20/+34
| | | | | | | | | | | | struct pipe_buffer goes away. Added basic region functions to softpipe to allocate/release malloc'd regions. Surface-related code is fairly coherent now.
| * 32 and z24s8 softpipe buffersBrian2007-07-301-1/+7
| |
| * Lots of improvements to the surface-related code.Brian2007-07-301-2/+20
| | | | | | | | | | | | 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.
* | mesa: add new ColorEncoding and ComponentType to gl_renderbufferBrian Paul2009-01-221-1/+6
|/
* temporary add some extra renderbuffer debug codeBrian2007-04-051-1/+7
|
* updated debug printfBrian2007-04-021-2/+2
|
* Fix some renderbuffer reference counting issues. Also fixes a mem leak.Brian2007-03-251-21/+35
|
* Implement alpha buffer copy for SwapBuffers().Brian2007-03-231-0/+32
| | | | | | | | | | | | | 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.
* Assorted fixes for dealing with zero-size frame/renderbuffers.Brian2007-03-161-11/+15
| | | | | | | | | | 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.
* Fix/improve framebuffer object reference counting.Brian2007-03-061-11/+12
| | | | | | | 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.
* Added _mesa_remove_renderbuffer() as a counterpart to _mesa_add_renderbuffer().Brian Paul2006-05-201-1/+50
| | | | | Added _mesa_dereference_renderbuffer() to encapsulate renderbuffer reference count decrement, delete, locking.
* install renderbuffer adaptors when color channel sizes need to be reducedBrian Paul2006-05-191-0/+21
|
* s/GLbyte/GLubyte/Brian Paul2006-05-141-2/+2
|
* remove _glthread_INIT_MUTEX() callBrian Paul2006-04-261-1/+0
|
* updated assertionBrian Paul2006-04-231-4/+8
|
* merge from texman branchmesa_20060325Brian Paul2006-03-261-48/+96
|
* init Red/Green/EtcBits = 0 in soft_renderbuffer_storage()Brian Paul2006-03-141-1/+10
|
* improved error msgBrian Paul2006-03-021-1/+3
|
* added _mesa_new_depthstencil_renderbuffer() for combined depth/stencil buffersBrian Paul2005-11-161-8/+54
|
* change initialization of renderbuffer DepthBitsBrian Paul2005-10-041-3/+8
|
* change initialization of rb->DepthBitsBrian Paul2005-09-281-2/+4
|
* Add Wrapper field to gl_renderbuffer. Used for wrapping one renderbufferBrian Paul2005-09-231-88/+94
| | | | | | | | 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.
* Replace gl_renderbuffer.ComponentSizes[] with separate RedBits, GreenBits,Brian Paul2005-09-221-28/+27
| | | | BlueBits, etc fields.
* change mask[] test in put_mono_row_uint()Brian Paul2005-09-201-3/+11
|
* s/GLchan/GLubyte/, fix error string, add commentBrian Paul2005-09-191-2/+3
|
* Move _mesa_add_soft_renderbuffers() from framebuffer.c to renderbuffer.cBrian Paul2005-09-131-2/+84
| | | | Update some comments, code, etc.
* Remove last remnants of pre-renderbuffer code.Brian Paul2005-09-031-0/+2
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-0/+1863
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.