Home
last modified time | relevance | path

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

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGLToolbox.java46 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 …]
DImageShader.java164 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 …]
DTextureSource.java60 GLToolbox.checkGlError("glBindTexture"); in bind()
DRenderTarget.java108 GLToolbox.checkGlError("glBindFramebuffer"); in forTexture()
114 GLToolbox.checkGlError("glFramebufferTexture2D"); in forTexture()
219 GLToolbox.checkGlError("glBindFramebuffer"); in focus()
DCameraStreamer.java389 GLToolbox.checkGlError("distribute frames"); in distributeFrames()
/frameworks/native/opengl/tests/gl2_copyTexImage/
Dgl2_copyTexImage.cpp59 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/native/opengl/tests/gl2_jni/jni/
Dgl_code.cpp20 static void checkGlError(const char* op) { in checkGlError() function
77 checkGlError("glAttachShader"); in createProgram()
79 checkGlError("glAttachShader"); in createProgram()
117 checkGlError("glGetAttribLocation"); in setupGraphics()
122 checkGlError("glViewport"); in setupGraphics()
136 checkGlError("glClearColor"); in renderFrame()
138 checkGlError("glClear"); in renderFrame()
141 checkGlError("glUseProgram"); in renderFrame()
144 checkGlError("glVertexAttribPointer"); in renderFrame()
146 checkGlError("glEnableVertexAttribArray"); in renderFrame()
[all …]
/frameworks/native/opengl/tests/gldual/jni/
Dgl_code.cpp20 static void checkGlError(const char* op) { in checkGlError() function
77 checkGlError("glAttachShader"); in createProgram()
79 checkGlError("glAttachShader"); in createProgram()
117 checkGlError("glGetAttribLocation"); in setupGraphics()
122 checkGlError("glViewport"); in setupGraphics()
136 checkGlError("glClearColor"); in renderFrame()
138 checkGlError("glClear"); in renderFrame()
141 checkGlError("glUseProgram"); in renderFrame()
144 checkGlError("glVertexAttribPointer"); in renderFrame()
146 checkGlError("glEnableVertexAttribArray"); in renderFrame()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLTextureViewActivity.java192 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 …]
DGLDepthTestActivity.java147 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/wilhelm/tests/native-media/src/com/example/nativemedia/
DMyGLSurfaceView.java109 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/
Dgl2_yuvtex.cpp61 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/
Dgl_yuvtex.cpp61 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/
DTestLatencyView.java97 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/
DGL2JavaView.java68 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/
DGL2CameraEye.java202 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/native/opengl/tests/gl2_basic/
Dgl2_basic.cpp59 static void checkGlError(const char* op) { in checkGlError() function
116 checkGlError("glAttachShader"); in createProgram()
118 checkGlError("glAttachShader"); in createProgram()
149 checkGlError("glGetAttribLocation"); in setupGraphics()
154 checkGlError("glViewport"); in setupGraphics()
163 checkGlError("glClearColor"); in renderFrame()
165 checkGlError("glClear"); in renderFrame()
168 checkGlError("glUseProgram"); in renderFrame()
171 checkGlError("glVertexAttribPointer"); in renderFrame()
173 checkGlError("glEnableVertexAttribArray"); in renderFrame()
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java165 checkGlError("glCreateShader type=" + shaderType); in loadShader()
191 checkGlError("glCreateProgram"); in createProgram()
196 checkGlError("glAttachShader"); in createProgram()
198 checkGlError("glAttachShader"); in createProgram()
213 checkGlError("onDrawFrame start"); in drawFrame()
264 checkGlError("glUseProgram"); in drawFrame()
272 checkGlError("glVertexAttribPointer maPosition"); in drawFrame()
274 checkGlError("glEnableVertexAttribArray maPositionHandle"); in drawFrame()
279 checkGlError("glVertexAttribPointer maTextureHandle"); in drawFrame()
281 checkGlError("glEnableVertexAttribArray maTextureHandle"); in drawFrame()
[all …]
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DVideoDumpView.java392 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/base/core/jni/
Dandroid_hardware_camera2_legacy_PerfMeasurement.cpp82 bool checkGlError(JNIEnv* env) { in checkGlError() function
245 checkGlError(env); in PerfMeasurement_nativeQuerySupport()
271 checkGlError(env); in PerfMeasurement_nativeStartGlTimer()
291 checkGlError(env); in PerfMeasurement_nativeStopGlTimer()
299 checkGlError(env); in PerfMeasurement_nativeGetNextGlDuration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java527 checkGlError(); in drawWallpaperWithOpenGL()
538 checkGlError(); in drawWallpaperWithOpenGL()
585 checkGlError(); in loadTexture()
589 checkGlError(); in loadTexture()
598 checkGlError(); in loadTexture()
612 checkGlError(); in buildProgram()
615 checkGlError(); in buildProgram()
618 checkGlError(); in buildProgram()
638 checkGlError(); in buildShader()
641 checkGlError(); in buildShader()
[all …]
/frameworks/native/opengl/tests/gl_perf/
Dfill_common.cpp26 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()
Dgl2_perf.cpp47 static void checkGlError(const char* op) { in checkGlError() function
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp38 static void checkGlError(const char* op);
968 static void checkGlError(const char* op) in checkGlError() function