summaryrefslogtreecommitdiffstats
path: root/src/gui/rhi/qrhi_p.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2022-04-21 12:43:39 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2022-04-22 14:34:46 +0200
commit4f2b4e0e5ef021864ceb05299ebf67f9751777d2 (patch)
treea69a2b65a6624f662067403d2c085e4e89faaab7 /src/gui/rhi/qrhi_p.h
parent7fa2a1a479e961edbc1e5f0009c1ac5d2a6a1a06 (diff)
rhi: Add a feature flag for non-fill polygon modes
It's one thing that this is not part of OpenGL ES, but it is optional even with Vulkan, with some mobile GPUs not offering the feature at all. Change-Id: I4e2c6642eccb0793e69074b4b6eeb2b7cef3516e Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhi_p.h')
-rw-r--r--src/gui/rhi/qrhi_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/rhi/qrhi_p.h b/src/gui/rhi/qrhi_p.h
index bbc404f09b..b85c757b0b 100644
--- a/src/gui/rhi/qrhi_p.h
+++ b/src/gui/rhi/qrhi_p.h
@@ -1697,7 +1697,8 @@ public:
TextureArrays,
Tessellation,
GeometryShader,
- TextureArrayRange
+ TextureArrayRange,
+ NonFillPolygonMode
};
enum BeginFrameFlag {