Home
last modified time | relevance | path

Searched refs:checkGlError (Results 1 – 16 of 16) 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/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()
DEncodeVirtualDisplayWithCompositionTest.java705 checkGlError("glCreateShader type=" + shaderType); in loadShader()
730 checkGlError("glCreateProgram"); in createProgram()
735 checkGlError("glAttachShader"); in createProgram()
737 checkGlError("glAttachShader"); in createProgram()
755 checkGlError("glGetAttribLocation aPosition"); in initGl()
760 checkGlError("glGetAttribLocation aTextureCoord"); in initGl()
765 checkGlError("glGetUniformLocation uMVPMatrix"); in initGl()
770 checkGlError("glGetUniformLocation uSTMatrix"); in initGl()
827 checkGlError("window draw"); in doGlRendering()
953 checkGlError("glBindTexture mTextureID"); in init()
[all …]
/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/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 …]
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
608 checkGlError("glReadPixels"); in saveFrame()
/cts/tests/tests/graphics/src/android/opengl/cts/
DCompressedTextureSurfaceView.java170 checkGlError("glUseProgram"); in renderQuad()
178 checkGlError("glVertexAttribPointer maPosition"); in renderQuad()
180 checkGlError("glEnableVertexAttribArray maPositionHandle"); in renderQuad()
185 checkGlError("glVertexAttribPointer maTextureHandle"); in renderQuad()
187 checkGlError("glEnableVertexAttribArray maTextureHandle"); in renderQuad()
193 checkGlError("glDrawArrays"); in renderQuad()
287 checkGlError("glBindTexture mColorTargetID"); in initFBO()
292 checkGlError("glTexImage2D mColorTargetID"); in initFBO()
323 checkGlError("glGetAttribLocation aPosition"); in onSurfaceCreated()
328 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()
DEglContextTest.java73 checkGlError(); in createEglDisplay()
85 checkGlError(); in createEglContext()
155 private static void checkGlError() { in checkGlError() method in EglContextTest
/cts/tests/tests/hardware/src/android/hardware/cts/
DCameraGLTest.java679 checkGlError("glUseProgram"); in onDrawFrame()
687 checkGlError("glVertexAttribPointer maPosition"); in onDrawFrame()
689 checkGlError("glEnableVertexAttribArray maPositionHandle"); in onDrawFrame()
694 checkGlError("glVertexAttribPointer maTextureHandle"); in onDrawFrame()
696 checkGlError("glEnableVertexAttribArray maTextureHandle"); in onDrawFrame()
706 checkGlError("glDrawArrays"); in onDrawFrame()
729 checkGlError("glGetAttribLocation aPosition"); in onSurfaceCreated()
734 checkGlError("glGetAttribLocation aTextureCoord"); in onSurfaceCreated()
740 checkGlError("glGetUniformLocation uMVPMatrix"); in onSurfaceCreated()
746 checkGlError("glGetUniformLocation uSTMatrix"); in onSurfaceCreated()
[all …]
/cts/tests/tests/openglperf/src/android/openglperf/cts/
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
DPlanetsRenderer.java330 checkGlError("glAttachShader"); in createProgram()
332 checkGlError("glAttachShader"); in createProgram()
382 private void checkGlError(String op) { in checkGlError() method in PlanetsRenderer
394 checkGlError("glGenBuffers Vertex"); in createVbo()
397 checkGlError("glBindBuffer Vertex"); in createVbo()
401 checkGlError("glBufferData Vertex"); in createVbo()
406 checkGlError("glGenBuffers Index"); in createVbo()
417 checkGlError("glBufferData Index"); in createVbo()