1
0
Fork 0
mutter-performance-source/cogl/driver/gl
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-program.c analysis: FALSE/0 used in pointer context 2010-06-01 12:08:18 +01: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