Commit 389d5ea2 by andrewlewis Committed by tonihei

Fix name for `FrameCacheGlShaderProgram`

This implements `GlShaderProgram` (and is GL-specific).

PiperOrigin-RevId: 513528160
parent 658b5030
......@@ -50,6 +50,6 @@ public final class FrameCache implements GlEffect {
@Override
public GlShaderProgram toGlShaderProgram(Context context, boolean useHdr)
throws VideoFrameProcessingException {
return new FrameCacheShaderProgram(context, capacity, useHdr);
return new FrameCacheGlShaderProgram(context, capacity, useHdr);
}
}
......@@ -35,7 +35,7 @@ import java.util.concurrent.Executor;
*
* <p>Implements {@link FrameCache}.
*/
/* package */ final class FrameCacheShaderProgram implements GlShaderProgram {
/* package */ final class FrameCacheGlShaderProgram implements GlShaderProgram {
private static final String VERTEX_SHADER_TRANSFORMATION_ES2_PATH =
"shaders/vertex_shader_transformation_es2.glsl";
private static final String FRAGMENT_SHADER_TRANSFORMATION_ES2_PATH =
......@@ -53,7 +53,7 @@ import java.util.concurrent.Executor;
private Executor errorListenerExecutor;
/** Creates a new instance. */
public FrameCacheShaderProgram(Context context, int capacity, boolean useHdr)
public FrameCacheGlShaderProgram(Context context, int capacity, boolean useHdr)
throws VideoFrameProcessingException {
freeOutputTextures = new ArrayDeque<>();
inUseOutputTextures = new ArrayDeque<>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment