diff options
author | Antti Määttä <[email protected]> | 2023-01-27 08:12:40 +0200 |
---|---|---|
committer | Antti Määttä <[email protected]> | 2023-02-10 12:39:48 +0200 |
commit | 4d359e2bec96507a1bc698525f4b5eda57b4a48f (patch) | |
tree | 6b2aa327f3ad39d9899343ea34ee378a80755fce /src/opengl/qopengltexturecache.cpp | |
parent | 4ce1c1d93252c0fbe8224faf7416b8e5a5a21d76 (diff) |
Trace: Convert qtopengl module to use tracepointgen tool
Pick-to: 6.5
Change-Id: I441455a4d49a559fb591ea5c8cffb97af66fb2b1
Reviewed-by: Hatem ElKharashy <[email protected]>
Reviewed-by: Tomi Korpipää <[email protected]>
Reviewed-by: Janne Koskinen <[email protected]>
Diffstat (limited to 'src/opengl/qopengltexturecache.cpp')
-rw-r--r-- | src/opengl/qopengltexturecache.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/opengl/qopengltexturecache.cpp b/src/opengl/qopengltexturecache.cpp index 6d706325a5b..107380ff08c 100644 --- a/src/opengl/qopengltexturecache.cpp +++ b/src/opengl/qopengltexturecache.cpp @@ -121,6 +121,9 @@ GLuint QOpenGLTextureCache::bindTexture(QOpenGLContext *context, const QImage &i return id; } +Q_TRACE_POINT(qtopengl, QOpenGLTextureCache_bindTexture_entry, QOpenGLContext *context, qint64 key, const unsigned char *image, int options); +Q_TRACE_POINT(qtopengl, QOpenGLTextureCache_bindTexture_exit); + GLuint QOpenGLTextureCache::bindTexture(QOpenGLContext *context, qint64 key, const QImage &image, QOpenGLTextureUploader::BindOptions options) { Q_TRACE_SCOPE(QOpenGLTextureCache_bindTexture, context, key, image.bits(), options); |