| /xsrc/external/mit/mesa-demos/dist/src/samples/ |
| H A D | overlay.c | 62 GLint windW, windH; variable in typeref:typename:GLint 142 x0 = stars[n].x[0] * windW / stars[n].z[0]; 145 x0 += windW / 2.0; 148 if (x0 >= 0.0 && x0 < windW && y0 >= 0.0 && y0 < windH) { 150 x1 = stars[n].x[1] * windW / stars[n].z[1]; 153 x1 += windW / 2.0; 227 windW = (GLint)width; 232 glViewport(0, 0, windW, windH); 235 gluOrtho2D(-0.5, windW+0.5, -0.5, windH+0.5); 241 glViewport(0, 0, windW, wind [all...] |
| H A D | copy.c | 35 GLint windW, windH; variable in typeref:typename:GLint 55 windW = (GLint)width; 58 glViewport(0, 0, windW, windH); 62 gluOrtho2D(0, windW, 0, windH); 104 src[0] = (int) ((windW / 2.0) - (image->sizeX / 2.0)); 173 windW = 2*300; 175 glutInitWindowPosition(0, 0); glutInitWindowSize( windW, windH);
|
| H A D | point.c | 38 GLint windW, windH; variable in typeref:typename:GLint 72 windW = (GLint)width; 79 gluOrtho2D(-windW/2, windW/2, -windH/2, windH/2); 138 glVertex2f(-windW/2, 0); 139 glVertex2f(windW/2, 0); 212 windW = 300; 214 glutInitWindowPosition(0, 0); glutInitWindowSize( windW, windH);
|
| H A D | blendeq.c | 23 GLint windW, windH; variable in typeref:typename:GLint 64 windW = (GLint)width; 72 gluOrtho2D(0, windW, 0, windH); 105 xleft = 5 + windW/4; 106 xright = 5 + windW/2; 138 glRectf(0.0, 0.0, windW/2, windH); 166 x1 = windW/4; 167 x2 = 3 * windW/4; 168 xleft = 5 + windW/4; 169 xright = 5 + windW/ [all...] |
| H A D | tri.c | 37 GLint windW, windH; variable in typeref:typename:GLint 107 windW = (GLint)width; 242 glViewport(0, 0, windW, windH); 249 glScissor(0, 0, windW, windH); 292 scaleX = (float)(windW - 20) / 2 / 175 * (175 - 100) + 10; 295 glViewport(scaleX, scaleY, windW-2*scaleX, windH-2*scaleY); 302 glScissor(scaleX, scaleY, windW-2*scaleX, windH-2*scaleY); 381 windW = 600; 383 glutInitWindowPosition(0, 0); glutInitWindowSize( windW, windH);
|
| H A D | star.c | 60 GLint windW, windH; variable in typeref:typename:GLint 150 x0 = stars[n].x[0] * windW / stars[n].z[0]; 153 x0 += windW / 2.0; 156 if (x0 >= 0.0 && x0 < windW && y0 >= 0.0 && y0 < windH) { 158 x1 = stars[n].x[1] * windW / stars[n].z[1]; 161 x1 += windW / 2.0; 235 windW = (GLint)width; 238 glViewport(0, 0, windW, windH); 242 gluOrtho2D(-0.5, windW+0.5, -0.5, windH+0.5); 325 windW [all...] |
| H A D | select.c | 41 GLint windW, windH; variable in typeref:typename:GLint 106 windW = (GLint)width; 138 glViewport(0, 0, windW, windH); 236 glViewport(0, 0, windW, windH); 262 glViewport(0, 0, windW, windH); 362 glViewport(0, 0, windW, windH); 442 windW = 300; 444 glutInitWindowPosition(0, 0); glutInitWindowSize( windW, windH);
|
| H A D | blendxor.c | 21 GLint windW, windH; variable in typeref:typename:GLint 32 windW = (GLint)width;
|
| H A D | prim.c | 18 GLint windW, windH; variable in typeref:typename:GLint 51 windW = (GLint)width; 106 boxW = (windW - (COLS + 1) * GAP) / COLS; 445 glViewport(0, 0, windW, windH); 524 windW = 600; 526 glutInitWindowPosition(0, 0); glutInitWindowSize( windW, windH);
|
| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| H A D | prim.c | 20 GLint windW, windH; variable in typeref:typename:GLint 53 windW = (GLint)width; 119 boxW = (windW - (COLS + 1) * GAP) / COLS; 459 glViewport(0, 0, windW, windH); 538 windW = 600; 540 glutInitWindowPosition(0, 0); glutInitWindowSize( windW, windH);
|