Commit be7a6241 authored by Yoann Lopes's avatar Yoann Lopes Committed by The Qt Project
Browse files

Android: refactor video renderer.


Removed the overhead of having to create a shared OpenGL context in the GUI
thread and pre-render the frame into a FBO.

We now directly render the GL_TEXTURE_EXTERNAL_OES in the QtQuick render
thread, using an Android-specific QSGVideoNode.
We also use a callback from the render thread to create the texture from
there and not have to create a separate shared OpenGL context.

Change-Id: I6c8eb94b47d0a03329c912701b8af3fb5ebd1876
Reviewed-by: default avatarChristian Stromme <christian.stromme@digia.com>
parent 329d9d45
Showing with 553 additions and 298 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment