hschlueter 2e544224c2 Fix GlUtil vector size constant name.
This constant is used for https://docs.gl/es2/glVertexAttribPointer
which takes the number of components per generic vertex attribute
(meaning the size of the individual coordinate vectors here) not the
number of attributes (the number of vertices that the old constant
name referred to).

PiperOrigin-RevId: 447427241
2022-05-10 17:42:39 +01:00
..
2021-10-27 09:12:46 +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.