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