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

/frameworks/base/libs/surfaceflinger/
H A DLayerBase.cpp500 GLuint tw = 1 << (31 - clz(t.width)); local
502 if (tw < t.width) tw <<= 1;
506 GLfloat ws = GLfloat(t.width) /tw;
563 GLuint tw = t.width; local
583 tw += (((t.stride - tw) * bytesPerPixel(t.format)) / 4);
589 GLuint texture_w = tw;
597 if (texture_w != tw || texture_h != th) {
608 GL_RGB, tw, t
[all...]
/frameworks/base/opengl/libagl/
H A Dtexture.cpp690 const GLuint tw = textureObject->surface.width; local
692 if ((uint32_t(s0+x+w) > tw) || (uint32_t(t0+y+h) > th)) {

Completed in 2224 milliseconds