Home
last modified time | relevance | path

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

/cts/tests/tests/opengl/libopengltest/
Dcolor_one.cpp46 checkGlError("glAttachShader"); in initColorOne()
48 checkGlError("glAttachShader"); in initColorOne()
69 checkGlError("glViewport"); in initColorOne()
91 checkGlError("glClearColor"); in drawColorOne()
93 checkGlError("glClear"); in drawColorOne()
96 checkGlError("glUseProgram"); in drawColorOne()
99 checkGlError("glVertexAttribPointer"); in drawColorOne()
101 checkGlError("glEnableVertexAttribArray"); in drawColorOne()
104 checkGlError("glVertexAttribPointer"); in drawColorOne()
106 checkGlError("glEnableVertexAttribArray"); in drawColorOne()
[all …]
Dcolor_one.h30 static void checkGlError(const char* op);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DCtsMediaTextureRender.java102 checkGlError("onDrawFrame start"); in drawFrame()
109 checkGlError("glUseProgram"); in drawFrame()
117 checkGlError("glVertexAttribPointer maPosition"); in drawFrame()
119 checkGlError("glEnableVertexAttribArray maPositionHandle"); in drawFrame()
124 checkGlError("glVertexAttribPointer maTextureHandle"); in drawFrame()
126 checkGlError("glEnableVertexAttribArray maTextureHandle"); in drawFrame()
133 checkGlError("glDrawArrays"); in drawFrame()
146 checkGlError("glGetAttribLocation aPosition"); in surfaceCreated()
151 checkGlError("glGetAttribLocation aTextureCoord"); in surfaceCreated()
157 checkGlError("glGetUniformLocation uMVPMatrix"); in surfaceCreated()
[all …]
DCtsMediaOutputSurface.java256 mTextureRender.checkGlError("before updateTexImage"); in awaitNewImage()
284 mTextureRender.checkGlError("before updateTexImage"); in checkForNewImage()
297 mTextureRender.checkGlError("before updateTexImage"); in latchImage()
/cts/tests/tests/media/src/android/media/cts/
DTextureRender.java98 checkGlError("onDrawFrame start"); in drawFrame()
105 checkGlError("glUseProgram"); in drawFrame()
113 checkGlError("glVertexAttribPointer maPosition"); in drawFrame()
115 checkGlError("glEnableVertexAttribArray maPositionHandle"); in drawFrame()
120 checkGlError("glVertexAttribPointer maTextureHandle"); in drawFrame()
122 checkGlError("glEnableVertexAttribArray maTextureHandle"); in drawFrame()
129 checkGlError("glDrawArrays"); in drawFrame()
142 checkGlError("glGetAttribLocation aPosition"); in surfaceCreated()
147 checkGlError("glGetAttribLocation aTextureCoord"); in surfaceCreated()
153 checkGlError("glGetUniformLocation uMVPMatrix"); in surfaceCreated()
[all …]
DOutputSurface.java252 mTextureRender.checkGlError("before updateTexImage"); in awaitNewImage()
280 mTextureRender.checkGlError("before updateTexImage"); in checkForNewImage()
293 mTextureRender.checkGlError("before updateTexImage"); in latchImage()
DDecodeAccuracyTestBase.java1061 checkGlError("before updateTexImage"); in onFrameAvailable()
1163 checkGlError("glGenTextures"); in eglSurfaceCreated()
1166 checkGlError("glBindTexture"); in eglSurfaceCreated()
1176 checkGlError("glTexParameter"); in eglSurfaceCreated()
1181 checkGlError("glUseProgram"); in drawFrame()
1183 checkGlError("glActiveTexture"); in drawFrame()
1185 checkGlError("glBindTexture"); in drawFrame()
1190 checkGlError("glVertexAttribPointer aPositionHandle"); in drawFrame()
1192 checkGlError("glEnableVertexAttribArray aPositionHandle"); in drawFrame()
1197 checkGlError("glVertexAttribPointer aTextureHandle"); in drawFrame()
[all …]
DEncodeVirtualDisplayWithCompositionTest.java824 checkGlError("glCreateShader type=" + shaderType); in loadShader()
849 checkGlError("glCreateProgram"); in createProgram()
854 checkGlError("glAttachShader"); in createProgram()
856 checkGlError("glAttachShader"); in createProgram()
874 checkGlError("glGetAttribLocation aPosition"); in initGl()
879 checkGlError("glGetAttribLocation aTextureCoord"); in initGl()
884 checkGlError("glGetUniformLocation uMVPMatrix"); in initGl()
889 checkGlError("glGetUniformLocation uSTMatrix"); in initGl()
946 checkGlError("window draw"); in doGlRendering()
1072 checkGlError("glBindTexture mTextureID"); in init()
[all …]
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DSurfaceTextureRenderer.java117 checkGlError("glUseProgram"); in onDrawFrame()
125 checkGlError("glVertexAttribPointer maPosition"); in onDrawFrame()
127 checkGlError("glEnableVertexAttribArray maPositionHandle"); in onDrawFrame()
132 checkGlError("glVertexAttribPointer maTextureHandle"); in onDrawFrame()
134 checkGlError("glEnableVertexAttribArray maTextureHandle"); in onDrawFrame()
143 checkGlError("glDrawArrays"); in onDrawFrame()
170 checkGlError("glGetAttribLocation aPosition"); in onSurfaceCreated()
175 checkGlError("glGetAttribLocation aTextureCoord"); in onSurfaceCreated()
181 checkGlError("glGetUniformLocation uMVPMatrix"); in onSurfaceCreated()
187 checkGlError("glGetUniformLocation uSTMatrix"); in onSurfaceCreated()
[all …]
/cts/tests/tests/opengl/src/android/opengl/cts/
DWrapperTest.java49 checkGlError("start"); in testGetIntegerv1()
53 checkGlError("glGetIntegerv(count)"); in testGetIntegerv1()
60 checkGlError("glGetIntegerv(full1)"); in testGetIntegerv1()
66 checkGlError("glGetIntegerv(full2)"); in testGetIntegerv1()
74 checkGlError("glGetIntegerv(full3)"); in testGetIntegerv1()
82 checkGlError("glGetIntegerv(partial1)"); in testGetIntegerv1()
90 checkGlError("glGetIntegerv(partial2)"); in testGetIntegerv1()
105 checkGlError("start"); in testGetIntegerv2()
109 checkGlError("glGetIntegerv(count)"); in testGetIntegerv2()
116 checkGlError("glGetIntegerv(full1)"); in testGetIntegerv2()
[all …]
DCompressedTextureSurfaceView.java144 checkGlError("glUseProgram"); in renderQuad()
152 checkGlError("glVertexAttribPointer maPosition"); in renderQuad()
154 checkGlError("glEnableVertexAttribArray maPositionHandle"); in renderQuad()
159 checkGlError("glVertexAttribPointer maTextureHandle"); in renderQuad()
161 checkGlError("glEnableVertexAttribArray maTextureHandle"); in renderQuad()
167 checkGlError("glDrawArrays"); in renderQuad()
261 checkGlError("glBindTexture mColorTargetID"); in initFBO()
266 checkGlError("glTexImage2D mColorTargetID"); in initFBO()
297 checkGlError("glGetAttribLocation aPosition"); in onSurfaceCreated()
302 checkGlError("glGetAttribLocation aTextureCoord"); in onSurfaceCreated()
[all …]
DEglConfigGLSurfaceView.java144 checkGlError("glGetAttribLocation aPosition"); in onSurfaceCreated()
175 checkGlError("glAttachShader"); in createProgram()
177 checkGlError("glAttachShader"); in createProgram()
208 private void checkGlError(String op) { in checkGlError() method in EglConfigGLSurfaceView.Renderer20
224 checkGlError("glVertexAttribPointer maPosition"); in onDrawFrame()
227 checkGlError("glEnableVertexAttribArray maPositionHandle"); in onDrawFrame()
230 checkGlError("glDrawArrays"); in onDrawFrame()
DFramebufferTest.java83 checkGlError("glClear"); in testBlitFramebuffer()
89 checkGlError("glBlitFramebuffer"); in testBlitFramebuffer()
100 checkGlError("glReadPixels"); in testBlitFramebuffer()
111 checkGlError("glReadPixels"); in testBlitFramebuffer()
132 private static void checkGlError(String op) { in checkGlError() method in FramebufferTest
605 checkGlError("glReadPixels"); in saveFrame()
DEgl14Utils.java163 static void checkGlError() { in checkGlError() method in Egl14Utils
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_CameraGpuCtsActivity.cpp85 static void checkGlError(const char* op) { in checkGlError() function
147 checkGlError("glAttachShader"); in initRenderer()
149 checkGlError("glAttachShader"); in initRenderer()
167 checkGlError("glGetUniformLocation"); in initRenderer()
171 checkGlError("glGenTextures"); in initRenderer()
234 checkGlError("glClearColor"); in drawFrame()
238 checkGlError("glUseProgram"); in drawFrame()
246 checkGlError("glUniform1i"); in drawFrame()
257 checkGlError("glDrawArrays"); in drawFrame()
/cts/tests/camera/src/android/hardware/cts/
DCameraGLTest.java704 checkGlError("glUseProgram"); in onDrawFrame()
712 checkGlError("glVertexAttribPointer maPosition"); in onDrawFrame()
714 checkGlError("glEnableVertexAttribArray maPositionHandle"); in onDrawFrame()
719 checkGlError("glVertexAttribPointer maTextureHandle"); in onDrawFrame()
721 checkGlError("glEnableVertexAttribArray maTextureHandle"); in onDrawFrame()
731 checkGlError("glDrawArrays"); in onDrawFrame()
754 checkGlError("glGetAttribLocation aPosition"); in onSurfaceCreated()
759 checkGlError("glGetAttribLocation aTextureCoord"); in onSurfaceCreated()
765 checkGlError("glGetUniformLocation uMVPMatrix"); in onSurfaceCreated()
771 checkGlError("glGetUniformLocation uSTMatrix"); in onSurfaceCreated()
[all …]
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DPlanetsRenderer.java333 checkGlError("glAttachShader"); in createProgram()
335 checkGlError("glAttachShader"); in createProgram()
385 private void checkGlError(String op) { in checkGlError() method in PlanetsRenderer
397 checkGlError("glGenBuffers Vertex"); in createVbo()
400 checkGlError("glBindBuffer Vertex"); in createVbo()
404 checkGlError("glBufferData Vertex"); in createVbo()
409 checkGlError("glGenBuffers Index"); in createVbo()
420 checkGlError("glBufferData Index"); in createVbo()
DTextureTestRenderer.java129 checkGlError(gl, "onDrawFrame"); in onDrawFrame()
142 checkGlError(gl, "onSurfaceChanged"); in onSurfaceChanged()
174 checkGlError(gl, "onSurfaceCreated"); in onSurfaceCreated()
177 private void checkGlError(GL10 gl, String op) { in checkGlError() method in TextureTestRenderer