diff options
author | Kristian Høgsberg <[email protected]> | 2013-12-04 16:13:35 -0800 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2013-12-04 16:13:42 -0800 |
commit | bce64c6c83122b1f4a684cc7890c7a61d2f9ffd7 (patch) | |
tree | c76353239c6ee45fc07ad3c74a62bfd0b30a0cd4 /include | |
parent | afcce46fd505da51883000249ef29dd69f1d7791 (diff) |
egl/wayland: Damage INT32_MAX x INT32_MAX region for eglSwapBuffers
If we're not using EGL_EXT_swap_buffers_with_damage, we have to
damage the full extent. EGL operates on buffer coordinates, but
wl_surface.damage takes surface coordinates. EGL doesn't know the
buffer transformation (rotated or scaled) and can't post accurate
damage in surface coordinates. The damage event however is clipped to
the surface extents so we can just damage the maximum rectangle.
In case of EGL_EXT_swap_buffers_with_damage, the application knows
the buffer transform and is expected to pass in rectangles in
surface space.
https://bugs.freedesktop.org/show_bug.cgi?id=70250
Cc: "10.0" [email protected]
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions