Searched refs:boxH (Results 1 - 2 of 2) sorted by relevance
| /xsrc/external/mit/mesa-demos/dist/src/samples/ |
| H A D | prim.c | 21 GLint boxW, boxH; variable in typeref:typename:GLint 107 boxH = (windH - (ROWS + 1) * GAP) / ROWS; 110 y = GAP + row * (boxH + GAP); 112 glViewport(x, y, boxW, boxH); 116 glOrtho(-boxW/2, boxW/2, -boxH/2, boxH/2, 0.0, 1.0); 120 glScissor(x, y, boxW, boxH); 155 glVertex2i(-boxW/4, -boxH/4); 156 glVertex2i(boxW/4, boxH/4); 173 glVertex2f(PIXEL_CENTER(-boxW/4), PIXEL_CENTER(-boxH/ [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| H A D | prim.c | 23 GLint boxW, boxH; variable in typeref:typename:GLint 120 boxH = (windH - (ROWS + 1) * GAP) / ROWS; 123 y = GAP + row * (boxH + GAP); 125 glViewport(x, y, boxW, boxH); 129 glOrtho(-boxW/2, boxW/2, -boxH/2, boxH/2, 0.0, 1.0); 133 glScissor(x, y, boxW, boxH); 168 glVertex2i(-boxW/4, -boxH/4); 170 glVertex2i(boxW/4, boxH/4); 187 glVertex2f(PIXEL_CENTER(-boxW/4), PIXEL_CENTER(-boxH/ [all...] |
Completed in 3 milliseconds