Lines Matching refs:pow2_width
521 UINT pow2_width, pow2_height;
537 pow2_width = width;
543 pow2_width = pow2_height = 1;
544 while (pow2_width < width) pow2_width <<= 1;
547 if (pow2_width != width || pow2_height != height)
599 if (gl_info->supported[WINE_NORMALIZED_TEXRECT] && (width != pow2_width || height != pow2_height))
609 else if (gl_info->supported[ARB_TEXTURE_RECTANGLE] && (width != pow2_width || height != pow2_height)
633 if ((width != pow2_width) || (height != pow2_height))
636 texture->baseTexture.pow2Matrix[0] = (((float)width) / ((float)pow2_width));