diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-06-28 15:06:06 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-07-01 17:34:47 +0200 |
commit | 058c52fc2a6476f688d4b07d6f24516e26d0a8f5 (patch) | |
tree | 98959d8fceb821377a64f1b4129f7e9e747919aa /src/gui/rhi/qrhi_p.h | |
parent | 201a22a4d2a3906a2f6cbba1e50d5b83a21a10f6 (diff) |
rhi: Improve base vertex/instance support
Have feature flags as appropriate. OpenGL is causing a mess here
but let's support what we can since some of this will become relevant
in more sophisticated mesh drawing cases with 3D in particular.
Change-Id: Idfa7b4642ec87147978e03d78d6233efbd151491
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhi_p.h')
-rw-r--r-- | src/gui/rhi/qrhi_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/rhi/qrhi_p.h b/src/gui/rhi/qrhi_p.h index fb8727b265..df30817ef4 100644 --- a/src/gui/rhi/qrhi_p.h +++ b/src/gui/rhi/qrhi_p.h @@ -1318,7 +1318,9 @@ public: ElementIndexUint, Compute, WideLines, - VertexShaderPointSize + VertexShaderPointSize, + BaseVertex, + BaseInstance }; enum BeginFrameFlag { |