summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/framebuffer.h
Commit message (Collapse)AuthorAgeFilesLines
* mesa: use inline function wrapper for _mesa_reference_framebuffer()Brian Paul2011-07-141-1/+9
|
* mesa: Use the common logic for "is this baseformat a color format?"Eric Anholt2011-01-031-1/+2
| | | | | | When figuring out whether a renderbuffer should be used to set the visual bits of an FBO, we were missing important baseformats like GL_RED, GL_RG, and GL_LUMINANCE.
* mesa: Clean up header file inclusion in framebuffer.h.Vinson Lee2010-11-091-1/+4
|
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-11/+11
|
* Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg2010-10-131-2/+2
|
* mesa: Add missing header to framebuffer.h.Vinson Lee2010-07-291-0/+1
| | | | Include mtypes.h for GLvisual and GLcontext symbols.
* mesa: added _mesa_print_framebuffer() for debuggingBrian Paul2010-04-291-0/+3
|
* mesa: Factor out the fb initialization details from _mesa_new_framebuffer.Francisco Jerez2010-02-031-1/+5
| | | | | | | | | | | This should make things easier for drivers wanting to work with a "subclass" of gl_framebuffer. The complementary "_mesa_initialize_framebuffer" function is now called "_mesa_initialize_window_framebuffer" for the sake of symmetry. Signed-off-by: Brian Paul <[email protected]>
* mesa: Move OES_read_format support from drivers into the core.Eric Anholt2009-12-091-0/+5
| | | | | | | | | | | The assertion is that the correct read type to be using is the native type of the underlying read renderbuffer. For some fallback paths, this may be worse than GL_RGBA/GL_UNSIGNED_BYTE for reads today, but it gets all drivers the expected GL_BGRA/GL_UNSIGNED_BYTE for ARGB8888 or GL_BGR//GL_UNSIGNED_SHORT_5_6_5_REV for rgb565 with no work. This fixes the intel (and other) DRI drivers to report read formats that should hit blit PBO readpixels paths.
* mesa: remove last of _mesa_unreference_framebuffer() callsBrian Paul2009-03-071-3/+0
|
* mesa: refactor: move _mesa_resizebuffers(), _mesa_ResizeBuffersMESA() to ↵Brian Paul2008-09-211-0/+8
| | | | | | framebuffer.c (cherry picked from commit 9091015a9782ad15e58540a8fd61df83ea2bfe31)
* Fix/improve framebuffer object reference counting.Brian2007-03-061-1/+5
| | | | | | | 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_dereference_framebuffer() to encapsulate reference countBrian Paul2006-05-201-1/+4
| | | | decrement, delete and locking.
* merge from texman branchmesa_20060325Brian Paul2006-03-261-0/+8
|
* added _mesa_source/dest_buffer_exists() function to easily test if ↵Brian Paul2006-03-201-1/+8
| | | | particular renderbuffers are present
* Move _mesa_add_soft_renderbuffers() from framebuffer.c to renderbuffer.cBrian Paul2005-09-131-10/+1
| | | | Update some comments, code, etc.
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-0/+67
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.