mutter/cogl/driver/gles
Damien Lespiau 87bc616d34 framebuffer: Support texture based depth buffers
This commit introduces some new framebuffer api to be able to
enable texture based depth buffers for a framebuffer (currently
only supported for offscreen framebuffers) and once allocated
to be able to retrieve the depth buffer as a texture for further
usage, say, to implement shadow mapping.

The API works as follow:
  * Before the framebuffer is allocated, you can request that a depth
    texture is created with
    cogl_framebuffer_set_depth_texture_enabled()
  * cogl_framebuffer_get_depth_texture() can then be used to grab a
    CoglTexture once the framebuffer has been allocated.
2013-01-18 10:53:29 +00:00
..
cogl-gles.c framebuffer: Support texture based depth buffers 2013-01-18 10:53:29 +00:00
cogl-texture-driver-gles.c tex-driver-gles: Fix subregion uploads without GL_EXT_unpack_subimage 2012-08-29 15:01:31 +01:00