summaryrefslogtreecommitdiff
path: root/clutter/clutter-macros.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2012-04-17 18:40:43 +0100
committerEmmanuele Bassi <ebassi@linux.intel.com>2012-04-27 12:28:49 +0100
commite2564dd265c40e8b0343cbbbc1c98705db8a30fc (patch)
tree61c37e330b51fb67e4b85f566fa5afa0f333e701 /clutter/clutter-macros.h
parent0fca11ec2f38e15fda2a27f31f39110c91f2a4f0 (diff)
downloadclutter-e2564dd265c40e8b0343cbbbc1c98705db8a30fc.tar.gz
Deprecate ClutterCairoTexture
The ClutterCanvas content implementation should be used instead, to avoid stringing along the ClutterTexture API and implementation. This change requires some minor surgery, as the deprecated section already contains an header for the previously deprecated methods; plus, we don't want to deprecate clutter_cairo_set_source_color(). This means creating a new header to be used for Cairo-related API.
Diffstat (limited to 'clutter/clutter-macros.h')
-rw-r--r--clutter/clutter-macros.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/clutter/clutter-macros.h b/clutter/clutter-macros.h
index 12e797931..8a6b610df 100644
--- a/clutter/clutter-macros.h
+++ b/clutter/clutter-macros.h
@@ -262,24 +262,4 @@
# define CLUTTER_AVAILABLE_IN_1_12
#endif
-/**
- * CLUTTER_CAIRO_FORMAT_ARGB32:
- *
- * The #CoglPixelFormat to be used when uploading image data from
- * and to a Cairo image surface using %CAIRO_FORMAT_ARGB32 and
- * %CAIRO_FORMAT_RGB24 as #cairo_format_t.
- *
- * Since: 1.8
- */
-
-/* Cairo stores the data in native byte order as ARGB but Cogl's pixel
- * formats specify the actual byte order. Therefore we need to use a
- * different format depending on the architecture
- */
-#if G_BYTE_ORDER == G_LITTLE_ENDIAN
-#define CLUTTER_CAIRO_FORMAT_ARGB32 (COGL_PIXEL_FORMAT_BGRA_8888_PRE)
-#else
-#define CLUTTER_CAIRO_FORMAT_ARGB32 (COGL_PIXEL_FORMAT_ARGB_8888_PRE)
-#endif
-
#endif /* __CLUTTER_MACROS_H__ */