mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 01:36:10 -05:00
97f8eed119
This is an optimised version of CoglTexture2DSliced that always deals with a single texture and always uses the GL_TEXTURE_2D target. cogl_texture_new_from_bitmap now tries to use this backend first. If it can't create a texture with that size then it falls back the sliced backend. cogl_texture_upload_data_prepare has been split into two functions because the sliced backend needs to know the real internal format before the conversion is performed. Otherwise the converted bitmap will be wasted if the backend can't support the size. |
||
---|---|---|
.. | ||
cogl | ||
pango | ||
Makefile.am |