/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | RenderPatchOpenGLTest.java | 81 OpenGLUtils.checkGlError("useProgram"); in ensureInited() 85 OpenGLUtils.checkGlError("get uMVPMatrix"); in ensureInited() 88 OpenGLUtils.checkGlError("uTexture"); in ensureInited() 91 OpenGLUtils.checkGlError("vPosition"); in ensureInited() 93 OpenGLUtils.checkGlError("vTexture"); in ensureInited() 95 OpenGLUtils.checkGlError("uColor"); in ensureInited() 126 OpenGLUtils.checkGlError("useProgram"); in draw() 129 OpenGLUtils.checkGlError("disableBlend"); in draw() 132 OpenGLUtils.checkGlError("enableVertexAttributes"); in draw() 135 OpenGLUtils.checkGlError("enableTexturesAttributes"); in draw() [all …]
|
D | OpenGLUtils.java | 31 public static void checkGlError(String glOperation) { in checkGlError() method in OpenGLUtils 42 checkGlError("createShader"); in loadShader() 45 checkGlError("shaderSource"); in loadShader() 47 checkGlError("shaderCompile"); in loadShader() 58 checkGlError("createProgram"); in createProgram() 60 checkGlError("attachVertexShader"); in createProgram() 62 checkGlError("attachFragmentShader"); in createProgram() 64 checkGlError("linkProgram"); in createProgram() 75 OpenGLUtils.checkGlError("GenTextures"); in createTexture()
|
D | FillRateOpenGLTest.java | 89 OpenGLUtils.checkGlError("disableBlend"); in onBeforeDraw() 91 OpenGLUtils.checkGlError("blendFunction"); in onBeforeDraw()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | GLToolbox.java | 46 checkGlError("glDeleteTextures"); in deleteTexture() 53 checkGlError("glDeleteFramebuffers"); in deleteFbo() 59 checkGlError("glGenTextures"); in generateTexture() 66 checkGlError("glGenFramebuffers"); in generateFbo() 73 checkGlError("glReadPixels"); in readFbo() 79 checkGlError("glReadPixels"); in readTarget() 89 checkGlError("glGetFramebufferAttachmentParameteriv"); in attachedTexture() 100 checkGlError("glFramebufferTexture2D"); in attachTextureToFbo() 110 checkGlError("glTexImage2D"); in setTexturePixels() 124 checkGlError("glTexImage2D"); in setTexturePixels() [all …]
|
D | ImageShader.java | 164 GLToolbox.checkGlError("Set vertex-attribute values"); in push() 204 GLToolbox.checkGlError("Initializing uniform"); in ProgramUniform() 282 GLToolbox.checkGlError("Unknown Operation"); in processMulti() 321 GLToolbox.checkGlError("Set uniform value (" + uniformName + ")"); in setUniformValue() 328 GLToolbox.checkGlError("Set uniform value (" + uniformName + ")"); in setUniformValue() 356 GLToolbox.checkGlError("Set uniform value (" + uniformName + ")"); in setUniformValue() 397 GLToolbox.checkGlError("Set uniform value (" + uniformName + ")"); in setUniformValue() 601 GLToolbox.checkGlError("Set render variables"); in pushShaderState() 607 GLToolbox.checkGlError("glViewport"); in focusTarget() 627 GLToolbox.checkGlError("Binding input texture " + i); in bindInputTextures() [all …]
|
D | RenderTarget.java | 108 GLToolbox.checkGlError("glBindFramebuffer"); in forTexture() 114 GLToolbox.checkGlError("glFramebufferTexture2D"); in forTexture() 219 GLToolbox.checkGlError("glBindFramebuffer"); in focus()
|
D | TextureSource.java | 60 GLToolbox.checkGlError("glBindTexture"); in bind()
|
/frameworks/native/opengl/tests/gl2_copyTexImage/ |
D | gl2_copyTexImage.cpp | 59 static void checkGlError(const char* op) { in checkGlError() function 116 checkGlError("glAttachShader"); in createProgram() 118 checkGlError("glAttachShader"); in createProgram() 172 checkGlError("glGetAttribLocation"); in setupGraphics() 180 checkGlError("glGetAttribLocation"); in setupGraphics() 182 checkGlError("glGetAttribLocation"); in setupGraphics() 184 checkGlError("glGetAttribLocation"); in setupGraphics() 211 checkGlError("glViewport"); in setupGraphics() 230 checkGlError("glClearColor"); in renderFrame() 232 checkGlError("glClear"); in renderFrame() [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | GLTextureViewActivity.java | 192 checkGlError(); in run() 195 checkGlError(); in run() 198 checkGlError(); in run() 201 checkGlError(); in run() 204 checkGlError(); in run() 207 checkGlError(); in run() 210 checkGlError(); in run() 213 checkGlError(); in run() 219 checkGlError(); in run() 224 checkGlError(); in run() [all …]
|
D | GLDepthTestActivity.java | 147 checkGlError("glUseProgram"); in onDrawFrame() 155 checkGlError("glVertexAttribPointer maPosition"); in onDrawFrame() 158 checkGlError("glEnableVertexAttribArray maPositionHandle"); in onDrawFrame() 161 checkGlError("glVertexAttribPointer maTextureHandle"); in onDrawFrame() 163 checkGlError("glEnableVertexAttribArray maTextureHandle"); in onDrawFrame() 176 checkGlError("glDrawArrays"); in onDrawFrame() 197 checkGlError("glGetAttribLocation aPosition"); in onSurfaceCreated() 202 checkGlError("glGetAttribLocation aTextureCoord"); in onSurfaceCreated() 208 checkGlError("glGetUniformLocation uMVPMatrix"); in onSurfaceCreated() 214 checkGlError("glGetUniformLocation uOverlay"); in onSurfaceCreated() [all …]
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/ |
D | ImageFlipRenderThread.java | 145 checkGlError(); in run() 148 checkGlError(); in run() 151 checkGlError(); in run() 154 checkGlError(); in run() 157 checkGlError(); in run() 160 checkGlError(); in run() 163 checkGlError(); in run() 166 checkGlError(); in run() 172 checkGlError(); in run() 177 checkGlError(); in run() [all …]
|
/frameworks/native/opengl/tests/gldual/jni/ |
D | gl_code.cpp | 25 static void checkGlError(const char* op) { in checkGlError() function 82 checkGlError("glAttachShader"); in createProgram() 84 checkGlError("glAttachShader"); in createProgram() 122 checkGlError("glGetAttribLocation"); in setupGraphics() 127 checkGlError("glViewport"); in setupGraphics() 141 checkGlError("glClearColor"); in renderFrame() 143 checkGlError("glClear"); in renderFrame() 146 checkGlError("glUseProgram"); in renderFrame() 149 checkGlError("glVertexAttribPointer"); in renderFrame() 151 checkGlError("glEnableVertexAttribArray"); in renderFrame() [all …]
|
/frameworks/native/opengl/tests/gl2_jni/jni/ |
D | gl_code.cpp | 25 static void checkGlError(const char* op) { in checkGlError() function 82 checkGlError("glAttachShader"); in createProgram() 84 checkGlError("glAttachShader"); in createProgram() 122 checkGlError("glGetAttribLocation"); in setupGraphics() 127 checkGlError("glViewport"); in setupGraphics() 141 checkGlError("glClearColor"); in renderFrame() 143 checkGlError("glClear"); in renderFrame() 146 checkGlError("glUseProgram"); in renderFrame() 149 checkGlError("glVertexAttribPointer"); in renderFrame() 151 checkGlError("glEnableVertexAttribArray"); in renderFrame() [all …]
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
D | MyGLSurfaceView.java | 109 checkGlError("glUseProgram"); in onDrawFrame() 117 checkGlError("glVertexAttribPointer maPosition"); in onDrawFrame() 119 checkGlError("glEnableVertexAttribArray maPositionHandle"); in onDrawFrame() 124 checkGlError("glVertexAttribPointer maTextureHandle"); in onDrawFrame() 126 checkGlError("glEnableVertexAttribArray maTextureHandle"); in onDrawFrame() 135 checkGlError("glDrawArrays"); in onDrawFrame() 161 checkGlError("glGetAttribLocation aPosition"); in onSurfaceCreated() 166 checkGlError("glGetAttribLocation aTextureCoord"); in onSurfaceCreated() 172 checkGlError("glGetUniformLocation uMVPMatrix"); in onSurfaceCreated() 178 checkGlError("glGetUniformLocation uSTMatrix"); in onSurfaceCreated() [all …]
|
/frameworks/native/opengl/tests/gl2_yuvtex/ |
D | gl2_yuvtex.cpp | 61 static void checkGlError(const char* op) { in checkGlError() function 132 checkGlError("glAttachShader"); in createProgram() 134 checkGlError("glAttachShader"); in createProgram() 166 checkGlError("glGetAttribLocation"); in setupGraphics() 170 checkGlError("glGetUniformLocation"); in setupGraphics() 175 checkGlError("glViewport"); in setupGraphics() 244 checkGlError("glGenTextures"); in setupYuvTexSurface() 246 checkGlError("glBindTexture"); in setupYuvTexSurface() 248 checkGlError("glEGLImageTargetTexture2DOES"); in setupYuvTexSurface() 262 checkGlError("glClearColor"); in renderFrame() [all …]
|
/frameworks/native/opengl/tests/gl_yuvtex/ |
D | gl_yuvtex.cpp | 61 static void checkGlError(const char* op) { in checkGlError() function 70 checkGlError("glViewport"); in setupGraphics() 139 checkGlError("glGenTextures"); in setupYuvTexSurface() 141 checkGlError("glBindTexture"); in setupYuvTexSurface() 143 checkGlError("glEGLImageTargetTexture2DOES"); in setupYuvTexSurface() 145 checkGlError("glTexParameteri"); in setupYuvTexSurface() 147 checkGlError("glTexParameteri"); in setupYuvTexSurface() 149 checkGlError("glTexEnvx"); in setupYuvTexSurface() 153 checkGlError("glTexParameteriv"); in setupYuvTexSurface() 160 checkGlError("glClearColor"); in renderFrame() [all …]
|
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/ |
D | TestLatencyView.java | 97 checkGlError("glUseProgram"); in onDrawFrame() 115 checkGlError("glEnableVertexAttribArray"); in onDrawFrame() 117 checkGlError("glEnableVertexAttribArray"); in onDrawFrame() 135 checkGlError("glVertexAttribPointer mvPosition"); in onDrawFrame() 138 checkGlError("glVertexAttribPointer mvColor"); in onDrawFrame() 140 checkGlError("glDrawArrays"); in onDrawFrame() 158 checkGlError("glGetAttribLocation"); in onSurfaceCreated() 163 checkGlError("glGetAttribLocation"); in onSurfaceCreated() 200 checkGlError("glAttachShader vertexShader"); in createProgram() 202 checkGlError("glAttachShader pixelShader"); in createProgram() [all …]
|
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/ |
D | GL2JavaView.java | 68 checkGlError("glUseProgram"); in onDrawFrame() 71 checkGlError("glVertexAttribPointer"); in onDrawFrame() 73 checkGlError("glEnableVertexAttribArray"); in onDrawFrame() 75 checkGlError("glDrawArrays"); in onDrawFrame() 89 checkGlError("glGetAttribLocation"); in onSurfaceCreated() 126 checkGlError("glAttachShader"); in createProgram() 128 checkGlError("glAttachShader"); in createProgram() 142 private void checkGlError(String op) { in checkGlError() method in GL2JavaView.Renderer
|
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
D | GL2CameraEye.java | 202 checkGlError("glUseProgram"); in onDrawFrame() 210 checkGlError("glVertexAttribPointer maPosition"); in onDrawFrame() 212 checkGlError("glEnableVertexAttribArray maPositionHandle"); in onDrawFrame() 217 checkGlError("glVertexAttribPointer maTextureHandle"); in onDrawFrame() 219 checkGlError("glEnableVertexAttribArray maTextureHandle"); in onDrawFrame() 229 checkGlError("glDrawArrays"); in onDrawFrame() 255 checkGlError("glGetAttribLocation aPosition"); in onSurfaceCreated() 260 checkGlError("glGetAttribLocation aTextureCoord"); in onSurfaceCreated() 266 checkGlError("glGetUniformLocation uMVPMatrix"); in onSurfaceCreated() 272 checkGlError("glGetUniformLocation uSTMatrix"); in onSurfaceCreated() [all …]
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
D | VideoDumpView.java | 392 checkGlError("glUseProgram"); in onDrawFrame() 403 checkGlError("glVertexAttribPointer maPosition"); in onDrawFrame() 405 checkGlError("glEnableVertexAttribArray maPositionHandle"); in onDrawFrame() 412 checkGlError("glVertexAttribPointer maTextureHandle"); in onDrawFrame() 414 checkGlError("glEnableVertexAttribArray maTextureHandle"); in onDrawFrame() 423 checkGlError("glDrawArrays"); in onDrawFrame() 443 checkGlError("glReadPixels"); in DumpToFile() 528 checkGlError("glGetAttribLocation aPosition"); in onSurfaceCreated() 533 checkGlError("glGetAttribLocation aTextureCoord"); in onSurfaceCreated() 539 checkGlError("glGetUniformLocation uMVPMatrix"); in onSurfaceCreated() [all …]
|
/frameworks/native/opengl/tests/gl2_basic/ |
D | gl2_basic.cpp | 68 static void checkGlError(const char* op) { in checkGlError() function 125 checkGlError("glAttachShader"); in createProgram() 127 checkGlError("glAttachShader"); in createProgram() 158 checkGlError("glGetAttribLocation"); in setupGraphics() 163 checkGlError("glViewport"); in setupGraphics() 172 checkGlError("glClearColor"); in renderFrame() 174 checkGlError("glClear"); in renderFrame() 177 checkGlError("glUseProgram"); in renderFrame() 180 checkGlError("glVertexAttribPointer"); in renderFrame() 182 checkGlError("glEnableVertexAttribArray"); in renderFrame() [all …]
|
/frameworks/native/opengl/tests/gl_perf/ |
D | fill_common.cpp | 26 static void checkGlError(const char* op) { in checkGlError() function 79 checkGlError("glAttachShader v"); in createProgram() 81 checkGlError("glAttachShader p"); in createProgram() 105 checkGlError("createProgram"); in createProgram()
|
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
D | Swarm.java | 173 checkGlError("glGetUniformLocation"); in draw() 176 checkGlError("glUniformMatrix4fv"); in draw() 193 private static void checkGlError(String glOperation) { in checkGlError() method in Swarm
|
D | BasicGLRenderer.java | 78 public static void checkGlError(String glOperation) { in checkGlError() method in BasicGLRenderer
|
/frameworks/native/opengl/tests/lib/include/ |
D | EGLUtils.h | 59 static inline String8 checkGlError(const char* op); 181 String8 EGLUtils::checkGlError(const char* op) { in checkGlError() function
|