Searched defs:tw (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp192 int tw = 1 << (31 - __builtin_clz(w)); local
194 if (tw < w) tw <<= 1;
199 if (tw != w || th != h) {
200 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, tw, th, 0, GL_RGBA,
205 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, tw, th, 0, GL_RGBA,
211 if (tw != w || th != h) {
212 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB,
217 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB,
/frameworks/native/opengl/libagl/
H A Dtexture.cpp807 const GLuint tw = textureObject->surface.width; local
809 if ((uint32_t(s0+x+w) > tw) || (uint32_t(t0+y+h) > th)) {

Completed in 266 milliseconds