Bug 1074 - FBOs on GLES
authorNeil Roberts <neil@openedhand.com>
Wed, 29 Oct 2008 14:52:48 +0000 (14:52 +0000)
committerNeil Roberts <neil@openedhand.com>
Wed, 29 Oct 2008 14:52:48 +0000 (14:52 +0000)
commit04ce490c0a9a350eb73b358613054e3b9b986867
tree8293723c5d50f4291df5537ace40fcf7318f3ed6
parentf2c19971e557f0d30fec2a25cb4d6ee835bc2bdb
Bug 1074 - FBOs on GLES

* clutter/cogl/gles/cogl-fbo.c: Copy the code from gl/cogl-fbo but
use the API calls directly instead of loading an extension because
it is part of the core in GLES 2.

* clutter/cogl/gles/cogl.c (_cogl_features_init): Report
COGL_FEATURE_OFFSCREEN.

* clutter/cogl/gles/cogl-fbo.h (CoglFbo): Add gl_stencil_handle.

* clutter/cogl/gles/cogl-context.h (CoglContext): Add
viewport_store

* tests/test-fbo.c (make_shader): Conditionally use the GLES 2
names of the shader variables
ChangeLog
clutter/cogl/gles/cogl-context.h
clutter/cogl/gles/cogl-fbo.c
clutter/cogl/gles/cogl-fbo.h
clutter/cogl/gles/cogl.c
tests/test-fbo.c