mirror of
https://github.com/brl/mutter.git
synced 2025-02-09 18:04:09 +00:00
![Robert Bragg](/assets/img/avatar_default.png)
The plan is to defer more of the work for creating a texture until allocation time, but that means we won't be able to always assume we can query the size of a texture when creating an offscreen framebuffer from a texture (consider for example using _texture_new_from_file() where the size isn't known until the file has been loaded). This defers needing to know the size of the texture underlying an offscreen framebuffer until calling cogl_framebuffer_allocate(). Reviewed-by: Neil Roberts <neil@linux.intel.com> (cherry picked from commit 9688e7dc1eeae3144729dfd4a4bf409620346bf4)