summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/context_android.c
Commit message (Collapse)AuthorAgeFilesLines
* vo_gpu: add android opengl backendAman Gupta2017-10-091-0/+151
At the moment, rendering on Android requires ``--vo=opengl-cb`` and a lot of java<->c++ bridging code to receive the receive and react to the render callback in java. Performance also suffers with opengl-cb, due to the overhead of context switching in JNI. With this patch, Android can render using ``--vo=gpu --gpu-context=android`` (after setting ``--wid`` to point to an android.view.Surface on-screen).