FileDocCategorySizeDatePackage
GLES20IdImpl.javaAPI DocAndroid 5.1 API1216Thu Mar 12 22:22:42 GMT 2015com.android.gallery3d.glrenderer

GLES20IdImpl

public class GLES20IdImpl extends Object implements GLId

Fields Summary
private final int[]
mTempIntArray
Constructors Summary
Methods Summary
public intgenerateTexture()


    
       
        GLES20.glGenTextures(1, mTempIntArray, 0);
        GLES20Canvas.checkError();
        return mTempIntArray[0];
    
public voidglDeleteBuffers(javax.microedition.khronos.opengles.GL11 gl, int n, int[] buffers, int offset)

        GLES20.glDeleteBuffers(n, buffers, offset);
        GLES20Canvas.checkError();
    
public voidglDeleteFramebuffers(javax.microedition.khronos.opengles.GL11ExtensionPack gl11ep, int n, int[] buffers, int offset)

        GLES20.glDeleteFramebuffers(n, buffers, offset);
        GLES20Canvas.checkError();
    
public voidglDeleteTextures(javax.microedition.khronos.opengles.GL11 gl, int n, int[] textures, int offset)

        GLES20.glDeleteTextures(n, textures, offset);
        GLES20Canvas.checkError();
    
public voidglGenBuffers(int n, int[] buffers, int offset)

        GLES20.glGenBuffers(n, buffers, offset);
        GLES20Canvas.checkError();