compositor, clients: double-buffer opaque region
authorPekka Paalanen <ppaalanen@gmail.com>
Wed, 10 Oct 2012 09:49:27 +0000 (12:49 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 11 Oct 2012 01:38:40 +0000 (21:38 -0400)
commit512dde8ce9723fe98e715ad6fe0a4f04eefd7394
treefd2718bd733bace1c95af71202f0a46d1d2e118c
parent71f6f3b04c51cdb45c70ddcea8b3e621a39847df
compositor, clients: double-buffer opaque region

Make wl_surface.set_opaque_region double-buffered as required by the new
protocol. Also, do not reset the opaque region on surface size changes
anymore. Only explicit requests from the client will change the region
now.

In clients, make sure commit happens after setting the opaque region.

Mesa does not need a fix, as it never touches the opaque region.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
clients/simple-egl.c
clients/window.c
src/compositor.c
src/compositor.h