summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/fbobject.c
Commit message (Collapse)AuthorAgeFilesLines
* fix mesa's handling of fbo's / window fb (again)Roland Scheidegger2007-07-191-7/+17
| | | | | | | | Make sure the relevant fields in window fbs get updated at appropriate time (those are NOT the same as fbos!!!), and fix up related code accordingly. This is a bit ugly, but there's a reason the issues section in EXT_fbo is a couple hundred pages long... Hopefully correct now.
* more fixes for mesa's fbo handling (fixes tests/fbotest1/2)Roland Scheidegger2007-07-191-0/+7
|
* fix mesa fb bindingRoland Scheidegger2007-07-191-3/+5
| | | | | | | | Make sure that we bind the right buffer (draw or read) when rebinding the window framebuffer (the api doesn't allow binding different draw and read buffers at the same time, but the default window framebuffer is basically 2 fb objects, one for read, one for write, which can be different). Pass both of these two down the driver api (no driver uses this right now).
* Initial implementation of MESA_texture_arrayIan Romanick2007-05-161-5/+31
| | | | | Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
* Bring framebuffer_texture's error checking more in-line with the spec.Ian Romanick2007-05-151-68/+61
|
* use _mesa_reference_renderbuffer() in a few more placesBrian2007-04-021-12/+2
|
* Fix some renderbuffer reference counting issues. Also fixes a mem leak.Brian2007-03-251-13/+9
|
* explicit calls to _mesa_unreference_framebuffer() not always needed nowBrian2007-03-061-2/+0
|
* Fix/improve framebuffer object reference counting.Brian2007-03-061-22/+10
| | | | | | | 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.
* move oldFb decl into tighter scopesBrian2007-03-011-3/+3
|
* Merge texmem-0-3-branch.Keith Whitwell2006-11-011-1/+5
|
* Move mipmap generation functions, texture scaling functions into newBrian Paul2006-09-291-0/+1
| | | | mipmap.c file.
* Flush driver, not just tnl module.Keith Whitwell2006-09-221-0/+26
|
* use new _mesa_dereference_frame/renderbuffer() functionsBrian Paul2006-05-201-26/+5
|
* casts to fix some -pedantic warningsBrian Paul2006-04-131-6/+8
|
* Remove the code that checks for duplicated framebuffer attachments (whichBrian Paul2006-04-051-21/+1
| | | | | generated the error GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT). This was removed in version 117 of the GL_EXT_framebuffer_object spec.
* Silence minor compiler warnings (-Wextra).Brian Paul2006-04-051-4/+5
|
* update conditional for render to GL_DEPTH_STENCIL texture, check for valid ↵Brian Paul2006-03-281-3/+4
| | | | teximage before calling ctx->Driver.RenderTexture()
* merge from texman branchmesa_20060325Brian Paul2006-03-261-169/+177
|
* Lots of changes/fixes for rendering to framebuffer objects.Brian Paul2006-03-201-21/+23
| | | | | | | - When deleting texture objects, unbind from FBOs if necessary. - Changed driver hooks for starting/ending render to texture. - Now properly handle case where gl[Copy]TexImage() is called after glFramebufferTexture[123]D(). That didn't work before.
* additional assertions and debug code for testing FBO completenessBrian Paul2006-03-201-1/+31
|
* sync with texmem branchBrian Paul2006-03-151-3/+10
|
* call _mesa_update_framebuffer_visual() in _mesa_FramebufferRenderbufferEXT() ↵Brian Paul2006-03-071-1/+6
| | | | to fix some minor glitches
* remove temporary tokens, more error checks for blit functionBrian Paul2006-03-011-12/+39
|
* Added FinishRenderTexture() device driver function to indicate whenBrian Paul2005-12-011-17/+58
| | | | | rendering to a texture has likely completed. Fixed refcount issue in texture renderbuffer wrapper.
* In _mesa_RenderbufferStorageEXT(), try to avoid needless reallocation.Brian Paul2005-11-181-43/+13
| | | | Simplify _mesa_GetRenderbufferParameterivEXT() queries.
* Support for combined depth/stencil renderbuffers (GL_EXT_packed_depth_stencil).Brian Paul2005-11-161-17/+19
| | | | | depthstencil.c provides wrappers for treating depth/stencil buffers either as regular depth or stencil renderbuffers.
* some initial work on upcoming GL_EXT_framebuffer_blit extensionBrian Paul2005-11-081-25/+184
|
* Fix some issues with state updates and renderbuffers. Querying GL_RED_BITS,Brian Paul2005-10-081-13/+23
| | | | etc. after calling glRenderBufferStorageEXT gave undefined results.
* In gl_texture_image replace IntFormat with InternalFormat and Format withBrian Paul2005-10-051-3/+5
| | | | _BaseFormat to be consistant with gl_renderbuffer.
* check if deleting currently bound frame/renderbuffer objectBrian Paul2005-10-041-1/+16
|
* fix behaviour of glIsFrame/Renderbuffer()Brian Paul2005-10-041-8/+12
|
* added a few calls to _mesa_update_framebuffer_visual()Brian Paul2005-10-031-0/+4
|
* Initial work for GL_EXT_packed_depth_stencil extension.Brian Paul2005-09-281-9/+42
| | | | glReadPixels done, glDrawPixels mostly done.
* Replace gl_renderbuffer.ComponentSizes[] with separate RedBits, GreenBits,Brian Paul2005-09-221-6/+6
| | | | BlueBits, etc fields.
* new commentBrian Paul2005-09-071-0/+1
|
* minor formatting fixBrian Paul2005-09-061-2/+1
|
* fix GL_ALPHA render-to-texture problem (Jon Smirl)Brian Paul2005-06-071-0/+4
|
* added code to detect GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT errorBrian Paul2005-06-011-3/+18
|
* add support for GL_RENDERBUFFER_RED/GREEN/BLUE/etc_SIZE_EXT querieBrian Paul2005-05-311-0/+57
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-205/+174
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* silence warningsBrian Paul2005-02-271-2/+2
|
* More GL_EXT_framebuffer_object: rename some things, added device driver hooks.Brian Paul2005-02-241-85/+163
|
* new comments, fix zoffset error testBrian Paul2005-02-101-3/+36
|
* implement the 'completeness' testsBrian Paul2005-02-091-90/+253
|
* just some commentsBrian Paul2005-02-081-0/+7
|
* a bunch of assorted fixesBrian Paul2005-02-081-61/+65
|
* checkpoint latest workBrian Paul2005-02-081-46/+139
|
* additional work on GL_EXT_framebuffer_objectBrian Paul2005-02-071-213/+395
|
* Some initial work on GL_EXT_framebuffer_object.Brian Paul2005-02-051-0/+719