summaryrefslogtreecommitdiffstats
path: root/examples/wayland/server-buffer/README
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2014-10-09 12:39:08 +0200
committerFriedemann Kleint <Friedemann.Kleint@digia.com>2014-10-09 15:51:22 +0200
commit5558b42ff8536efdacb94b85a9bd4a00217314df (patch)
tree191d0866c52187a03e4cfa4561fc28162468adf5 /examples/wayland/server-buffer/README
parentfcb6e62109abc3660b05117781526ed9957c2e45 (diff)
Move examples into wayland subdirectory.v5.4.0-beta1
Conforming to the Qt project directory structure. Change-Id: I452867fabc88e9594fa26f944b5d3e1ca4ffc720 Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'examples/wayland/server-buffer/README')
-rw-r--r--examples/wayland/server-buffer/README17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/wayland/server-buffer/README b/examples/wayland/server-buffer/README
new file mode 100644
index 000000000..762db4238
--- /dev/null
+++ b/examples/wayland/server-buffer/README
@@ -0,0 +1,17 @@
+This is the example to demonstrate the server buffer interfaces
+
+Compile up both compositor and client.
+
+If you have the drm-egl-server buffer integration (and your running Mesa)
+then start the compositor with:
+
+# QT_WAYLAND_SERVER_BUFFER_INTEGRATION=drm-egl-server ./compositor
+
+The compositor is using the hardware integration extension to boradcast
+to all clients to use the same server buffer integration, so all you need
+to do is to start the client with
+
+# ./client -platform wayland
+
+You should then see a red box in top left corner, with a black cross and
+a horisontal line in the top half (centered).