simple-egl: HACK to report presentation flags
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Wed, 17 Dec 2014 14:20:43 +0000 (16:20 +0200)
committerBryce Harrington <bryce@osg.samsung.com>
Wed, 21 Jan 2015 01:13:33 +0000 (17:13 -0800)
commitb77acf592fdc625a09e4d1ea1672dba2db128238
treec363c90e8690b381d84ed82c7103c07dc3163d78
parent63495864d35aeb790c3bb175d0e46b3d75bfe4f6
simple-egl: HACK to report presentation flags

So that we can test the per-surface ZERO_COPY flag:
- start Weston on DRM backend
- run ./weston-simple-egl -o (need to be opaque to end up on overlay)
- hit debug key 'V' to enable the (broken) hw overlays

The debug key is used by first hitting Mod+Shift+space, then hitting 'v'.

Enabling overlays should change the flags from 0x7 to 0xe. To verify the
window is really on an overlay, use debug key 'S' to tint all
GL-composited things green.

This patch is not intended for upstream.

Reviewed-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Tested-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Makefile.am
clients/simple-egl.c