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/apps/Gallery2/src/com/android/gallery3d/photoeditor/
DRendererUtils.java73 checkGlError("glGenTextures"); in createTexture()
90 checkGlError("texImage2D"); in createTexture()
98 checkGlError("glGenFramebuffers"); in saveTexture()
100 checkGlError("glBindFramebuffer"); in saveTexture()
103 checkGlError("glFramebufferTexture2D"); in saveTexture()
107 checkGlError("glReadPixels"); in saveTexture()
112 checkGlError("glBindFramebuffer"); in saveTexture()
114 checkGlError("glDeleteFramebuffer"); in saveTexture()
122 checkGlError("glDeleteTextures"); in clearTexture()
254 checkGlError("glUseProgram"); in renderTexture()
[all …]
/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()
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()
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()
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/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()
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()
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()
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()
/packages/apps/Camera/jni/
Dmosaic_renderer_jni.cpp180 checkGlError("checkFramebufferStatus (is the target \"GL_FRAMEBUFFER\"?)"); in checkFramebufferStatus()
705 checkGlError("glReadPixels LR (MosaicRenderer.transferGPUtoCPU())"); in Java_com_android_camera_MosaicRenderer_transferGPUtoCPU()
718 checkGlError("glReadPixels HR (MosaicRenderer.transferGPUtoCPU())"); in Java_com_android_camera_MosaicRenderer_transferGPUtoCPU()