hschlueter 7507da51a0 Make GlProgram an outer class.
This change makes GlUtil.Program an outer class named GlProgram,
and also moves private static helpers as well as the inner classes
Attribute and Uniform which were only used by GlUtil.Program to
GlProgram. Other static utility methods remain in GlUtil.

No functional changes intended.

PiperOrigin-RevId: 426119299
2022-02-04 09:40:51 +00:00
..
2022-02-04 09:40:51 +00: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.