Lines Matching defs:TexWidth
24 static GLint TexWidth = 128, TexHeight = 128;
152 TexWidth, TexHeight);
210 TexWidth = 1 << k;
213 TexWidth = 1 << RandomInt(2, 7);
215 printf("Random size of %3d: %d x %d\n", i, TexWidth, TexHeight);
219 TextureWidth[i] = TexWidth;
222 texImage = (GLubyte*) malloc(4 * TexWidth * TexHeight * sizeof(GLubyte));
232 for (j = 0; j < TexWidth * TexHeight; j++) {
241 GLint w = TexWidth, h = TexHeight;
269 k = (TexWidth - 1) * 4;
271 k = (TexWidth * TexHeight - TexWidth) * 4;
273 k = (TexWidth * TexHeight - 1) * 4;
276 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, TexWidth, TexHeight, 0,
363 TexWidth = atoi(argv[i+1]);
365 assert(TexWidth >= 1);