aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/coreapi/qsgrendererinterface.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2020-06-19 14:45:41 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2020-06-19 18:30:03 +0200
commitb4447c39a95bc03d7874a323e179d0f8cda83255 (patch)
treeac47563b96d35a06561762531b1bbd52e760aab6 /src/quick/scenegraph/coreapi/qsgrendererinterface.h
parentaef24b3a945fe15828e3bc304c5b0333125f05fb (diff)
Fix up exposing the swapchain to Quick3D
Quick3D is broken in combination with QQuickRenderControl. This is because just exposing the swapchain is not enough - there is no swapchain with QQuickRenderControl. Rather, one needs access to the command buffer and render target then. Change-Id: I6c06ad3d83ab0018b9f985073757a3378dbce24b Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/quick/scenegraph/coreapi/qsgrendererinterface.h')
-rw-r--r--src/quick/scenegraph/coreapi/qsgrendererinterface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/scenegraph/coreapi/qsgrendererinterface.h b/src/quick/scenegraph/coreapi/qsgrendererinterface.h
index 9d7b9a5738..c001ecc2db 100644
--- a/src/quick/scenegraph/coreapi/qsgrendererinterface.h
+++ b/src/quick/scenegraph/coreapi/qsgrendererinterface.h
@@ -68,6 +68,8 @@ public:
PainterResource,
RhiResource,
RhiSwapchainResource,
+ RhiRedirectCommandBuffer,
+ RhiRedirectRenderTarget,
PhysicalDeviceResource,
OpenGLContextResource,
DeviceContextResource,