1
0
Fork 0
mutter-performance-source/cogl/driver/gles
Damien Lespiau 56dd71dba0 cogl: Introduce private feature flags and check for ARB_fp
The Cogl context has now a feature_flags_private enum that will allow us
to query and use OpenGL features without exposing them in the public
API.

The ARB_fragment_program extension is the first user of those flags.
Looking for this extension only happens in the gl driver as the gles
drivers will not expose them.

One can use _cogl_features_available_private() to check for the
availability of such private features.

While at it, reindent cogl-internal.h as described in CODING_STYLE.
2010-06-09 15:19:30 +01:00
..
cogl-context-driver.c cogl: Introduce private feature flags and check for ARB_fp 2010-06-09 15:19:30 +01:00
cogl-context-driver.h cogl: Introduce private feature flags and check for ARB_fp 2010-06-09 15:19:30 +01:00
cogl-defines.h.in Remove mentions of the FSF address 2010-03-01 12:56:10 +00:00
cogl-feature-functions.h cogl: Introduce private feature flags and check for ARB_fp 2010-06-09 15:19:30 +01:00
cogl-fixed-fragment-shader.glsl Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-fixed-vertex-shader.glsl Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00
cogl-gles2-wrapper.c cogl-gles2-wrapper: Fix some cases using the wrong texture unit 2010-06-08 17:26:26 +01:00
cogl-gles2-wrapper.h Remove mentions of the FSF address 2010-03-01 12:56:10 +00:00
cogl-program.c Remove mentions of the FSF address 2010-03-01 12:56:10 +00:00
cogl-program.h Remove mentions of the FSF address 2010-03-01 12:56:10 +00:00
cogl-shader-private.h Remove mentions of the FSF address 2010-03-01 12:56:10 +00:00
cogl-shader.c Remove mentions of the FSF address 2010-03-01 12:56:10 +00:00
cogl-texture-driver.c Remove mentions of the FSF address 2010-03-01 12:56:10 +00:00
cogl.c cogl: Introduce private feature flags and check for ARB_fp 2010-06-09 15:19:30 +01:00
Makefile.am build: Add cogl-feature-functions.h to the dist 2009-11-18 14:43:46 +00:00
stringify.sh Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00