Home
last modified time | relevance | path

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

12

/frameworks/base/tests/GamePerformance/src/android/gameperformance/
DRenderPatchOpenGLTest.java81 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 …]
DOpenGLUtils.java31 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()
DFillRateOpenGLTest.java89 OpenGLUtils.checkGlError("disableBlend"); in onBeforeDraw()
91 OpenGLUtils.checkGlError("blendFunction"); in onBeforeDraw()
/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 …]
DRenderTarget.java108 GLToolbox.checkGlError("glBindFramebuffer"); in forTexture()
114 GLToolbox.checkGlError("glFramebufferTexture2D"); in forTexture()
219 GLToolbox.checkGlError("glBindFramebuffer"); in focus()
DTextureSource.java60 GLToolbox.checkGlError("glBindTexture"); in bind()
/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 …]
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/base/tests/UiBench/src/com/android/test/uibench/opengl/
DImageFlipRenderThread.java145 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/
Dgl_code.cpp25 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/
Dgl_code.cpp25 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/
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/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/native/opengl/tests/gl2_basic/
Dgl2_basic.cpp68 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/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java211 checkGlError("glCreateShader type=" + shaderType); in loadShader()
237 checkGlError("glCreateProgram"); in createProgram()
242 checkGlError("glAttachShader"); in createProgram()
244 checkGlError("glAttachShader"); in createProgram()
260 checkGlError("onDrawFrame start"); in drawFrame()
313 checkGlError("glUseProgram"); in drawFrame()
337 checkGlError("glVertexAttribPointer maPosition"); in drawFrame()
339 checkGlError("glEnableVertexAttribArray maPositionHandle"); in drawFrame()
344 checkGlError("glVertexAttribPointer maTextureHandle"); in drawFrame()
346 checkGlError("glEnableVertexAttribArray maTextureHandle"); in drawFrame()
[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/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()
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
DSwarm.java173 checkGlError("glGetUniformLocation"); in draw()
176 checkGlError("glUniformMatrix4fv"); in draw()
193 private static void checkGlError(String glOperation) { in checkGlError() method in Swarm

12