Lines Matching refs:gl
49 protected Texture(GL11 gl, int id, int state) {
50 mGL = gl;
92 private void uploadToGL(GL11 gl) throws GLOutOfMemoryException {
103 gl.glGenTextures(1, textureId, 0);
104 gl.glBindTexture(GL11.GL_TEXTURE_2D, textureId[0]);
105 gl.glTexParameteriv(GL11.GL_TEXTURE_2D,
107 gl.glTexParameteri(GL11.GL_TEXTURE_2D,
109 gl.glTexParameteri(GL11.GL_TEXTURE_2D,
111 gl.glTexParameterf(GL11.GL_TEXTURE_2D,
113 gl.glTexParameterf(GL11.GL_TEXTURE_2D,
129 mGL = gl;
147 protected boolean bind(GLRootView root, GL11 gl) {
148 if (mState == Texture.STATE_UNLOADED || mGL != gl) {
151 uploadToGL(gl);
157 gl.glBindTexture(GL11.GL_TEXTURE_2D, getId());