Searched refs:pow2_width (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/
H A Dtexture.c521 UINT pow2_width, pow2_height; local
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));
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/
H A Dtexture.c1103 UINT pow2_width, pow2_height; local
1118 pow2_width = desc->width;
1124 pow2_width = pow2_height = 1;
1125 while (pow2_width < desc->width)
1126 pow2_width <<= 1;
1130 if (pow2_width != desc->width || pow2_height != desc->height)
1189 && (desc->width != pow2_width || desc->height != pow2_height))
1199 else if (gl_info->supported[ARB_TEXTURE_RECTANGLE] && (desc->width != pow2_width || desc->height != pow2_height)
1218 if ((desc->width != pow2_width) || (desc->height != pow2_height))
1220 texture->pow2_matrix[0] = (((float)desc->width) / ((float)pow2_width));
[all...]

Completed in 73 milliseconds