mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 21:34:09 +00:00
![Robert Bragg](/assets/img/avatar_default.png)
Because Cogl defines the origin of viewport and window coordinates to be top-left it always needs to know the size of the current window so that Cogl window/viewport coordinates can be transformed into OpenGL coordinates. This also fixes cogl_read_pixels to use the current draw buffer height instead of the viewport height to determine the OpenGL y coordinate to use for glReadPixels.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%