Home
last modified time | relevance | path

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

/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
DSurfaceTextureView.java51 public static void checkGlError(String op) { in checkGlError() method in SurfaceTextureView
72 checkGlError("glAttachShader"); in createProgram()
74 checkGlError("glAttachShader"); in createProgram()
190 checkGlError("initialization"); in onSurfaceCreated()
214 checkGlError("glViewport"); in onDrawFrame()
223 checkGlError("glUniformMatrix4fv"); in onDrawFrame()
227 checkGlError("setup"); in onDrawFrame()
229 checkGlError("setup"); in onDrawFrame()
231 checkGlError("setup"); in onDrawFrame()
233 checkGlError("setup"); in onDrawFrame()
[all …]
/packages/screensavers/Basic/src/com/android/dreams/basic/
DColorsGLRenderer.java131 checkGlError(); in doFrame()
239 checkGlError(); in buildProgram()
242 checkGlError(); in buildProgram()
245 checkGlError(); in buildProgram()
265 checkGlError(); in buildShader()
268 checkGlError(); in buildShader()
289 private static void checkGlError() { in checkGlError() method in ColorsGLRenderer
290 checkGlError(""); in checkGlError()
293 private static void checkGlError(String what) { in checkGlError() method in ColorsGLRenderer
386 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.cpp83 if (!checkGlError("glUseProgram")) break; in InitializeGLProgram()
102 checkGlError("glDeleteProgram"); in InitializeGLProgram()
122 if (!checkGlError("glActiveTexture")) break; in DrawTexture()
126 if (!checkGlError("glBindTexture")) break; in DrawTexture()
150 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/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()