mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 21:02:14 +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. |
||
---|---|---|
.. | ||
blend-strings.xml | ||
cogl_ortho.png | ||
cogl-2.0-experimental-docs.xml.in | ||
cogl-2.0-experimental-sections.txt | ||
fill-rule-even-odd.png | ||
fill-rule-non-zero.png | ||
Makefile.am | ||
quad-indices-order.png | ||
quad-indices-triangles.png |