diff options
author | José Dapena Paz <jdapena@igalia.com> | 2014-06-13 18:48:49 +0200 |
---|---|---|
committer | Dominik Holland <dominik.holland@qt.io> | 2020-06-11 09:14:32 +0200 |
commit | 6d323c0b221a3b127d80e338a42306cc34bc4d40 (patch) | |
tree | dc147872c6196404f2b90c6ef676a1717bcdf50f /src/opengl/qopenglframebufferobject.cpp | |
parent | ab6fd84c62ff4a72696798dcf6598dd6a44389f6 (diff) |
Add more LTTNG tracing points
* QImage and QPixmap copy and transform operations.
* OpenGL paint engine texture cache texture upload
* OpenGL paint engine draw texture
Task-number: QTBUG-83347
Pick-to: 5.15
Change-Id: I03150d6ff80cbbcd787133d75854715cb81b5571
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/opengl/qopenglframebufferobject.cpp')
-rw-r--r-- | src/opengl/qopenglframebufferobject.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/opengl/qopenglframebufferobject.cpp b/src/opengl/qopenglframebufferobject.cpp index ba18647387..813c01b0a5 100644 --- a/src/opengl/qopenglframebufferobject.cpp +++ b/src/opengl/qopenglframebufferobject.cpp @@ -50,6 +50,8 @@ #include <qimage.h> #include <QtCore/qbytearray.h> +#include <qtopengl_tracepoints_p.h> + QT_BEGIN_NAMESPACE #ifndef QT_NO_DEBUG @@ -467,11 +469,14 @@ namespace } } -void QOpenGLFramebufferObjectPrivate::init(QOpenGLFramebufferObject *, const QSize &size, +void QOpenGLFramebufferObjectPrivate::init(QOpenGLFramebufferObject *qfbo, const QSize &size, QOpenGLFramebufferObject::Attachment attachment, GLenum texture_target, GLenum internal_format, GLint samples, bool mipmap) { + Q_TRACE_SCOPE(QOpenGLFramebufferObjectPrivate_init, qfbo, size, attachment, texture_target, internal_format, samples, mipmap); + Q_UNUSED(qfbo); + QOpenGLContext *ctx = QOpenGLContext::currentContext(); funcs.initializeOpenGLFunctions(); |