diff options
| author | Rafael Roquetto <[email protected]> | 2022-07-28 11:11:15 +1000 |
|---|---|---|
| committer | Rafael Roquetto <[email protected]> | 2022-09-15 16:15:38 +1000 |
| commit | 545e8122a748dab4a857a35f59a09b73b728eb45 (patch) | |
| tree | 1fee01c3dcb55c6f32fdef84f2d989f6128f042b /src/opengl/qopengltexturecache.cpp | |
| parent | c3b05dfbc35bf720a663fd0a6be2b664bef91cfe (diff) | |
Fix QtOpenGL tracepoints
Make use of supported types only. As such,
QOpenGL2PaintEngineExPrivate_drawTexture_entry has to be adjusted so
that it does not exceed the maximum number of supported parameters by
LTTNG, and thus the 'pattern' argument had to be dropped.
Change-Id: I8d1c1dea7de82063926502d77dde1063b2096b73
Reviewed-by: Shawn Rutledge <[email protected]>
Diffstat (limited to 'src/opengl/qopengltexturecache.cpp')
| -rw-r--r-- | src/opengl/qopengltexturecache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qopengltexturecache.cpp b/src/opengl/qopengltexturecache.cpp index f2b7565316e..6d706325a5b 100644 --- a/src/opengl/qopengltexturecache.cpp +++ b/src/opengl/qopengltexturecache.cpp @@ -123,7 +123,7 @@ GLuint QOpenGLTextureCache::bindTexture(QOpenGLContext *context, const QImage &i GLuint QOpenGLTextureCache::bindTexture(QOpenGLContext *context, qint64 key, const QImage &image, QOpenGLTextureUploader::BindOptions options) { - Q_TRACE_SCOPE(QOpenGLTextureCache_bindTexture, context, key, image, options); + Q_TRACE_SCOPE(QOpenGLTextureCache_bindTexture, context, key, image.bits(), options); GLuint id; QOpenGLFunctions *funcs = context->functions(); |
