Home
last modified time | relevance | path

Searched refs:checkGlError (Results 1 – 16 of 16) 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.cpp93 if (!checkGlError("glUseProgram")) break; in InitializeGLProgram()
96 checkGlError("glGetAttribLocation aPosition"); in InitializeGLProgram()
98 checkGlError("glGetAttribLocation aTextureCoord"); in InitializeGLProgram()
100 checkGlError("glGetUniformLocation uSTMatrix"); in InitializeGLProgram()
111 checkGlError("glDeleteProgram"); in InitializeGLProgram()
131 if (!checkGlError("glActiveTexture")) break; in DrawTexture()
135 if (!checkGlError("glBindTexture")) break; 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()
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()
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/Camera/jni/feature_mos/src/mosaic_renderer/
DSurfaceTextureRenderer.cpp93 if (!checkGlError("glUseProgram")) break; in InitializeGLProgram()
96 checkGlError("glGetAttribLocation aPosition"); in InitializeGLProgram()
98 checkGlError("glGetAttribLocation aTextureCoord"); in InitializeGLProgram()
100 checkGlError("glGetUniformLocation uSTMatrix"); in InitializeGLProgram()
111 checkGlError("glDeleteProgram"); in InitializeGLProgram()
131 if (!checkGlError("glActiveTexture")) break; in DrawTexture()
135 if (!checkGlError("glBindTexture")) break; 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()
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()
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 checkGlError("framebuffertexture2d"); in Init()
61 if (!checkGlError("texture setup")) { in Init()
74 if (!checkGlError("texture generation")) { in CreateBuffers()
DFrameBuffer.h7 #define checkGlError(op) checkGLErrorDetail(__FILE__, __LINE__, (op)) macro
/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()
/packages/apps/Camera/jni/
Dmosaic_renderer_jni.cpp180 checkGlError("checkFramebufferStatus (is the target \"GL_FRAMEBUFFER\"?)"); in checkFramebufferStatus()
711 checkGlError("glReadPixels LR (MosaicRenderer.transferGPUtoCPU())"); in Java_com_android_camera_MosaicRenderer_transferGPUtoCPU()
724 checkGlError("glReadPixels HR (MosaicRenderer.transferGPUtoCPU())"); in Java_com_android_camera_MosaicRenderer_transferGPUtoCPU()