Lines Matching defs:newwidth

343     int newwidth, newheight;
348 newwidth = width / 2;
356 for (j = 0; j < newwidth; j++) {
373 int newwidth, newheight;
386 newwidth = width / 2;
394 for (j = 0; j < newwidth; j++) {
475 int newwidth, newheight;
488 newwidth = width / 2;
496 for (j = 0; j < newwidth; j++) {
575 int newwidth, newheight;
588 newwidth = width / 2;
597 for (j = 0; j < newwidth; j++) {
612 for (j = 0; j < newwidth; j++) {
714 int newwidth, newheight;
727 newwidth = width / 2;
736 for (j = 0; j < newwidth; j++) {
751 for (j = 0; j < newwidth; j++) {
860 int newwidth, newheight;
873 newwidth = width / 2;
882 for (j = 0; j < newwidth; j++) {
899 for (j = 0; j < newwidth; j++) {
1004 int newwidth, newheight;
1017 newwidth = width / 2;
1026 for (j = 0; j < newwidth; j++) {
1041 for (j = 0; j < newwidth; j++) {
1152 int newwidth, newheight;
1165 newwidth = width / 2;
1174 for (j = 0; j < newwidth; j++) {
1189 for (j = 0; j < newwidth; j++) {
3554 GLint newwidth;
3569 newwidth= widthPowerOf2;
3570 levels = computeLog(newwidth);
3594 if (newImage_width == newwidth) {
3602 memreq = image_size(newwidth, 1, format, GL_UNSIGNED_SHORT);
3615 newwidth, 1, otherImage);
3621 newImage_width = newwidth;
3627 if (newwidth > 1) newwidth /= 2;
3700 GLint newwidth, newheight;
3715 newwidth = nearestPower(width);
3716 if (newwidth > maxsize) newwidth = maxsize;
3721 &newwidth,&newheight);
3723 levels = computeLog(newwidth);
3750 if (newImage_width == newwidth && newImage_height == newheight) { /* Use newImage for this level */
3757 image_size(newwidth, newheight, format, GL_UNSIGNED_SHORT);
3770 newwidth, newheight, otherImage);
3776 newImage_width = newwidth;
3782 if (newwidth > 1) newwidth /= 2;
3811 GLint newwidth, newheight;
3833 newwidth= widthPowerOf2;
3835 levels = computeLog(newwidth);
3869 if (width == newwidth && height == newheight) {
3887 int nextWidth= newwidth/2;
4050 newwidth = width/2;
4053 if (newwidth < 1) newwidth= 1;
4057 rowsize = newwidth * group_size;
4058 memreq = image_size(newwidth, newheight, format, type);
4116 memreq = image_size(newwidth, newheight, format, type);
4173 (const GLubyte *)usersImage, newwidth, newheight,
4179 (const GLbyte *)usersImage, newwidth, newheight,
4185 (const GLushort *)usersImage, newwidth, newheight,
4191 (const GLshort *)usersImage, newwidth, newheight,
4197 (const GLuint *)usersImage, newwidth, newheight,
4203 (const GLint *)usersImage, newwidth, newheight,
4209 (const GLfloat *)usersImage, newwidth, newheight,
4216 newwidth,newheight,(void *)dstImage,
4222 newwidth,newheight,(void *)dstImage,
4228 newwidth,newheight,(void *)dstImage,
4234 newwidth,newheight,(void *)dstImage,
4240 newwidth,newheight,(void *)dstImage,
4246 newwidth,newheight,(void *)dstImage,
4252 newwidth,newheight,(void *)dstImage,
4258 newwidth,newheight,(void *)dstImage,
4264 newwidth,newheight,(void *)dstImage,
4270 newwidth,newheight,(void *)dstImage,
4276 newwidth,newheight,(void *)dstImage,
4282 newwidth,newheight,(void *)dstImage,
4290 rowsize = newwidth * group_size;
4296 int nextWidth= newwidth/2;
4363 glTexImage2D(target, level, internalFormat, newwidth, newheight, 0,
4371 halveImage_ubyte(cmpts, newwidth, newheight,
4376 halveImage_byte(cmpts, newwidth, newheight,
4381 halveImage_ushort(cmpts, newwidth, newheight,
4386 halveImage_short(cmpts, newwidth, newheight,
4391 halveImage_uint(cmpts, newwidth, newheight,
4396 halveImage_int(cmpts, newwidth, newheight,
4401 halveImage_float(cmpts, newwidth, newheight,
4407 newwidth,newheight,
4413 newwidth,newheight,
4419 newwidth,newheight,
4425 newwidth,newheight,
4431 newwidth,newheight,
4437 newwidth,newheight,
4443 newwidth,newheight,
4449 newwidth,newheight,
4455 newwidth,newheight,
4461 newwidth,newheight,
4467 newwidth,newheight,
4473 newwidth,newheight,
4484 if (newwidth > 1) { newwidth /= 2; rowsize /= 2;}
4494 glTexImage2D(target, level, internalFormat, newwidth, newheight, 0,
4533 glTexImage2D(target, level, internalFormat, newwidth, newheight, 0,
4628 GLint newwidth, newheight;
4641 newwidth = nearestPower(width);
4642 if (newwidth > maxsize) newwidth = maxsize;
4647 &newwidth,&newheight);
4649 levels = computeLog(newwidth);
4714 if (newImage_width == newwidth && newImage_height == newheight) {
4722 image_size(newwidth, newheight, format, GL_UNSIGNED_BYTE);
4735 newImage, newwidth, newheight, otherImage);
4742 newImage_width = newwidth;
4748 if (newwidth > 1) newwidth /= 2;