diff options
Diffstat (limited to 'src/opengl/qopengltexturecache.cpp')
-rw-r--r-- | src/opengl/qopengltexturecache.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/opengl/qopengltexturecache.cpp b/src/opengl/qopengltexturecache.cpp index 5256c429e0..a58570dbc4 100644 --- a/src/opengl/qopengltexturecache.cpp +++ b/src/opengl/qopengltexturecache.cpp @@ -44,6 +44,8 @@ #include <private/qimagepixmapcleanuphooks_p.h> #include <qpa/qplatformpixmap.h> +#include <qtopengl_tracepoints_p.h> + QT_BEGIN_NAMESPACE class QOpenGLTextureCacheWrapper @@ -157,6 +159,8 @@ 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); + GLuint id; QOpenGLFunctions *funcs = context->functions(); funcs->glGenTextures(1, &id); |