summaryrefslogtreecommitdiffstats
path: root/src/imports/texture-sharing/texture-sharing.pro
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@qt.io>2019-01-30 10:33:55 +0100
committerPaul Olav Tvete <paul.tvete@qt.io>2019-03-29 11:32:46 +0000
commitd829ba99c862efbdb6a040627176913a8a1e3847 (patch)
tree55f93ba9f62d8688909267f829d100b9186e8b77 /src/imports/texture-sharing/texture-sharing.pro
parentcdcd3bed01f7352e753a2dac46e35f6bfd65d2eb (diff)
New texture sharing protocol and infrastructure
This adds a higher level protocol on top of the server buffer extension, providing an easy way for Qt Quick applications to use the shared textures. [ChangeLog] Added protocol and Qt Quick image provider for sharing textures in graphics memory between compositor and multiple clients. Task-number: QTBUG-73822 Change-Id: Idc41b3479d6ca37be35d9ccd7b89e9994ff17f8f Reviewed-by: Johan Helsing <johan.helsing@qt.io> (cherry picked from commit 80001cbf0451f4ba2a971fb20b80dc8e25ac604d) Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/imports/texture-sharing/texture-sharing.pro')
-rw-r--r--src/imports/texture-sharing/texture-sharing.pro21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/imports/texture-sharing/texture-sharing.pro b/src/imports/texture-sharing/texture-sharing.pro
new file mode 100644
index 000000000..bec769ecb
--- /dev/null
+++ b/src/imports/texture-sharing/texture-sharing.pro
@@ -0,0 +1,21 @@
+CXX_MODULE = qml
+TARGET = qwaylandtexturesharing
+TARGETPATH = QtWayland/Client/TextureSharing
+IMPORT_VERSION = 1.$$QT_MINOR_VERSION
+
+HEADERS += \
+ sharedtextureprovider.h \
+ texturesharingextension.h
+
+SOURCES += \
+ plugin.cpp \
+ sharedtextureprovider.cpp \
+ texturesharingextension.cpp
+
+QT += quick-private qml gui-private core-private waylandclient waylandclient-private
+CONFIG += wayland-scanner
+
+WAYLANDCLIENTSOURCES += ../../extensions/qt-texture-sharing-unstable-v1.xml
+
+
+load(qml_plugin)