diff options
Diffstat (limited to 'src/gui/rhi/qrhigles2_p_p.h')
-rw-r--r-- | src/gui/rhi/qrhigles2_p_p.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/rhi/qrhigles2_p_p.h b/src/gui/rhi/qrhigles2_p_p.h index 4d18e9c60f..48f79e3c1d 100644 --- a/src/gui/rhi/qrhigles2_p_p.h +++ b/src/gui/rhi/qrhigles2_p_p.h @@ -139,7 +139,7 @@ inline bool operator!=(const QGles2SamplerData &a, const QGles2SamplerData &b) struct QGles2Texture : public QRhiTexture { QGles2Texture(QRhiImplementation *rhi, Format format, const QSize &pixelSize, int depth, - int sampleCount, Flags flags); + int arraySize, int sampleCount, Flags flags); ~QGles2Texture(); void destroy() override; bool create() override; @@ -521,6 +521,7 @@ struct QGles2CommandBuffer : public QRhiCommandBuffer GLenum target; GLuint texture; int dstLevel; + int dstLayer; } blitFromRb; struct { GLenum target; @@ -752,6 +753,7 @@ public: QRhiTexture *createTexture(QRhiTexture::Format format, const QSize &pixelSize, int depth, + int arraySize, int sampleCount, QRhiTexture::Flags flags) override; QRhiSampler *createSampler(QRhiSampler::Filter magFilter, @@ -910,6 +912,7 @@ public: maxTextureSize(2048), maxDrawBuffers(4), maxSamples(16), + maxTextureArraySize(0), maxThreadGroupsPerDimension(0), maxThreadsPerThreadGroup(0), maxThreadGroupsX(0), @@ -951,6 +954,7 @@ public: int maxTextureSize; int maxDrawBuffers; int maxSamples; + int maxTextureArraySize; int maxThreadGroupsPerDimension; int maxThreadsPerThreadGroup; int maxThreadGroupsX; |