2021-06-27 20:44:35 +00:00
|
|
|
package org.webrtc;
|
|
|
|
|
|
|
|
import org.webrtc.GlGenericDrawer;
|
2022-03-02 20:59:20 +00:00
|
|
|
/* loaded from: classes3.dex */
|
2021-06-27 20:44:35 +00:00
|
|
|
public class GlRectDrawer extends GlGenericDrawer {
|
|
|
|
private static final String FRAGMENT_SHADER = "void main() {\n gl_FragColor = sample(tc);\n}\n";
|
|
|
|
|
2022-03-02 20:59:20 +00:00
|
|
|
/* loaded from: classes3.dex */
|
2021-06-27 20:44:35 +00:00
|
|
|
public static class ShaderCallbacks implements GlGenericDrawer.ShaderCallbacks {
|
|
|
|
private ShaderCallbacks() {
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // org.webrtc.GlGenericDrawer.ShaderCallbacks
|
|
|
|
public void onNewShader(GlShader glShader) {
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // org.webrtc.GlGenericDrawer.ShaderCallbacks
|
|
|
|
public void onPrepareShader(GlShader glShader, float[] fArr, int i, int i2, int i3, int i4) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public GlRectDrawer() {
|
2021-08-09 22:50:01 +00:00
|
|
|
super(FRAGMENT_SHADER, new ShaderCallbacks());
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override // org.webrtc.GlGenericDrawer, org.webrtc.RendererCommon.GlDrawer
|
|
|
|
public /* bridge */ /* synthetic */ void drawOes(int i, float[] fArr, int i2, int i3, int i4, int i5, int i6, int i7) {
|
|
|
|
super.drawOes(i, fArr, i2, i3, i4, i5, i6, i7);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // org.webrtc.GlGenericDrawer, org.webrtc.RendererCommon.GlDrawer
|
|
|
|
public /* bridge */ /* synthetic */ void drawRgb(int i, float[] fArr, int i2, int i3, int i4, int i5, int i6, int i7) {
|
|
|
|
super.drawRgb(i, fArr, i2, i3, i4, i5, i6, i7);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // org.webrtc.GlGenericDrawer, org.webrtc.RendererCommon.GlDrawer
|
|
|
|
public /* bridge */ /* synthetic */ void drawYuv(int[] iArr, float[] fArr, int i, int i2, int i3, int i4, int i5, int i6) {
|
|
|
|
super.drawYuv(iArr, fArr, i, i2, i3, i4, i5, i6);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // org.webrtc.GlGenericDrawer, org.webrtc.RendererCommon.GlDrawer
|
|
|
|
public /* bridge */ /* synthetic */ void release() {
|
|
|
|
super.release();
|
|
|
|
}
|
|
|
|
}
|