summaryrefslogtreecommitdiffstats
path: root/src/opengl/qtopengl.tracepoints
diff options
context:
space:
mode:
authorRafael Roquetto <rafael.roquetto@qt.io>2022-07-28 11:11:15 +1000
committerRafael Roquetto <rafael@roquetto.com>2022-09-15 16:15:38 +1000
commit545e8122a748dab4a857a35f59a09b73b728eb45 (patch)
tree1fee01c3dcb55c6f32fdef84f2d989f6128f042b /src/opengl/qtopengl.tracepoints
parentc3b05dfbc35bf720a663fd0a6be2b664bef91cfe (diff)
Fix QtOpenGL tracepoints
Make use of supported types only. As such, QOpenGL2PaintEngineExPrivate_drawTexture_entry has to be adjusted so that it does not exceed the maximum number of supported parameters by LTTNG, and thus the 'pattern' argument had to be dropped. Change-Id: I8d1c1dea7de82063926502d77dde1063b2096b73 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/opengl/qtopengl.tracepoints')
-rw-r--r--src/opengl/qtopengl.tracepoints6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/opengl/qtopengl.tracepoints b/src/opengl/qtopengl.tracepoints
index 1602f572d4..d609e7c9ba 100644
--- a/src/opengl/qtopengl.tracepoints
+++ b/src/opengl/qtopengl.tracepoints
@@ -4,9 +4,9 @@
#include <qopenglframebufferobject.h>
}
-QOpenGLFramebufferObjectPrivate_init_entry(QOpenGLFramebufferObject *qfbo, const QSize &size, QOpenGLFramebufferObject::Attachment attachment, GLenum texture_target, GLenum internal_format, GLint samples, bool mipmap)
+QOpenGLFramebufferObjectPrivate_init_entry(QOpenGLFramebufferObject *qfbo, const QSize &size, int attachment, int texture_target, int internal_format, int samples, bool mipmap)
QOpenGLFramebufferObjectPrivate_init_exit()
-QOpenGL2PaintEngineExPrivate_drawTexture_entry(const QOpenGLRect& dest, const QOpenGLRect& src, const QSize &textureSize, bool opaque, bool pattern)
+QOpenGL2PaintEngineExPrivate_drawTexture_entry(float dl, float dt, float dr, float db, float sl, float st, float sr, float sb, const QSize &textureSize, bool opaque)
QOpenGL2PaintEngineExPrivate_drawTexture_exit()
-QOpenGLTextureCache_bindTexture_entry(QOpenGLContext *context, qint64 key, const QImage &image, QOpenGLTextureUploader::BindOptions options)
+QOpenGLTextureCache_bindTexture_entry(QOpenGLContext *context, qint64 key, const unsigned char *image, int options)
QOpenGLTextureCache_bindTexture_exit()