Searched refs:windH (Results 1 - 10 of 10) sorted by relevance

/xsrc/external/mit/mesa-demos/dist/src/samples/
H A Dcopy.c35 GLint windW, windH; variable in typeref:typename:GLint
48 y = windH;
56 windH = (GLint)height;
58 glViewport(0, 0, windW, windH);
62 gluOrtho2D(0, windW, 0, windH);
105 src[1] = (int) ((windH / 2.0) - (image->sizeY / 2.0));
115 dst[1] = windH - y;
174 windH = 2*300;
175 glutInitWindowPosition(0, 0); glutInitWindowSize( windW, windH);
H A Doverlay.c62 GLint windW, windH; variable in typeref:typename:GLint
143 y0 = stars[n].y[0] * windH / stars[n].z[0];
146 y0 += windH / 2.0;
148 if (x0 >= 0.0 && x0 < windW && y0 >= 0.0 && y0 < windH) {
151 y1 = stars[n].y[1] * windH / stars[n].z[1];
154 y1 += windH / 2.0;
228 windH = (GLint)height;
232 glViewport(0, 0, windW, windH);
235 gluOrtho2D(-0.5, windW+0.5, -0.5, windH+0.5);
241 glViewport(0, 0, windW, windH);
[all...]
H A Dpoint.c38 GLint windW, windH; variable in typeref:typename:GLint
73 windH = (GLint)height;
79 gluOrtho2D(-windW/2, windW/2, -windH/2, windH/2);
142 glVertex2f(0, -windH/2);
143 glVertex2f(0, windH/2);
213 windH = 300;
214 glutInitWindowPosition(0, 0); glutInitWindowSize( windW, windH);
H A Dtri.c37 GLint windW, windH; variable in typeref:typename:GLint
108 windH = (GLint)height;
242 glViewport(0, 0, windW, windH);
249 glScissor(0, 0, windW, windH);
293 scaleY = (float)(windH - 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);
382 windH = 300;
383 glutInitWindowPosition(0, 0); glutInitWindowSize( windW, windH);
H A Dblendeq.c23 GLint windW, windH; variable in typeref:typename:GLint
65 windH = (GLint)height;
68 deltaY = windH /20;
72 gluOrtho2D(0, windW, 0, windH);
108 for (i = windH - deltaY + 4; i > 0; i-=deltaY) {
138 glRectf(0.0, 0.0, windW/2, windH);
142 i = windH - deltaY + stringOffset;
165 i = windH - deltaY;
H A Dselect.c41 GLint windW, windH; variable in typeref:typename:GLint
107 windH = (GLint)height;
138 glViewport(0, 0, windW, windH);
143 gluPickMatrix(x, windH-y, 4, 4, vp);
236 glViewport(0, 0, windW, windH);
262 glViewport(0, 0, windW, windH);
267 gluPickMatrix(x, windH-y, 4, 4, vp);
362 glViewport(0, 0, windW, windH);
443 windH = 300;
444 glutInitWindowPosition(0, 0); glutInitWindowSize( windW, windH);
[all...]
H A Dstar.c60 GLint windW, windH; variable in typeref:typename:GLint
151 y0 = stars[n].y[0] * windH / stars[n].z[0];
154 y0 += windH / 2.0;
156 if (x0 >= 0.0 && x0 < windW && y0 >= 0.0 && y0 < windH) {
159 y1 = stars[n].y[1] * windH / stars[n].z[1];
162 y1 += windH / 2.0;
236 windH = (GLint)height;
238 glViewport(0, 0, windW, windH);
242 gluOrtho2D(-0.5, windW+0.5, -0.5, windH+0.5);
326 windH
[all...]
H A Dblendxor.c21 GLint windW, windH; variable in typeref:typename:GLint
33 windH = (GLint)height;
H A Dprim.c18 GLint windW, windH; variable in typeref:typename:GLint
52 windH = (GLint)height;
107 boxH = (windH - (ROWS + 1) * GAP) / ROWS;
445 glViewport(0, 0, windW, windH);
525 windH = 300;
526 glutInitWindowPosition(0, 0); glutInitWindowSize( windW, windH);
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dprim.c20 GLint windW, windH; variable in typeref:typename:GLint
54 windH = (GLint)height;
120 boxH = (windH - (ROWS + 1) * GAP) / ROWS;
459 glViewport(0, 0, windW, windH);
539 windH = 300;
540 glutInitWindowPosition(0, 0); glutInitWindowSize( windW, windH);

Completed in 12 milliseconds