1
0
Fork 0
mutter-performance-source/cogl-pango
Neil Roberts c5644723f8 Use COGL_FLAGS_* for the context's private feature flags
Previously the private feature flags were stored in an enum and we
already had 31 flags. Adding the 32nd flag would presumably make it
add -2³¹ as one of the values which might cause problems. To avoid
this we'll just use an fixed-size array of longs and use indices for
the enum values like we do for the public features.

A slight complication with this is in the CoglDriverDescription where
we were previously using a static intialised value to describe the set
of features that the driver supports. We can't easily do this with the
flags array so instead the features are stored in a fixed-size array
of indices.

Reviewed-by: Robert Bragg <robert@linux.intel.com>
(cherry picked from commit d94cb984e3c93630f3c2e6e3be9d189672aa20f3)

Conflicts:
	cogl/cogl-context-private.h
	cogl/cogl-context.c
	cogl/cogl-private.h
	cogl/cogl-renderer.c
	cogl/driver/gl/cogl-pipeline-opengl.c
	cogl/driver/gl/gl/cogl-driver-gl.c
	cogl/driver/gl/gl/cogl-pipeline-progend-fixed-arbfp.c
	cogl/driver/gl/gles/cogl-driver-gles.c
	cogl/driver/nop/cogl-driver-nop.c
2013-11-28 18:12:22 +00:00
..
cogl-pango-1.0.pc.in build: Don't make cogl-pango-1.0 depend on cogl-2.0 2011-05-06 17:34:57 +01:00
cogl-pango-2.0-experimental.pc.in Make it clearer that the 2.0 API is experimental 2011-06-14 17:09:55 +01:00
cogl-pango-display-list.c Use COGL_FLAGS_* for the context's private feature flags 2013-11-28 18:12:22 +00:00
cogl-pango-display-list.h Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-pango-fontmap.c cogl-pango: Updates to no longer require a default context 2013-01-22 17:48:09 +00:00
cogl-pango-glyph-cache.c Expose CoglAtlasTexture api 2013-07-29 16:38:53 +01:00
cogl-pango-glyph-cache.h Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-pango-pipeline-cache.c Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-pango-pipeline-cache.h Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-pango-private.h cogl-pango: Updates to no longer require a default context 2013-01-22 17:48:09 +00:00
cogl-pango-render.c Separate out CoglPath api into sub-library 2013-08-19 22:44:35 +01:00
cogl-pango.h Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-pango.pc.in build: only have libcogl-pango depend on pango 2011-08-12 15:28:42 +01:00
cogl-pango.rc.in Fix the Windows Resource Files 2013-08-30 12:04:36 +01:00
cogl-pango.symbols VS 2008/2010 project files to build Cogl 2011-11-25 13:12:45 +00:00
Makefile.am cogl-pango: Add a missing backslash in the Makefile 2013-02-20 14:55:44 +00:00