mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 01:48:55 +00:00
Neil Roberts
8119c184da
cogl-sub-texture: Optimise taking a sub texture of a sub texture
When creating a Cogl sub-texture, if the full texture is also a sub texture it will now just offset the x and y and reference the full texture instead. This avoids one level of indirection when rendering the texture which reduces the chances of getting rounding errors in the calculations.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%