summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/support/glrenderer/GLId.java
blob: 695343b12d4c98371e8984e8b53cf416e5205432 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.android.camera.support.glrenderer;

import javax.microedition.khronos.opengles.GL11;
import javax.microedition.khronos.opengles.GL11ExtensionPack;

// This mimics corresponding GL functions.
public interface GLId {
    public int generateTexture();

    public void glGenBuffers(int n, int[] buffers, int offset);

    public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset);

    public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset);

    public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset);
}