Home
last modified time | relevance | path

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

/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/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 …]
/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/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_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_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_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/media/tests/MediaDump/src/com/android/mediadump/
DVideoDumpView.java387 checkGlError("glUseProgram"); in onDrawFrame()
398 checkGlError("glVertexAttribPointer maPosition"); in onDrawFrame()
400 checkGlError("glEnableVertexAttribArray maPositionHandle"); in onDrawFrame()
407 checkGlError("glVertexAttribPointer maTextureHandle"); in onDrawFrame()
409 checkGlError("glEnableVertexAttribArray maTextureHandle"); in onDrawFrame()
418 checkGlError("glDrawArrays"); in onDrawFrame()
438 checkGlError("glReadPixels"); in DumpToFile()
523 checkGlError("glGetAttribLocation aPosition"); in onSurfaceCreated()
528 checkGlError("glGetAttribLocation aTextureCoord"); in onSurfaceCreated()
534 checkGlError("glGetUniformLocation uMVPMatrix"); in onSurfaceCreated()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java472 checkGlError();
483 checkGlError();
532 checkGlError();
536 checkGlError();
545 checkGlError();
559 checkGlError();
562 checkGlError();
565 checkGlError();
585 checkGlError();
588 checkGlError();
[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);
972 static void checkGlError(const char* op) in checkGlError() function