Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove dead code left over after fixing GL_READ/DRAW_BUFFER state issues | Brian | 2007-08-18 | 1 | -23/+0 |
| | |||||
* | Rework the GL_READ_BUFFER, GL_DRAW_BUFFER state repairs that Roland ↵ | Brian | 2007-08-16 | 1 | -5/+16 |
| | | | | | | | | | previously did. Basically, in update_framebuffer() (which should be called after an FBO is bound with MakeCurrent or BindFramebuffer) we check if the FBO is a window-system FBO. If it is, update the FBO's GL_READ/DRAW_BUFFER state according to the context state. Old code still in place but disabled with #if 0 / #endif. | ||||
* | Implement mutex/locking around texture object reference counting. | Brian | 2007-08-13 | 1 | -13/+9 |
| | | | | | | Use new _mesa_reference_texobj() function for referencing/unreferencing textures. Add new assertions/tests to try to detect invalid usage of deleted textures. | ||||
* | fix mesa's handling of fbo's / window fb (again) | Roland Scheidegger | 2007-07-19 | 1 | -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 Scheidegger | 2007-07-19 | 1 | -0/+7 |
| | |||||
* | fix mesa fb binding | Roland Scheidegger | 2007-07-19 | 1 | -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_array | Ian Romanick | 2007-05-16 | 1 | -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 Romanick | 2007-05-15 | 1 | -68/+61 |
| | |||||
* | use _mesa_reference_renderbuffer() in a few more places | Brian | 2007-04-02 | 1 | -12/+2 |
| | |||||
* | Fix some renderbuffer reference counting issues. Also fixes a mem leak. | Brian | 2007-03-25 | 1 | -13/+9 |
| | |||||
* | explicit calls to _mesa_unreference_framebuffer() not always needed now | Brian | 2007-03-06 | 1 | -2/+0 |
| | |||||
* | Fix/improve framebuffer object reference counting. | Brian | 2007-03-06 | 1 | -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 scopes | Brian | 2007-03-01 | 1 | -3/+3 |
| | |||||
* | Merge texmem-0-3-branch. | Keith Whitwell | 2006-11-01 | 1 | -1/+5 |
| | |||||
* | Move mipmap generation functions, texture scaling functions into new | Brian Paul | 2006-09-29 | 1 | -0/+1 |
| | | | | mipmap.c file. | ||||
* | Flush driver, not just tnl module. | Keith Whitwell | 2006-09-22 | 1 | -0/+26 |
| | |||||
* | use new _mesa_dereference_frame/renderbuffer() functions | Brian Paul | 2006-05-20 | 1 | -26/+5 |
| | |||||
* | casts to fix some -pedantic warnings | Brian Paul | 2006-04-13 | 1 | -6/+8 |
| | |||||
* | Remove the code that checks for duplicated framebuffer attachments (which | Brian Paul | 2006-04-05 | 1 | -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 Paul | 2006-04-05 | 1 | -4/+5 |
| | |||||
* | update conditional for render to GL_DEPTH_STENCIL texture, check for valid ↵ | Brian Paul | 2006-03-28 | 1 | -3/+4 |
| | | | | teximage before calling ctx->Driver.RenderTexture() | ||||
* | merge from texman branchmesa_20060325 | Brian Paul | 2006-03-26 | 1 | -169/+177 |
| | |||||
* | Lots of changes/fixes for rendering to framebuffer objects. | Brian Paul | 2006-03-20 | 1 | -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 completeness | Brian Paul | 2006-03-20 | 1 | -1/+31 |
| | |||||
* | sync with texmem branch | Brian Paul | 2006-03-15 | 1 | -3/+10 |
| | |||||
* | call _mesa_update_framebuffer_visual() in _mesa_FramebufferRenderbufferEXT() ↵ | Brian Paul | 2006-03-07 | 1 | -1/+6 |
| | | | | to fix some minor glitches | ||||
* | remove temporary tokens, more error checks for blit function | Brian Paul | 2006-03-01 | 1 | -12/+39 |
| | |||||
* | Added FinishRenderTexture() device driver function to indicate when | Brian Paul | 2005-12-01 | 1 | -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 Paul | 2005-11-18 | 1 | -43/+13 |
| | | | | Simplify _mesa_GetRenderbufferParameterivEXT() queries. | ||||
* | Support for combined depth/stencil renderbuffers (GL_EXT_packed_depth_stencil). | Brian Paul | 2005-11-16 | 1 | -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 extension | Brian Paul | 2005-11-08 | 1 | -25/+184 |
| | |||||
* | Fix some issues with state updates and renderbuffers. Querying GL_RED_BITS, | Brian Paul | 2005-10-08 | 1 | -13/+23 |
| | | | | etc. after calling glRenderBufferStorageEXT gave undefined results. | ||||
* | In gl_texture_image replace IntFormat with InternalFormat and Format with | Brian Paul | 2005-10-05 | 1 | -3/+5 |
| | | | | _BaseFormat to be consistant with gl_renderbuffer. | ||||
* | check if deleting currently bound frame/renderbuffer object | Brian Paul | 2005-10-04 | 1 | -1/+16 |
| | |||||
* | fix behaviour of glIsFrame/Renderbuffer() | Brian Paul | 2005-10-04 | 1 | -8/+12 |
| | |||||
* | added a few calls to _mesa_update_framebuffer_visual() | Brian Paul | 2005-10-03 | 1 | -0/+4 |
| | |||||
* | Initial work for GL_EXT_packed_depth_stencil extension. | Brian Paul | 2005-09-28 | 1 | -9/+42 |
| | | | | glReadPixels done, glDrawPixels mostly done. | ||||
* | Replace gl_renderbuffer.ComponentSizes[] with separate RedBits, GreenBits, | Brian Paul | 2005-09-22 | 1 | -6/+6 |
| | | | | BlueBits, etc fields. | ||||
* | new comment | Brian Paul | 2005-09-07 | 1 | -0/+1 |
| | |||||
* | minor formatting fix | Brian Paul | 2005-09-06 | 1 | -2/+1 |
| | |||||
* | fix GL_ALPHA render-to-texture problem (Jon Smirl) | Brian Paul | 2005-06-07 | 1 | -0/+4 |
| | |||||
* | added code to detect GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT error | Brian Paul | 2005-06-01 | 1 | -3/+18 |
| | |||||
* | add support for GL_RENDERBUFFER_RED/GREEN/BLUE/etc_SIZE_EXT querie | Brian Paul | 2005-05-31 | 1 | -0/+57 |
| | |||||
* | Major check-in of changes for GL_EXT_framebuffer_object extension. | Brian Paul | 2005-05-04 | 1 | -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 warnings | Brian Paul | 2005-02-27 | 1 | -2/+2 |
| | |||||
* | More GL_EXT_framebuffer_object: rename some things, added device driver hooks. | Brian Paul | 2005-02-24 | 1 | -85/+163 |
| | |||||
* | new comments, fix zoffset error test | Brian Paul | 2005-02-10 | 1 | -3/+36 |
| | |||||
* | implement the 'completeness' tests | Brian Paul | 2005-02-09 | 1 | -90/+253 |
| | |||||
* | just some comments | Brian Paul | 2005-02-08 | 1 | -0/+7 |
| | |||||
* | a bunch of assorted fixes | Brian Paul | 2005-02-08 | 1 | -61/+65 |
| |