mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00

PiperOrigin-RevId: 469750922 (cherry picked from commit 84577949782653a08127bdab820e56bda0b913e5)
ExoPlayer GL demo
This app demonstrates how to render video to a GLSurfaceView while applying a GL shader.
The shader shows an overlap bitmap on top of the video. The overlay bitmap is drawn using an Android canvas, and includes the current frame's presentation timestamp, to show how to get the timestamp of the frame currently in the off-screen surface texture.
Please see the demos README for instructions on how to build and run this demo.