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

/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp179 int tw = 1 << (31 - __builtin_clz(w)); local
181 if (tw < w) tw <<= 1;
186 if (tw != w || th != h) {
187 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, tw, th, 0, GL_RGBA,
192 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, tw, th, 0, GL_RGBA,
198 if (tw != w || th != h) {
199 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB,
204 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 150 milliseconds