Home
last modified time | relevance | path

Searched refs:GlUtil (Results 1 – 22 of 22) sorted by relevance

/external/exoplayer/tree/demos/gl/src/main/java/com/google/android/exoplayer2/gldemo/
DBitmapOverlayVideoProcessor.java30 import com.google.android.exoplayer2.util.GlUtil;
55 @Nullable private GlUtil.Attribute[] attributes;
56 @Nullable private GlUtil.Uniform[] uniforms;
86 program = GlUtil.compileProgram(vertexShaderCode, fragmentShaderCode); in initialize()
87 GlUtil.Attribute[] attributes = GlUtil.getAttributes(program); in initialize()
88 GlUtil.Uniform[] uniforms = GlUtil.getUniforms(program); in initialize()
89 for (GlUtil.Attribute attribute : attributes) { in initialize()
132 GlUtil.checkGlError(); in draw()
135 GlUtil.Uniform[] uniforms = Assertions.checkNotNull(this.uniforms); in draw()
136 GlUtil.Attribute[] attributes = Assertions.checkNotNull(this.attributes); in draw()
[all …]
DMainActivity.java43 import com.google.android.exoplayer2.util.GlUtil;
76 if (requestSecureSurface && !GlUtil.isProtectedContentExtensionSupported(context)) { in onCreate()
DVideoProcessingGLSurfaceView.java31 import com.google.android.exoplayer2.util.GlUtil;
236 texture = GlUtil.createExternalTexture(); in onSurfaceCreated()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/
DVideoDecoderRenderer.java22 import com.google.android.exoplayer2.util.GlUtil;
86 GlUtil.createBuffer(new float[] {-1.0f, 1.0f, -1.0f, -1.0f, 1.0f, 1.0f, 1.0f, -1.0f});
118 program = GlUtil.compileProgram(VERTEX_SHADER, FRAGMENT_SHADER); in onSurfaceCreated()
129 GlUtil.checkGlError(); in onSurfaceCreated()
131 GlUtil.checkGlError(); in onSurfaceCreated()
133 GlUtil.checkGlError(); in onSurfaceCreated()
201 GlUtil.createBuffer( in onDrawFrame()
212 GlUtil.checkGlError(); in onDrawFrame()
239 GlUtil.checkGlError(); in setupTextures()
DDummySurface.java34 import com.google.android.exoplayer2.util.GlUtil;
111 if (GlUtil.isProtectedContentExtensionSupported(context)) { in getSecureMode()
112 if (GlUtil.isSurfacelessContextExtensionSupported()) { in getSecureMode()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/spherical/
DProjectionRenderer.java18 import static com.google.android.exoplayer2.util.GlUtil.checkGlError;
24 import com.google.android.exoplayer2.util.GlUtil;
123 program = GlUtil.compileProgram(VERTEX_SHADER_CODE, FRAGMENT_SHADER_CODE); in init()
213 vertexBuffer = GlUtil.createBuffer(subMesh.vertices); in MeshData()
214 textureBuffer = GlUtil.createBuffer(subMesh.textureCoords); in MeshData()
DSceneRenderer.java18 import static com.google.android.exoplayer2.util.GlUtil.checkGlError;
28 import com.google.android.exoplayer2.util.GlUtil;
97 textureId = GlUtil.createExternalTexture(); in init()
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DGlRectDrawerTest.java111 final int rgbTexture = GlUtil.generateTexture(GLES20.GL_TEXTURE_2D); in testRgbRendering()
116 GlUtil.checkNoGLES2Error("glTexImage2D"); in testRgbRendering()
126 GlUtil.checkNoGLES2Error("glReadPixels"); in testRgbRendering()
157 yuvTextures[i] = GlUtil.generateTexture(GLES20.GL_TEXTURE_2D); in testYuvRendering()
166 GlUtil.checkNoGLES2Error("glTexImage2D"); in testYuvRendering()
177 GlUtil.checkNoGLES2Error("glReadPixels"); in testYuvRendering()
252 rgbTexture = GlUtil.generateTexture(GLES20.GL_TEXTURE_2D);
310 GlUtil.checkNoGLES2Error("glReadPixels");
DSurfaceTextureHelperTest.java157 GlUtil.checkNoGLES2Error("glReadPixels"); in testThreeConstantColorFrames()
228 GlUtil.checkNoGLES2Error("glReadPixels"); in testLateReturnFrame()
DEglRendererTest.java121 oesTextureId = GlUtil.generateTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES); in setUp()
DHardwareVideoEncoderTest.java315 final int textureId = GlUtil.generateTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES); in generateTextureFrame()
/external/webrtc/sdk/android/api/org/webrtc/
DGlShader.java35 GlUtil.checkNoGLES2Error("compileShader"); in compileShader()
66 GlUtil.checkNoGLES2Error("Creating GlShader"); in GlShader()
99 GlUtil.checkNoGLES2Error("setVertexAttribArray"); in setVertexAttribArray()
120 GlUtil.checkNoGLES2Error("glUseProgram"); in useProgram()
DGlUtil.java22 public class GlUtil { class
23 private GlUtil() {} in GlUtil() method in GlUtil
DGlTextureFrameBuffer.java62 textureId = GlUtil.generateTexture(GLES20.GL_TEXTURE_2D); in setSize()
76 GlUtil.checkNoGLES2Error("GlTextureFrameBuffer setSize"); in setSize()
DYuvConverter.java180 GlUtil.checkNoGLES2Error("glBindFramebuffer"); in convert()
203 GlUtil.checkNoGLES2Error("YuvConverter.convert"); in convert()
DEglRenderer.java683 } catch (GlUtil.GlOutOfMemoryException e) { in renderFrameOnRenderThread()
743 GlUtil.checkNoGLES2Error("EglRenderer.notifyCallbacks"); in notifyCallbacks()
DVideoFrameDrawer.java88 yuvTextures[i] = GlUtil.generateTexture(GLES20.GL_TEXTURE_2D); in uploadYuvData()
DSurfaceTextureHelper.java199 oesTextureId = GlUtil.generateTexture(GLES11Ext.GL_TEXTURE_EXTERNAL_OES);
/external/webrtc/sdk/android/src/java/org/webrtc/
DGlGenericDrawer.java18 import org.webrtc.GlUtil;
75 private static final FloatBuffer FULL_RECTANGLE_BUFFER = GlUtil.createFloatBuffer(new float[] {
84 GlUtil.createFloatBuffer(new float[] {
239 GlUtil.checkNoGLES2Error("Create shader"); in prepareShader()
267 GlUtil.checkNoGLES2Error("Prepare shader"); in prepareShader()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DGlUtil.java38 public final class GlUtil { class
204 private GlUtil() {} in GlUtil() method in GlUtil
DEGLSurfaceTexture.java310 GlUtil.checkGlError(); in generateTextureIds()
/external/webrtc/sdk/android/
DBUILD.gn224 "api/org/webrtc/GlUtil.java",