2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com>
+ Bug 1211 - Drop ClutterFeatureFlags usage from COGL
+
+ * clutter/cogl/cogl.h.in:
+ * clutter/cogl/gl/cogl.c:
+ * clutter/cogl/gles/cogl.c: Do not use ClutterFeatureFlags
+ when CoglFeatureFlags will do. This removes the last usage
+ of Clutter API inside COGL.
+
+2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com>
+
Bug 1210 - Add CoglColor API
* clutter/cogl/cogl-color.h:
#define __COGL_H__
#include <glib.h>
-#include <clutter/clutter-feature.h>
#include <cogl/cogl-defines-@CLUTTER_COGL@.h>
#include <cogl/cogl-fixed.h>
COGL_FEATURE_OFFSCREEN_BLIT = (1 << 8),
COGL_FEATURE_FOUR_CLIP_PLANES = (1 << 9),
COGL_FEATURE_STENCIL_BUFFER = (1 << 10)
-
} CoglFeatureFlags;
/**
*
* Since: 0.8
*/
-ClutterFeatureFlags cogl_get_features (void);
+CoglFeatureFlags cogl_get_features (void);
/**
* cogl_features_available:
static void
_cogl_features_init ()
{
- ClutterFeatureFlags flags = 0;
- const gchar *gl_extensions;
- GLint max_clip_planes = 0;
+ CoglFeatureFlags flags = 0;
+ const gchar *gl_extensions;
+ GLint max_clip_planes = 0;
_COGL_GET_CONTEXT (ctx, NO_RETVAL);
ctx->features_cached = TRUE;
}
-ClutterFeatureFlags
+CoglFeatureFlags
cogl_get_features ()
{
_COGL_GET_CONTEXT (ctx, 0);
static void
_cogl_features_init ()
{
- ClutterFeatureFlags flags = 0;
- int max_clip_planes = 0;
+ CoglFeatureFlags flags = 0;
+ int max_clip_planes = 0;
_COGL_GET_CONTEXT (ctx, NO_RETVAL);
ctx->features_cached = TRUE;
}
-ClutterFeatureFlags
+CoglFeatureFlags
cogl_get_features ()
{
_COGL_GET_CONTEXT (ctx, 0);