Home
last modified time | relevance | path

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

/development/ndk/platforms/android-5/samples/hello-gl2/jni/
Dgl_code.cpp38 static void checkGlError(const char* op) { in checkGlError() function
97 checkGlError("glAttachShader"); in createProgram()
99 checkGlError("glAttachShader"); in createProgram()
137 checkGlError("glGetAttribLocation"); in setupGraphics()
142 checkGlError("glViewport"); in setupGraphics()
156 checkGlError("glClearColor"); in renderFrame()
158 checkGlError("glClear"); in renderFrame()
161 checkGlError("glUseProgram"); in renderFrame()
164 checkGlError("glVertexAttribPointer"); in renderFrame()
166 checkGlError("glEnableVertexAttribArray"); in renderFrame()
[all …]
/development/ndk/platforms/android-14/samples/native-media/src/com/example/nativemedia/
DMyGLSurfaceView.java97 checkGlError("glUseProgram"); in onDrawFrame()
105 checkGlError("glVertexAttribPointer maPosition"); in onDrawFrame()
107 checkGlError("glEnableVertexAttribArray maPositionHandle"); in onDrawFrame()
112 checkGlError("glVertexAttribPointer maTextureHandle"); in onDrawFrame()
114 checkGlError("glEnableVertexAttribArray maTextureHandle"); in onDrawFrame()
123 checkGlError("glDrawArrays"); in onDrawFrame()
149 checkGlError("glGetAttribLocation aPosition"); in onSurfaceCreated()
154 checkGlError("glGetAttribLocation aTextureCoord"); in onSurfaceCreated()
160 checkGlError("glGetUniformLocation uMVPMatrix"); in onSurfaceCreated()
166 checkGlError("glGetUniformLocation uSTMatrix"); in onSurfaceCreated()
[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