summaryrefslogtreecommitdiffstats
path: root/src/hardwareintegration/compositor/vulkan-server/vulkanserverbufferintegration.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardwareintegration/compositor/vulkan-server/vulkanserverbufferintegration.h')
-rw-r--r--src/hardwareintegration/compositor/vulkan-server/vulkanserverbufferintegration.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hardwareintegration/compositor/vulkan-server/vulkanserverbufferintegration.h b/src/hardwareintegration/compositor/vulkan-server/vulkanserverbufferintegration.h
index 8e7a3fe64..7246e36df 100644
--- a/src/hardwareintegration/compositor/vulkan-server/vulkanserverbufferintegration.h
+++ b/src/hardwareintegration/compositor/vulkan-server/vulkanserverbufferintegration.h
@@ -68,6 +68,7 @@ public:
struct ::wl_resource *resourceForClient(struct ::wl_client *) override;
bool bufferInUse() override;
QOpenGLTexture *toOpenGlTexture() override;
+ void releaseOpenGlTexture() override;
protected:
void server_buffer_release(Resource *resource) override;
@@ -82,6 +83,7 @@ private:
VulkanImageWrapper *m_vImage = nullptr;
QOpenGLTexture *m_texture = nullptr;
uint m_glInternalFormat;
+ GLuint m_memoryObject;
};
class VulkanServerBufferIntegration :