Searched defs:tw (Results 1 - 2 of 2) sorted by relevance
/frameworks/native/opengl/libagl/ |
H A D | texture.cpp | 800 const GLuint tw = textureObject->surface.width; local 802 if ((uint32_t(s0+x+w) > tw) || (uint32_t(t0+y+h) > th)) {
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 208 int tw = 1 << (31 - __builtin_clz(w)); local 210 if (tw < w) tw <<= 1; 215 if (!mUseNpotTextures && (tw != w || th != h)) { 216 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, tw, th, 0, GL_RGBA, 227 if (!mUseNpotTextures && (tw != w || th != h)) { 228 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB,
|
Completed in 114 milliseconds