mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
Read-only mirror of https://gitlab.gnome.org/GNOME/mutter
e20c98e548
Cogl accepts a pixel format for both the data in memory and the internal format to be used for the texture. If they do not match then it would convert them using the CoglBitmap functions before uploading the data. However, GL also lets you specify both formats so it makes more sense to let GL do the conversion. The driver may need the texture in a specific format so it may end up being converted anyway. The cogl_texture_upload_data functions have been removed and replaced with a single function to prepare the bitmap. This will only do the premultiplication conversion because that is the only part that GL can't do directly. |
||
---|---|---|
cogl | ||
doc/reference/cogl | ||
pango | ||
Makefile.am |