Lines Matching refs:GL_TEXTURE_2D
161 glBindTexture(GL_TEXTURE_2D, texture->name); in initTexture()
165 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, w, h, 0, GL_ALPHA, in initTexture()
169 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, in initTexture()
173 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, in initTexture()
177 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, w, h, 0, GL_RGB, in initTexture()
184 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); in initTexture()
185 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in initTexture()
186 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in initTexture()
187 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); in initTexture()
188 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT); in initTexture()
219 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, tw, th, 0, GL_RGBA, in initTexture()
221 glTexSubImage2D(GL_TEXTURE_2D, 0, in initTexture()
224 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, in initTexture()
231 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB, in initTexture()
233 glTexSubImage2D(GL_TEXTURE_2D, 0, in initTexture()
236 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, w, h, 0, GL_RGB, in initTexture()
244 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); in initTexture()
377 glEnable(GL_TEXTURE_2D); in android()
404 glBindTexture(GL_TEXTURE_2D, mAndroid[1].name); in android()
409 glBindTexture(GL_TEXTURE_2D, mAndroid[0].name); in android()
535 glBindTexture(GL_TEXTURE_2D, font->texture.name); in initFont()
539 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in initFont()
540 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in initFont()
541 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); in initFont()
542 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT); in initFont()
559 glBindTexture(GL_TEXTURE_2D, font.texture.name); in drawText()
592 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, cropRect); in drawText()
600 glBindTexture(GL_TEXTURE_2D, 0); in drawText()
835 glBindTexture(GL_TEXTURE_2D, 0); in movie()
836 glEnable(GL_TEXTURE_2D); in movie()
838 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); in movie()
839 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT); in movie()
840 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); in movie()
841 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); in movie()
883 glBindTexture(GL_TEXTURE_2D, 0); in playAnimation()
911 glBindTexture(GL_TEXTURE_2D, frame.tid); in playAnimation()
915 glBindTexture(GL_TEXTURE_2D, frame.tid); in playAnimation()
916 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); in playAnimation()
917 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); in playAnimation()