mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 18:09:10 +00:00
Jasper St. Pierre
cc0488f1e2
surface-actor: Implement is_argb32 generically for both X11 and Wayland
cogl_texture_get_components can be used on both X11 and Wayland backends. Technically, the detection is different: we actually check the actual RENDER format in the old code, while Cogl simply assumes that any pixmap with a depth >= 32 is ARGB32. Since Cogl already seems to be working with its internal checks, it makes more sense to use Cogl's check rather than keeping our own.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%