diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-06-30 09:01:11 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-06-30 13:01:35 +0200 |
commit | 18eb51b8139f214a92d532d435366f0c0d2d15e6 (patch) | |
tree | 0a4d7e9d0e76d75489d3e8ee5a7e32b70f3ad181 /src/opengl/qopenglpaintengine_p.h | |
parent | f1ccccb7dd9e72c53c24d5794378877f6cf3181a (diff) |
Switch to qvla where makes sense in opengl
For all of these we know in advance that the vast majority of usages
will not exceed a certain number of elements. Also, none of these are
copied or moved ever.
Change-Id: I265afec154939c2fd0d1f902d97a86315ec7bc20
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/opengl/qopenglpaintengine_p.h')
-rw-r--r-- | src/opengl/qopenglpaintengine_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qopenglpaintengine_p.h b/src/opengl/qopenglpaintengine_p.h index 1a5f82b313..f2e5d97f39 100644 --- a/src/opengl/qopenglpaintengine_p.h +++ b/src/opengl/qopenglpaintengine_p.h @@ -332,8 +332,8 @@ public: QTriangulatingStroker stroker; QDashedStrokeProcessor dasher; - QList<GLuint> unusedVBOSToClean; - QList<GLuint> unusedIBOSToClean; + QVarLengthArray<GLuint, 8> unusedVBOSToClean; + QVarLengthArray<GLuint, 8> unusedIBOSToClean; const GLfloat *vertexAttribPointers[3]; }; |