1
0
Fork 0
mutter-performance-source/clutter/cogl/gl
Robert Bragg 0d08f6e070 [cogl-fbo] Disable mipmap filters before calling glCheckFramebufferStatusEXT
The framebuffer_object spec isn't clear in defining whether attaching a
texture as a renderbuffer with mipmap filtering enabled while the mipmaps
have not been uploaded should result in an incomplete framebuffer object.
(different drivers make different decisions)

To avoid an error with drivers that do consider this a problem we explicitly
set non mipmapped filters before calling glCheckFramebufferStatusEXT.  The
filters will later be reset when the texture is actually used for rendering
according to the filters set on the corresponding CoglMaterial.
2009-09-15 17:54:07 +01:00
..
cogl-context.c [cogl] cache the viewport width and height 2009-07-01 15:23:10 +01:00
cogl-context.h [cogl matrix stack] Create a client side matrix stack for the projection matrix 2009-07-07 10:32:56 +01:00
cogl-defines.h.in [cogl] Add COGL_HAS_GL and COGL_HAS_GLES 2009-06-29 21:37:02 +02:00
cogl-fbo.c [cogl-fbo] Disable mipmap filters before calling glCheckFramebufferStatusEXT 2009-09-15 17:54:07 +01:00
cogl-fbo.h [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-primitives.c Call glClientActiveTexture() through COGL context. 2009-07-28 12:13:43 +01:00
cogl-program.c [cogl] Improving Cogl journal to minimize driver overheads + GPU state changes 2009-06-30 17:13:34 +01:00
cogl-program.h [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-shader-private.h [cogl] Updates all file headers and removes lots of trailing white space 2009-05-02 04:12:25 +01:00
cogl-shader.c [cogl-shader] Make get_info_log() slightly nicer 2009-06-01 17:40:23 +01:00
cogl-texture-private.h [cogl] Improving Cogl journal to minimize driver overheads + GPU state changes 2009-06-30 17:13:34 +01:00
cogl-texture.c [cogl-texture] Set GL_PACK_ROW_LENGTH when downloading texture data 2009-08-24 12:50:57 +01:00
cogl.c [cogl] Move the texture filters to be a property of the material layer 2009-06-04 19:03:40 +01:00
Makefile.am Disable single header inclusion for GLib 2009-06-15 11:29:37 +01:00