Home
last modified time | relevance | path

Searched refs:checkGlError (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/tests/SampleRearViewCamera/src/com/google/android/car/rvc/
DGLES20TriangleRenderer.java53 checkGlError("glUseProgram"); in onDrawFrame()
61 checkGlError("glVertexAttribPointer maPosition"); in onDrawFrame()
64 checkGlError("glEnableVertexAttribArray maPositionHandle"); in onDrawFrame()
67 checkGlError("glVertexAttribPointer maTextureHandle"); in onDrawFrame()
69 checkGlError("glEnableVertexAttribArray maTextureHandle"); in onDrawFrame()
79 checkGlError("glDrawArrays"); in onDrawFrame()
98 checkGlError("glGetAttribLocation aPosition"); in onSurfaceCreated()
103 checkGlError("glGetAttribLocation aTextureCoord"); in onSurfaceCreated()
109 checkGlError("glGetUniformLocation uMVPMatrix"); in onSurfaceCreated()
186 checkGlError("glAttachShader"); in createProgram()
[all …]
/packages/screensavers/Basic/src/com/android/dreams/basic/
DColorsGLRenderer.java132 checkGlError(); in doFrame()
240 checkGlError(); in buildProgram()
243 checkGlError(); in buildProgram()
246 checkGlError(); in buildProgram()
266 checkGlError(); in buildShader()
269 checkGlError(); in buildShader()
290 private static void checkGlError() { in checkGlError() method in ColorsGLRenderer
291 checkGlError(""); in checkGlError()
294 private static void checkGlError(String what) { in checkGlError() method in ColorsGLRenderer
387 checkGlError("glUseProgram(" + mProgram + ")"); in Square()
[all …]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/
DSurfaceTextureRenderer.cpp95 if (!checkGlError("glUseProgram")) break; in InitializeGLProgram()
98 checkGlError("glGetAttribLocation aPosition"); in InitializeGLProgram()
100 checkGlError("glGetAttribLocation aTextureCoord"); in InitializeGLProgram()
102 checkGlError("glGetUniformLocation uSTMatrix"); in InitializeGLProgram()
113 checkGlError("glDeleteProgram"); in InitializeGLProgram()
133 if (!checkGlError("glActiveTexture")) break; in DrawTexture()
137 if (!checkGlError("glBindTexture")) break; in DrawTexture()
DYVURenderer.cpp55 if (!checkGlError("glUseProgram")) break; in InitializeGLProgram()
71 checkGlError("glDeleteProgram"); in InitializeGLProgram()
91 if (!checkGlError("glActiveTexture")) break; in DrawTexture()
95 if (!checkGlError("glBindTexture")) break; in DrawTexture()
114 checkGlError("glDrawElements"); in DrawTexture()
DRenderer.cpp82 checkGlError("glAttachShader"); in createProgram()
84 checkGlError("glAttachShader"); in createProgram()
127 if (!checkGlError("glUseProgram")) break; in SetupGraphics()
136 if (!checkGlError("glViewport")) break; in SetupGraphics()
158 if (!checkGlError("glUseProgram")) break; in SetupGraphics()
167 if (!checkGlError("glViewport")) break; in SetupGraphics()
DWarpRenderer.cpp87 if (!checkGlError("glUseProgram")) break; in InitializeGLProgram()
106 checkGlError("glDeleteProgram"); in InitializeGLProgram()
126 if (!checkGlError("glActiveTexture")) break; in DrawTexture()
130 if (!checkGlError("glBindTexture")) break; in DrawTexture()
154 checkGlError("glDrawElements"); in DrawTexture()
DFrameBuffer.cpp42 if (!checkGlError("bind/teximage")) { in Init()
59 if (!checkGlError("texture setup")) { in Init()
72 if (!checkGlError("texture generation")) { in CreateBuffers()
DFrameBuffer.h7 extern bool checkGlError(const char* op);
/packages/services/Car/tests/CarEvsCameraPreviewApp/src/com/google/android/car/evs/
DGLES20CarEvsCameraPreviewRenderer.java324 checkGlError("glAttachShader"); in buildShaderProgram()
326 checkGlError("glAttachShader"); in buildShaderProgram()
340 private static void checkGlError(String op) { in checkGlError() method in GLES20CarEvsCameraPreviewRenderer
/packages/apps/LegacyCamera/jni/
Dmosaic_renderer_jni.cpp177 bool checkGlError(const char* op) { in checkGlError() function
674 checkGlError("glReadPixels LR"); in Java_com_android_camera_panorama_MosaicRenderer_transferGPUtoCPU()
687 checkGlError("glReadPixels HR"); in Java_com_android_camera_panorama_MosaicRenderer_transferGPUtoCPU()