diff options
author | Paul Olav Tvete <paul.tvete@qt.io> | 2019-01-30 10:33:55 +0100 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@qt.io> | 2019-03-28 14:40:19 +0000 |
commit | 80001cbf0451f4ba2a971fb20b80dc8e25ac604d (patch) | |
tree | 69c965b678b8bb8533e7bb7355b24f5fbef424eb /src/hardwareintegration/compositor/vulkan-server/vulkanwrapper.cpp | |
parent | fde6362edc6ecadbcca8872f71c111bd7c896801 (diff) | |
download | qtwayland-80001cbf0451f4ba2a971fb20b80dc8e25ac604d.tar.gz |
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>
Diffstat (limited to 'src/hardwareintegration/compositor/vulkan-server/vulkanwrapper.cpp')
-rw-r--r-- | src/hardwareintegration/compositor/vulkan-server/vulkanwrapper.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hardwareintegration/compositor/vulkan-server/vulkanwrapper.cpp b/src/hardwareintegration/compositor/vulkan-server/vulkanwrapper.cpp index 4767733d..c0159131 100644 --- a/src/hardwareintegration/compositor/vulkan-server/vulkanwrapper.cpp +++ b/src/hardwareintegration/compositor/vulkan-server/vulkanwrapper.cpp @@ -55,6 +55,8 @@ #include <QDebug> +QT_BEGIN_NAMESPACE + static constexpr bool extraDebug = false; #define DECL_VK_FUNCTION(name) \ @@ -726,3 +728,5 @@ void VulkanWrapper::freeTextureImage(VulkanImageWrapper *imageWrapper) { d_ptr->freeTextureImage(imageWrapper); } + +QT_END_NAMESPACE |