summaryrefslogtreecommitdiffstats
path: root/src/plugins/android/src/common/qandroidvideorendercontrol.h
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@digia.com>2014-03-19 13:48:19 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-27 16:44:06 +0100
commitcc41c7df3ca3daf3fe7e9ef3e1d74ca96724d821 (patch)
tree61d08693c8053364cfc121217c3f930384a2273e /src/plugins/android/src/common/qandroidvideorendercontrol.h
parent3c3e2c324b9030570588b29f962a3e34bc48be1c (diff)
Android: Fix QtSurfaceTexture
Don't extend SurfaceTexture as this causes ART to fail when it doesn't find the postEventFromNative() function. The postEventFromNative() function was implemented sometime after API 11, so to avoid this situation we can use composition instead. Task-number: QTBUG-37605 Change-Id: Ie1013d218291ba0035f1bb18a0c0655fd2170bfd Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Diffstat (limited to 'src/plugins/android/src/common/qandroidvideorendercontrol.h')
-rw-r--r--src/plugins/android/src/common/qandroidvideorendercontrol.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/android/src/common/qandroidvideorendercontrol.h b/src/plugins/android/src/common/qandroidvideorendercontrol.h
index 56407d5de..75fd7ef12 100644
--- a/src/plugins/android/src/common/qandroidvideorendercontrol.h
+++ b/src/plugins/android/src/common/qandroidvideorendercontrol.h
@@ -49,7 +49,6 @@
QT_BEGIN_NAMESPACE
-class JSurfaceTextureHolder;
class QOpenGLTexture;
class QOpenGLFramebufferObject;
class QOpenGLShaderProgram;
@@ -115,7 +114,7 @@ private:
QJNIObjectPrivate *m_androidSurface;
JSurfaceTexture *m_surfaceTexture;
- JSurfaceTextureHolder *m_surfaceHolder;
+ QJNIObjectPrivate *m_surfaceHolder;
quint32 m_externalTex;
QOpenGLFramebufferObject *m_fbo;