Home
last modified time | relevance | path

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

/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DGles2ColoredTriangleList.java121 if (CHECK_GL_ERRORS) checkGlError("glDrawArrays"); in draw()
139 private static void checkGlError(String glOperation) { in checkGlError() method in Gles2ColoredTriangleList
163 if (CHECK_GL_ERRORS) checkGlError("glCreateShader"); in loadShader()
170 if (CHECK_GL_ERRORS) checkGlError("glShaderSource"); in loadShader()
172 if (CHECK_GL_ERRORS) checkGlError("glCompileShader"); in loadShader()
218 if (CHECK_GL_ERRORS) checkGlError("glCreateProgram"); in Program()
225 if (CHECK_GL_ERRORS) checkGlError("glAttachShader"); in Program()
227 if (CHECK_GL_ERRORS) checkGlError("glAttachShader"); in Program()
231 if (CHECK_GL_ERRORS) checkGlError("glLinkProgram"); in Program()
235 if (CHECK_GL_ERRORS) checkGlError("glGetUniformLocation"); in Program()
[all …]
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/
DGLES20TriangleRenderer.java53 checkGlError("glUseProgram"); in onDrawFrame()
61 checkGlError("glVertexAttribPointer maPosition"); in onDrawFrame()
64 checkGlError("glEnableVertexAttribArray maPositionHandle"); in onDrawFrame()
67 checkGlError("glVertexAttribPointer maTextureHandle"); in onDrawFrame()
69 checkGlError("glEnableVertexAttribArray maTextureHandle"); in onDrawFrame()
79 checkGlError("glDrawArrays"); in onDrawFrame()
98 checkGlError("glGetAttribLocation aPosition"); in onSurfaceCreated()
103 checkGlError("glGetAttribLocation aTextureCoord"); in onSurfaceCreated()
109 checkGlError("glGetUniformLocation uMVPMatrix"); in onSurfaceCreated()
186 checkGlError("glAttachShader"); in createProgram()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DGLES20TriangleRenderer.java55 checkGlError("glUseProgram"); in onDrawFrame()
63 checkGlError("glVertexAttribPointer maPosition"); in onDrawFrame()
66 checkGlError("glEnableVertexAttribArray maPositionHandle"); in onDrawFrame()
69 checkGlError("glVertexAttribPointer maTextureHandle"); in onDrawFrame()
71 checkGlError("glEnableVertexAttribArray maTextureHandle"); in onDrawFrame()
81 checkGlError("glDrawArrays"); in onDrawFrame()
100 checkGlError("glGetAttribLocation aPosition"); in onSurfaceCreated()
105 checkGlError("glGetAttribLocation aTextureCoord"); in onSurfaceCreated()
111 checkGlError("glGetUniformLocation uMVPMatrix"); in onSurfaceCreated()
188 checkGlError("glAttachShader"); in createProgram()
[all …]
/development/samples/HelloEffects/src/com/example/android/mediafx/
DTextureRenderer.java111 GLToolbox.checkGlError("glUseProgram"); in renderTexture()
115 GLToolbox.checkGlError("glViewport"); in renderTexture()
127 GLToolbox.checkGlError("vertex attribute setup"); in renderTexture()
131 GLToolbox.checkGlError("glActiveTexture"); in renderTexture()
133 GLToolbox.checkGlError("glBindTexture"); in renderTexture()
DGLToolbox.java55 checkGlError("glAttachShader"); in createProgram()
57 checkGlError("glAttachShader"); in createProgram()
72 public static void checkGlError(String op) { in checkGlError() method in GLToolbox
/development/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/
DTextureRenderer.java111 GLToolbox.checkGlError("glUseProgram"); in renderTexture()
115 GLToolbox.checkGlError("glViewport"); in renderTexture()
127 GLToolbox.checkGlError("vertex attribute setup"); in renderTexture()
131 GLToolbox.checkGlError("glActiveTexture"); in renderTexture()
133 GLToolbox.checkGlError("glBindTexture"); in renderTexture()
DGLToolbox.java52 checkGlError("glAttachShader"); in createProgram()
54 checkGlError("glAttachShader"); in createProgram()
68 public static void checkGlError(String op) { in checkGlError() method in GLToolbox
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/
DTriangle.java128 MyGLRenderer.checkGlError("glGetUniformLocation"); in draw()
132 MyGLRenderer.checkGlError("glUniformMatrix4fv"); in draw()
DSquare.java136 MyGLRenderer.checkGlError("glGetUniformLocation"); in draw()
140 MyGLRenderer.checkGlError("glUniformMatrix4fv"); in draw()
DMyGLRenderer.java142 public static void checkGlError(String glOperation) { in checkGlError() method in MyGLRenderer