clients/simple-dmabuf-egl: Add some notes when using direct-display
authorMarius Vlad <marius.vlad@collabora.com>
Thu, 5 Dec 2019 13:07:56 +0000 (15:07 +0200)
committerDaniel Stone <daniel@fooishbar.org>
Wed, 11 Dec 2019 19:40:24 +0000 (19:40 +0000)
commitdee14a0a9ef5720f1bc291aa9ead4d67c3c65cdd
tree1fc3641894ec0e78333e5cd94e17699680aa49aa
parent2a6cfef07eeadc265fffe9f623564fcfb896b78f
clients/simple-dmabuf-egl: Add some notes when using direct-display
protocol

As dmabuf uses a different coordinate (top-left) system than OpenGL
(bottom-left) using both direct-display with the Y_INVERT dmabuf attrib
flag would result in the image being inverted (direct-display will
remove the Y_INVERT flag, which caused the image to be displayed
correctly). Notifies users that direct-display is in use.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Suggested-by: Pekka Paalanen <pekka.paalanen@collabora.com>
clients/simple-dmabuf-egl.c