diff options
author | Hyungchan Kim <hyungchan2.kim@lge.com> | 2021-03-03 09:58:14 +0900 |
---|---|---|
committer | Hyungchan Kim <hyungchan2.kim@lge.com> | 2021-03-25 15:37:55 +0900 |
commit | 3dcdd89dd158306784159d673a1be76a32036b14 (patch) | |
tree | 3698e32cb71321a724004cb813729aa68c7551c0 /src/opengl | |
parent | 5577cbaac59e7fc198ea2c98c1e4268779fbf0b4 (diff) |
Fix compilation error when LTTng enabled
Updates tracepoint for qtgui and qtopengl fit to current source code.
Change-Id: I2e8ecc86a37942425734202a11bbc792e8f27bf3
Reviewed-by: Hyungchan Kim <hyungchan2.kim@lge.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/opengl')
-rw-r--r-- | src/opengl/qtopengl.tracepoints | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/opengl/qtopengl.tracepoints b/src/opengl/qtopengl.tracepoints index 3c3043d3d4..1602f572d4 100644 --- a/src/opengl/qtopengl.tracepoints +++ b/src/opengl/qtopengl.tracepoints @@ -1,3 +1,12 @@ -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) +{ +#include <private/qopengl2pexvertexarray_p.h> +#include <private/qopengltextureuploader_p.h> +#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_exit() +QOpenGL2PaintEngineExPrivate_drawTexture_entry(const QOpenGLRect& dest, const QOpenGLRect& src, const QSize &textureSize, bool opaque, bool pattern) +QOpenGL2PaintEngineExPrivate_drawTexture_exit() +QOpenGLTextureCache_bindTexture_entry(QOpenGLContext *context, qint64 key, const QImage &image, QOpenGLTextureUploader::BindOptions options) +QOpenGLTextureCache_bindTexture_exit() |