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.java1049 checkGlError("before updateTexImage"); in onFrameAvailable()
1149 checkGlError("glGenTextures"); in eglSurfaceCreated()
1152 checkGlError("glBindTexture"); in eglSurfaceCreated()
1162 checkGlError("glTexParameter"); in eglSurfaceCreated()
1167 checkGlError("glUseProgram"); in drawFrame()
1169 checkGlError("glActiveTexture"); in drawFrame()
1171 checkGlError("glBindTexture"); in drawFrame()
1176 checkGlError("glVertexAttribPointer aPositionHandle"); in drawFrame()
1178 checkGlError("glEnableVertexAttribArray aPositionHandle"); in drawFrame()
1183 checkGlError("glVertexAttribPointer aTextureHandle"); in drawFrame()
[all …]
DEncodeVirtualDisplayWithCompositionTest.java723 checkGlError("glCreateShader type=" + shaderType); in loadShader()
748 checkGlError("glCreateProgram"); in createProgram()
753 checkGlError("glAttachShader"); in createProgram()
755 checkGlError("glAttachShader"); in createProgram()
773 checkGlError("glGetAttribLocation aPosition"); in initGl()
778 checkGlError("glGetAttribLocation aTextureCoord"); in initGl()
783 checkGlError("glGetUniformLocation uMVPMatrix"); in initGl()
788 checkGlError("glGetUniformLocation uSTMatrix"); in initGl()
845 checkGlError("window draw"); in doGlRendering()
971 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/camera/src/android/hardware/cts/
DCameraGLTest.java682 checkGlError("glUseProgram"); in onDrawFrame()
690 checkGlError("glVertexAttribPointer maPosition"); in onDrawFrame()
692 checkGlError("glEnableVertexAttribArray maPositionHandle"); in onDrawFrame()
697 checkGlError("glVertexAttribPointer maTextureHandle"); in onDrawFrame()
699 checkGlError("glEnableVertexAttribArray maTextureHandle"); in onDrawFrame()
709 checkGlError("glDrawArrays"); in onDrawFrame()
732 checkGlError("glGetAttribLocation aPosition"); in onSurfaceCreated()
737 checkGlError("glGetAttribLocation aTextureCoord"); in onSurfaceCreated()
743 checkGlError("glGetUniformLocation uMVPMatrix"); in onSurfaceCreated()
749 checkGlError("glGetUniformLocation uSTMatrix"); in onSurfaceCreated()
[all …]
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DPlanetsRenderer.java331 checkGlError("glAttachShader"); in createProgram()
333 checkGlError("glAttachShader"); in createProgram()
383 private void checkGlError(String op) { in checkGlError() method in PlanetsRenderer
395 checkGlError("glGenBuffers Vertex"); in createVbo()
398 checkGlError("glBindBuffer Vertex"); in createVbo()
402 checkGlError("glBufferData Vertex"); in createVbo()
407 checkGlError("glGenBuffers Index"); in createVbo()
418 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
/cts/tests/tests/hardware/src/android/hardware/cts/
DEgl14Utils.java141 static void checkGlError() { in checkGlError() method in Egl14Utils