Lines Matching refs:GL_TEXTURE_2D
174 glBindTexture(GL_TEXTURE_2D, texture->name); in initTexture()
178 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, w, h, 0, GL_ALPHA, in initTexture()
182 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, in initTexture()
186 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, in initTexture()
190 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, w, h, 0, GL_RGB, in initTexture()
197 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); in initTexture()
198 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in initTexture()
199 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in initTexture()
200 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); in initTexture()
201 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT); in initTexture()
236 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, tw, th, 0, GL_RGBA, in initTexture()
238 glTexSubImage2D(GL_TEXTURE_2D, 0, in initTexture()
241 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, in initTexture()
248 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB, in initTexture()
250 glTexSubImage2D(GL_TEXTURE_2D, 0, in initTexture()
253 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, w, h, 0, GL_RGB, in initTexture()
261 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, crop); in initTexture()
386 glEnable(GL_TEXTURE_2D); in android()
413 glBindTexture(GL_TEXTURE_2D, mAndroid[1].name); in android()
418 glBindTexture(GL_TEXTURE_2D, mAndroid[0].name); in android()
543 glBindTexture(GL_TEXTURE_2D, font->texture.name); in initFont()
547 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); in initFont()
548 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); in initFont()
549 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); in initFont()
550 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT); in initFont()
567 glBindTexture(GL_TEXTURE_2D, font.texture.name); in drawText()
600 glTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_CROP_RECT_OES, cropRect); in drawText()
608 glBindTexture(GL_TEXTURE_2D, 0); in drawText()
852 glBindTexture(GL_TEXTURE_2D, 0); in movie()
853 glEnable(GL_TEXTURE_2D); in movie()
855 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); in movie()
856 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT); in movie()
857 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); in movie()
858 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); in movie()
905 glBindTexture(GL_TEXTURE_2D, 0); in playAnimation()
941 glBindTexture(GL_TEXTURE_2D, frame.tid); in playAnimation()
945 glBindTexture(GL_TEXTURE_2D, frame.tid); in playAnimation()
946 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); in playAnimation()
947 glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); in playAnimation()