mutter/cogl/deprecated
Robert Bragg 2e61318914 framebuffer: make format internal
This removes cogl_framebuffer_get_color_format() since the actual
internal format isn't strictly controlled by us. CoglFramebuffer::format
has been renamed to ::internal_format to make it clearer that it only
really represents the premultiplication status.

The plan is to make most of the work involved in creating a texture
happen lazily when allocating so this patch also changes
_cogl_framebuffer_init() to not take a format argument anymore since we
won't know the format of offscreen framebuffers until the framebuffer is
allocated, after the corresponding texture has been allocated. In the
case of offscreen framebuffers we now update the framebuffer
internal_format during allocation.

Reviewed-by: Neil Roberts <neil@linux.intel.com>

(cherry picked from commit 8cc9e1c8bd2fac8b2a95087249c23c952d5e379f)

Note: Since we can't break API compatibility on the 1.x branch this
actually keeps the cogl_framebuffer_get_color_format() api but moves it
into a new deprecated/cogl-framebuffer-deprecated.c file and it now
returns the newly name ::internal_format.
2014-01-09 15:29:30 +00:00
..
cogl-auto-texture.c Start clearly separating deprecated code 2013-09-23 18:38:49 +01:00
cogl-clip-state.c Build and install cogl-path as a shared library 2013-12-11 18:49:19 +00:00
cogl-clip-state.h Revert "Revert "Remove the framebuffer's stack of clip stacks"" 2013-12-04 17:22:01 +00:00
cogl-clutter-xlib.h Start clearly separating deprecated code 2013-09-23 18:38:49 +01:00
cogl-clutter.c Start clearly separating deprecated code 2013-09-23 18:38:49 +01:00
cogl-clutter.h Start clearly separating deprecated code 2013-09-23 18:38:49 +01:00
cogl-fixed.c Start clearly separating deprecated code 2013-09-23 18:38:49 +01:00
cogl-fixed.h Start clearly separating deprecated code 2013-09-23 18:38:49 +01:00
cogl-framebuffer-deprecated.c framebuffer: make format internal 2014-01-09 15:29:30 +00:00
cogl-framebuffer-deprecated.h framebuffer: make format internal 2014-01-09 15:29:30 +00:00
cogl-material-compat.c Start clearly separating deprecated code 2013-09-23 18:38:49 +01:00
cogl-material-compat.h Start clearly separating deprecated code 2013-09-23 18:38:49 +01:00
cogl-program-private.h Start clearly separating deprecated code 2013-09-23 18:38:49 +01:00
cogl-program.c Start clearly separating deprecated code 2013-09-23 18:38:49 +01:00
cogl-shader-private.h Start clearly separating deprecated code 2013-09-23 18:38:49 +01:00
cogl-shader.c Start clearly separating deprecated code 2013-09-23 18:38:49 +01:00
cogl-shader.h Start clearly separating deprecated code 2013-09-23 18:38:49 +01:00
cogl-type-casts.h Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-vertex-buffer-private.h Start clearly separating deprecated code 2013-09-23 18:38:49 +01:00
cogl-vertex-buffer.c Declare interface types as void and remove cast macros 2013-11-27 19:33:44 +00:00
cogl-vertex-buffer.h Start clearly separating deprecated code 2013-09-23 18:38:49 +01:00