mirror of
https://github.com/samsonjs/media.git
synced 2026-04-02 10:45:51 +00:00
Fix name for FrameCacheGlShaderProgram
This implements `GlShaderProgram` (and is GL-specific). PiperOrigin-RevId: 513528160
This commit is contained in:
parent
ae4471debf
commit
a28b691ced
2 changed files with 3 additions and 3 deletions
|
|
@ -52,6 +52,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<>();
|
||||
Loading…
Reference in a new issue