mirror of
https://github.com/brl/mutter.git
synced 2025-01-22 09:29:25 +00:00
Robert Bragg
b4770c1e9b
[cogl] Make sure Cogl always knows the current window geometry
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%