| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| H A D | arbnpot.c | 75 int imgWidth, imgHeight, minDim, w; local in function:Init 84 image = LoadRGBImage( IMAGE_FILE, &imgWidth, &imgHeight, &imgFormat ); 92 imgWidth = 3; 94 image = malloc(imgWidth * imgHeight * 3); 96 for (j = 0; j < imgWidth; j++) { 97 int k = (i * imgWidth + j) * 3; 112 printf("Read %d x %d\n", imgWidth, imgHeight); 114 minDim = imgWidth < imgHeight ? imgWidth : imgHeight; 121 glTexImage1D(GL_PROXY_TEXTURE_1D, 0, GL_RGB, imgWidth, [all...] |
| H A D | floattex.c | 108 GLint imgWidth, imgHeight; local in function:InitTexture 114 image = LoadRGBImage(TexFile, &imgWidth, &imgHeight, &imgFormat); 122 ftex = (float *) malloc(imgWidth * imgHeight * 4 * sizeof(float)); 129 for (i = 0; i < imgWidth * imgHeight * 3; i++) { 137 imgWidth, imgHeight, 0, 162 malloc(imgWidth * imgHeight * 4 * sizeof(GLfloat)); 165 for (i = 0; i < imgWidth * imgHeight * 4; i++) {
|
| H A D | bumpmap.c | 113 GLint imgWidth, imgHeight; local in function:Init 139 image = LoadRGBImage(TexFile, &imgWidth, &imgHeight, &imgFormat); 150 glTexImage2D( GL_TEXTURE_2D, 0, imgFormat, imgWidth, imgHeight, 0,
|
| /xsrc/external/mit/freetype/dist/src/sfnt/ |
| H A D | pngshim.c | 269 png_uint_32 imgWidth, imgHeight; local in function:Load_SBit_Png 323 &imgWidth, &imgHeight, 329 ( (FT_Int)imgWidth != metrics->width || 336 if ( imgHeight > 0x7FFF || imgWidth > 0x7FFF ) 342 metrics->width = (FT_UShort)imgWidth; 389 &imgWidth, &imgHeight,
|
| /xsrc/external/mit/mesa-demos/dist/src/glsl/ |
| H A D | multitex.c | 294 GLint imgWidth, imgHeight; local in function:InitTextures 298 image = LoadRGBImage(TexFiles[i], &imgWidth, &imgHeight, &imgFormat); 306 gluBuild2DMipmaps(GL_TEXTURE_2D, 4, imgWidth, imgHeight,
|
| H A D | shtest.c | 390 GLint imgWidth, imgHeight; local in function:LoadTexture 397 image = LoadRGBImage(texFileName, &imgWidth, &imgHeight, &imgFormat); 404 unit, target, texFileName, imgWidth, imgHeight); 421 gluBuild3DMipmaps(target, 4, imgWidth, imgHeight, 1, 429 gluBuild1DMipmaps(target, 4, imgWidth, 433 gluBuild2DMipmaps(target, 4, imgWidth, imgHeight,
|
| H A D | texdemo1.c | 349 GLint imgWidth, imgHeight; local in function:InitTextures 353 image = LoadRGBImage(GroundImage, &imgWidth, &imgHeight, &imgFormat); 361 gluBuild2DMipmaps(GL_TEXTURE_2D, 3, imgWidth, imgHeight,
|
| /xsrc/external/mit/mesa-demos/dist/src/perf/ |
| H A D | glslstateschange.c | 186 GLint imgWidth, imgHeight; local in function:InitTextures 190 image = LoadRGBImage(TexFiles[i], &imgWidth, &imgHeight, &imgFormat); 198 gluBuild2DMipmaps(GL_TEXTURE_2D, 4, imgWidth, imgHeight,
|
| /xsrc/external/mit/mesa-demos/dist/src/objviewer/ |
| H A D | glmdraw.c | 248 GLint imgWidth, imgHeight; local in function:_glmLoadTexture 254 image = LoadRGBImage( mat->map_kd, &imgWidth, &imgHeight, &imgFormat ); 263 printf("load texture %s %d x %d\n", mat->map_kd, imgWidth, imgHeight); 266 gluBuild2DMipmaps(GL_TEXTURE_2D, 3, imgWidth, imgHeight,
|
| /xsrc/external/mit/mesa-demos/dist/src/demos/ |
| H A D | reflect.c | 195 GLint imgWidth, imgHeight; local in function:InitWindow 202 image = LoadRGBImage( TABLE_TEXTURE, &imgWidth, &imgHeight, &imgFormat ); 208 gluBuild2DMipmaps(GL_TEXTURE_2D, 3, imgWidth, imgHeight,
|
| H A D | projtex.c | 176 GLint imgWidth, imgHeight; local in function:loadImageTextures 181 image = LoadRGBImage(texFilename[tex], &imgWidth, &imgHeight, &imgFormat); 193 gluScaleImage(imgFormat, imgWidth, imgHeight, GL_UNSIGNED_BYTE, image,
|