mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
GL: Use GLES20.GL_FALSE and GL_TRUE instead of hardcoded value.
PiperOrigin-RevId: 616759833
This commit is contained in:
parent
d269b93755
commit
cbc654a721
@ -15,6 +15,8 @@
|
|||||||
*/
|
*/
|
||||||
package androidx.media3.effect;
|
package androidx.media3.effect;
|
||||||
|
|
||||||
|
import static android.opengl.GLES20.GL_FALSE;
|
||||||
|
import static android.opengl.GLES20.GL_TRUE;
|
||||||
import static androidx.media3.common.VideoFrameProcessor.INPUT_TYPE_BITMAP;
|
import static androidx.media3.common.VideoFrameProcessor.INPUT_TYPE_BITMAP;
|
||||||
import static androidx.media3.common.util.Assertions.checkArgument;
|
import static androidx.media3.common.util.Assertions.checkArgument;
|
||||||
import static androidx.media3.common.util.Assertions.checkState;
|
import static androidx.media3.common.util.Assertions.checkState;
|
||||||
@ -105,9 +107,6 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
|||||||
1.6853f, -0.6530f, 0.0000f,
|
1.6853f, -0.6530f, 0.0000f,
|
||||||
};
|
};
|
||||||
|
|
||||||
private static final int GL_FALSE = 0;
|
|
||||||
private static final int GL_TRUE = 1;
|
|
||||||
|
|
||||||
private final GlProgram glProgram;
|
private final GlProgram glProgram;
|
||||||
|
|
||||||
/** The {@link MatrixTransformation MatrixTransformations} to apply. */
|
/** The {@link MatrixTransformation MatrixTransformations} to apply. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user