Searched refs:checkGlError (Results 1 – 6 of 6) sorted by relevance
38 static void checkGlError(const char* op) { in checkGlError() function97 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 …]
97 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 …]
53 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 …]
55 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 …]
111 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()
55 checkGlError("glAttachShader"); in createProgram()57 checkGlError("glAttachShader"); in createProgram()72 public static void checkGlError(String op) { in checkGlError() method in GLToolbox