path: root/src/lib/ecore_wayland/ecore_wl_private.h
diff options
authorChris Michael <>2014-04-09 09:34:18 +0100
committerChris Michael <>2014-04-09 09:56:31 +0100
commitda59ad61f25a5a295efc8e83ccfecc5e2b92eb52 (patch)
treeb67af199ec85369467be0bcb19bbc11a120a5c3d /src/lib/ecore_wayland/ecore_wl_private.h
parentbff7e65d24980c0e7697a059fb34df1925fed22a (diff)
ecore-wl: Optimize opaque region setting for surface and reduce
unnecessary calls to surface commit. @bugfix: We don't need to call surface_commit if we are just setting the opaque (or input) region(s). This reduces some overhead on the compositor side (and thus reduces useless redraws). Also, optimize opaque_region_set to not Reset to the same region; we do this by storing the opaque region into the window structure, and on calls to opaque_region_set we can compare those values and not re-apply the same opaque region. Signed-off-by: Chris Michael <>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions