diff options
Diffstat (limited to 'src/hardwareintegration/compositor/vulkan-server/vulkanwrapper.h')
-rw-r--r-- | src/hardwareintegration/compositor/vulkan-server/vulkanwrapper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hardwareintegration/compositor/vulkan-server/vulkanwrapper.h b/src/hardwareintegration/compositor/vulkan-server/vulkanwrapper.h index 697729bf5..541618fb3 100644 --- a/src/hardwareintegration/compositor/vulkan-server/vulkanwrapper.h +++ b/src/hardwareintegration/compositor/vulkan-server/vulkanwrapper.h @@ -57,6 +57,7 @@ public: VulkanWrapper(QOpenGLContext *glContext); VulkanImageWrapper *createTextureImage(const QImage &img); + VulkanImageWrapper *createTextureImageFromData(const uchar *pixels, uint bufferSize, const QSize &size, uint glInternalFormat); int getImageInfo(const VulkanImageWrapper *imgWrapper, int *memSize, int *w = nullptr, int *h = nullptr); void freeTextureImage(VulkanImageWrapper *imageWrapper); |