Searched defs:pow2_height (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
538 pow2_height = height;
543 pow2_width = pow2_height = 1;
545 while (pow2_height < height) pow2_height <<= 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))
637 texture->baseTexture.pow2Matrix[5] = (((float)height) / ((float)pow2_height));
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/
H A Dtexture.c1103 UINT pow2_width, pow2_height; local
1119 pow2_height = desc->height;
1124 pow2_width = pow2_height = 1;
1127 while (pow2_height < desc->height)
1128 pow2_height <<= 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))
1221 texture->pow2_matrix[5] = (((float)desc->height) / ((float)pow2_height));
[all...]

Completed in 36 milliseconds