diff options
author | Yoann Lopes <yoann.lopes@qt.io> | 2016-05-04 15:41:32 +0200 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@qt.io> | 2016-05-10 07:37:51 +0000 |
commit | ba8127639857232d8a37e953c5cda84203360d97 (patch) | |
tree | 441b0882a6846d45f7e98d0da6c37b15c5643bbd /src/plugins/alsa/qalsaaudiooutput.cpp | |
parent | 37d91ff58d33a573f4d546282c0c5dfe0e5f4aa2 (diff) |
Android: improve texture rendering on API level >= 16.
Android API level 16 added SurfaceTexture::attachToGLContext(). This
allows to create the OpenGL texture when the first video frame is
available, rather than at initialization. This means we can do without
the ugly hack that makes the render thread call us back through some
custom property.
Additionally, it allows to recreate a new OpenGL texture every time
the SurfaceTexture is reset.
Task-number: QTBUG-51911
Change-Id: I17b04524d426c42ef8aa0288b0731597bc9eba62
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
Diffstat (limited to 'src/plugins/alsa/qalsaaudiooutput.cpp')
0 files changed, 0 insertions, 0 deletions