Searched refs:NUM_POINTS (Results 1 - 8 of 8) sorted by relevance

/xsrc/external/mit/xf86-video-intel/dist/test/
H A DDrawSegments.c49 #define NUM_POINTS (sizeof(points)/sizeof(points[0])) macro
87 XSegment seg[(NUM_POINTS+1)*8];
98 for (a = 0; a <= NUM_POINTS; a++) {
101 seg[n].x2 = NUM_POINTS + 64;
105 seg[n].x1 = NUM_POINTS - a + 64;
113 seg[n].x1 = NUM_POINTS + 64;
117 seg[n].x2 = NUM_POINTS - a + 64;
126 seg[n].y2 = NUM_POINTS + 64;
130 seg[n].y1 = NUM_POINTS - a + 64;
138 seg[n].y1 = NUM_POINTS
[all...]
H A Dbasic-lines.c49 #define NUM_POINTS (sizeof(points)/sizeof(points[0])) macro
103 for (a = 0; a < NUM_POINTS; a++) {
104 for (b = 0; b < NUM_POINTS; b++) {
/xsrc/external/mit/xf86-video-intel-2014/dist/test/
H A DDrawSegments.c49 #define NUM_POINTS (sizeof(points)/sizeof(points[0])) macro
87 XSegment seg[(NUM_POINTS+1)*8];
98 for (a = 0; a <= NUM_POINTS; a++) {
101 seg[n].x2 = NUM_POINTS + 64;
105 seg[n].x1 = NUM_POINTS - a + 64;
113 seg[n].x1 = NUM_POINTS + 64;
117 seg[n].x2 = NUM_POINTS - a + 64;
126 seg[n].y2 = NUM_POINTS + 64;
130 seg[n].y1 = NUM_POINTS - a + 64;
138 seg[n].y1 = NUM_POINTS
[all...]
H A Dbasic-lines.c49 #define NUM_POINTS (sizeof(points)/sizeof(points[0])) macro
103 for (a = 0; a < NUM_POINTS; a++) {
104 for (b = 0; b < NUM_POINTS; b++) {
/xsrc/external/mit/x11perf/dist/
H A Ddo_tris.c38 #define NUM_POINTS 3 /* 3 points to a triangle */ macro
75 delta = 2.0 * PI / ((double) NUM_POINTS);
93 numPoints = (p->objects) * NUM_POINTS;
102 for (int j = 0; j != NUM_POINTS; j++) {
143 XFillPolygon(xp->d, xp->w, pgc, curPoint, NUM_POINTS, Convex,
145 curPoint += NUM_POINTS;
H A Ddo_complex.c26 #define NUM_POINTS 4 /* 4 points to an arrowhead */ macro
69 numPoints = (p->objects) * NUM_POINTS;
104 XFillPolygon(xp->d, xp->w, pgc, curPoint, NUM_POINTS, Complex,
106 curPoint += NUM_POINTS;
H A Ddo_traps.c27 #define NUM_POINTS 4 /* 4 points to a trapezoid */ macro
43 numPoints = (p->objects) * NUM_POINTS;
51 for (int i = 0; i != p->objects; i++, curPoint += NUM_POINTS) {
86 XFillPolygon(xp->d, xp->w, pgc, curPoint, NUM_POINTS, Convex,
88 curPoint += NUM_POINTS;
/xsrc/external/mit/mesa-demos/dist/src/perf/
H A Dglsl-compile-time.c52 #define NUM_POINTS (sizeof(coords) / sizeof(coords[0])) macro
155 glDrawArrays(GL_POINTS, 0, NUM_POINTS);
162 glDrawArrays(GL_POINTS, 0, NUM_POINTS);
168 glDrawArrays(GL_POINTS, 0, NUM_POINTS);

Completed in 7 milliseconds