summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorJosé Dapena Paz <jdapena@igalia.com>2014-06-13 18:48:49 +0200
committerDominik Holland <dominik.holland@qt.io>2020-06-12 17:20:33 +0200
commit3c556885f02a93efc34dd439ee9aaea22993a2d6 (patch)
tree2da6944888ec1884d5ee8f99ff98b1718afef1cb /src/opengl
parentebd4cb43f8682bf22d5bf1d2f49501590c28b7ff (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 Change-Id: I03150d6ff80cbbcd787133d75854715cb81b5571 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io> (cherry picked from commit 6d323c0b221a3b127d80e338a42306cc34bc4d40)
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/opengl.pro3
-rw-r--r--src/opengl/qtopengl.tracepoints3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/opengl/opengl.pro b/src/opengl/opengl.pro
index 8b2349ff2f..487538733c 100644
--- a/src/opengl/opengl.pro
+++ b/src/opengl/opengl.pro
@@ -55,3 +55,6 @@ qtConfig(graphicseffect) {
}
load(qt_module)
+
+TRACEPOINT_PROVIDER = $$PWD/qtopengl.tracepoints
+CONFIG += qt_tracepoints
diff --git a/src/opengl/qtopengl.tracepoints b/src/opengl/qtopengl.tracepoints
new file mode 100644
index 0000000000..3c3043d3d4
--- /dev/null
+++ b/src/opengl/qtopengl.tracepoints
@@ -0,0 +1,3 @@
+QOpenGLFramebufferObjectPrivate_init(QOpenGLFramebufferObject *qfbo, const QSize &size, QOpenGLFramebufferObject::Attachment attachment, GLenum texture_target, GLenum internal_format, GLint samples, bool mipmap)
+QOpenGL2PaintEngineExPrivate_drawTexture(const QOpenGLRect& dest, const QOpenGLRect& src, const QSize &textureSize, bool opaque, bool pattern)
+QOpenGLTextureCache_bindTexture(QOpenGLContext *context, qint64 key, const QImage &image, QOpenGLTextureUploader::BindOptions options)