diff options
| author | Antti Määttä <antti.maatta@qt.io> | 2023-01-27 08:12:40 +0200 |
|---|---|---|
| committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-02-10 10:40:09 +0000 |
| commit | ce2c12be413dd843f98e632b7db83d54bf0bf4e6 (patch) | |
| tree | 6c5d39d5180cdc78119e7f7382dcca17f7ca8f55 /src/opengl/qopengltexturecache.cpp | |
| parent | 22dad3f83c61e34f45600af4b3b703dbe907cb67 (diff) | |
Trace: Convert qtopengl module to use tracepointgen tool
Change-Id: I441455a4d49a559fb591ea5c8cffb97af66fb2b1
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
(cherry picked from commit 4d359e2bec96507a1bc698525f4b5eda57b4a48f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
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); |
