mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
2e61318914
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. |
||
---|---|---|
.. | ||
cogl-auto-texture.c | ||
cogl-clip-state.c | ||
cogl-clip-state.h | ||
cogl-clutter-xlib.h | ||
cogl-clutter.c | ||
cogl-clutter.h | ||
cogl-fixed.c | ||
cogl-fixed.h | ||
cogl-framebuffer-deprecated.c | ||
cogl-framebuffer-deprecated.h | ||
cogl-material-compat.c | ||
cogl-material-compat.h | ||
cogl-program-private.h | ||
cogl-program.c | ||
cogl-shader-private.h | ||
cogl-shader.c | ||
cogl-shader.h | ||
cogl-type-casts.h | ||
cogl-vertex-buffer-private.h | ||
cogl-vertex-buffer.c | ||
cogl-vertex-buffer.h |