media/demos/gl
ibaker 57df39ffb8 Migrate GL demo from deprecated ExoPlayer.VideoComponent to ExoPlayer
#minor-release

PiperOrigin-RevId: 408304187
2021-11-11 13:32:59 +00:00
..
src/main Migrate GL demo from deprecated ExoPlayer.VideoComponent to ExoPlayer 2021-11-11 13:32:59 +00:00
build.gradle Include MediaSource deps in all demo apps 2021-05-13 17:26:08 +01:00
README.md Adding instructions on how to build and run ExoPlayer demo apps 2020-05-21 17:08:53 +01:00

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.