summaryrefslogtreecommitdiffstats
path: root/src/gui/rhi/qrhi_p_p.h
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-06-22 11:44:14 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-06-29 19:19:47 +0200
commit9fa3cf15c8500fba5bbb861f1925160815ae2afd (patch)
treef779e08446bf302803b27130cf4c92fe46ba68b6 /src/gui/rhi/qrhi_p_p.h
parentc70c4e42665eb34e677fc51a49552c9af3f58d7a (diff)
Use QList instead of QVector in gui
Applied to headers only. Source file to be changed separately. Task-number: QTBUG-84469 Change-Id: Ic08a899321eaffc46b8461aaee3dbaa4d2c727a9 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhi_p_p.h')
-rw-r--r--src/gui/rhi/qrhi_p_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/rhi/qrhi_p_p.h b/src/gui/rhi/qrhi_p_p.h
index 9efad4ba25..552e2695ce 100644
--- a/src/gui/rhi/qrhi_p_p.h
+++ b/src/gui/rhi/qrhi_p_p.h
@@ -149,7 +149,7 @@ public:
virtual void beginExternal(QRhiCommandBuffer *cb) = 0;
virtual void endExternal(QRhiCommandBuffer *cb) = 0;
- virtual QVector<int> supportedSampleCounts() const = 0;
+ virtual QList<int> supportedSampleCounts() const = 0;
virtual int ubufAlignment() const = 0;
virtual bool isYUpInFramebuffer() const = 0;
virtual bool isYUpInNDC() const = 0;
@@ -228,7 +228,7 @@ private:
QBitArray resUpdPoolMap;
QSet<QRhiResource *> resources;
QSet<QRhiResource *> pendingDeleteResources;
- QVector<QRhi::CleanupCallback> cleanupCallbacks;
+ QList<QRhi::CleanupCallback> cleanupCallbacks;
friend class QRhi;
friend class QRhiResourceUpdateBatchPrivate;
@@ -335,7 +335,7 @@ public:
// In the backend this can then end up, where applicable, as a
// single, batched copy operation with only one set of barriers.
// This helps when doing for example glyph cache fills.
- QVector<QRhiTextureSubresourceUploadDescription> subresDesc[QRhi::MAX_LAYERS][QRhi::MAX_LEVELS];
+ QList<QRhiTextureSubresourceUploadDescription> subresDesc[QRhi::MAX_LAYERS][QRhi::MAX_LEVELS];
QRhiTexture *src;
QRhiTextureCopyDescription desc;
QRhiReadbackDescription rb;