diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2023-03-06 16:20:54 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2023-03-07 16:48:32 +0100 |
commit | 9c84036d4f9c567884de88678a45d25f7405f63b (patch) | |
tree | 098626d24392649874984e37e8b4d201ef97c2ca /src/gui/rhi/qrhi_p.h | |
parent | 5bb745f62ba1aa63e4bbd107b279d96bd06dffda (diff) |
rhi: Clean up 1D and 3D texture feature flags
Separate 1D mipmap generation support from rendering into an 1D texture.
Those are two independent features, so have a separate feature flag for
both instead of using just one.
This will then be symmetric with the 3D texture features, where now we
have a new flag to report support for generating mipmap for 3D textures.
(whereas 3D texture as a render target is already covered by
RenderTo3DTextureSlice)
Change-Id: Ie5e1f056a7d1c341d90cd7fc522877a3f2da3290
Reviewed-by: Andy Nichols <andy.nichols@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 0a13b502ae..561ab2dd9e 100644 --- a/src/gui/rhi/qrhi_p.h +++ b/src/gui/rhi/qrhi_p.h @@ -1820,7 +1820,9 @@ public: NonFillPolygonMode, OneDimensionalTextures, OneDimensionalTextureMipmaps, - HalfAttributes + HalfAttributes, + RenderToOneDimensionalTexture, + ThreeDimensionalTextureMipmaps }; enum BeginFrameFlag { |