/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
D | SurfaceTextureView.java | 51 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/ |
D | RendererUtils.java | 73 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/ |
D | SurfaceTextureRenderer.cpp | 93 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()
|
D | YVURenderer.cpp | 55 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()
|
D | WarpRenderer.cpp | 83 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()
|
D | Renderer.cpp | 82 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()
|
D | FrameBuffer.cpp | 42 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()
|
D | FrameBuffer.h | 7 #define checkGlError(op) checkGLErrorDetail(__FILE__, __LINE__, (op)) macro
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/ |
D | SurfaceTextureRenderer.cpp | 93 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()
|
D | YVURenderer.cpp | 55 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()
|
D | WarpRenderer.cpp | 83 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()
|
D | Renderer.cpp | 82 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()
|
D | FrameBuffer.cpp | 42 if (!checkGlError("bind/teximage")) { in Init() 59 if (!checkGlError("texture setup")) { in Init() 72 if (!checkGlError("texture generation")) { in CreateBuffers()
|
D | FrameBuffer.h | 7 extern bool checkGlError(const char* op);
|
/packages/apps/LegacyCamera/jni/ |
D | mosaic_renderer_jni.cpp | 177 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/ |
D | mosaic_renderer_jni.cpp | 180 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()
|