/external/skia/third_party/glu/libtess/ |
tessmono.c | 49 #define AddWinding(eDst,eSrc) (eDst->winding += eSrc->winding, \ 50 eDst->Sym->winding += eSrc->Sym->winding) 179 * winding numbers on all edges so that regions marked "inside" the 180 * polygon have a winding number of "value", and regions outside 181 * have a winding number of 0. 196 e->winding = (e->Lface->inside) ? value : -value; 201 e->winding = 0;
|
mesh.c | 100 e->winding = 0; 108 eSym->winding = 0; 489 eNew->winding = eOrg->winding; /* copy old winding information */ 490 eNew->Sym->winding = eOrg->Sym->winding; 634 e->winding = 0; 643 eSym->winding = 0;
|
mesh.h | 155 int winding; /* change in winding number when crossing member in struct:GLUhalfEdge 189 * f->trail, e->winding) is set to zero.
|
sweep.c | 99 * winding of the new edge. 101 #define AddWinding(eDst,eSrc) (eDst->winding += eSrc->winding, \ 102 eDst->Sym->winding += eSrc->Sym->winding) 155 /* It was created with zero winding number, so it better be 156 * deleted with zero winding number (ie. it better not get merged 159 assert( reg->eUp->winding == 0 ); 221 * Winding number and "inside" flag are not updated. 262 reg->windingNumber = RegionAbove(reg)->windingNumber + reg->eUp->winding; [all...] |
tess.c | 374 /* The winding of an edge says how the winding number changes as we 377 * the winding number of the region inside the contour. 379 e->winding = 1; 380 e->Sym->winding = -1;
|
normal.c | 156 if( e->winding <= 0 ) continue;
|
README | 15 - supports a choice of several winding rules for determining which parts 73 of several "winding rules" described below. The interior regions 212 The input contours parition the plane into regions. A winding 215 For a single contour C, the winding number of a point x is simply 218 contours, the individual winding numbers are summed. This 220 the plane. Note that the winding number is the same for all 223 The winding rule classifies a region as "inside" if its winding 310 First, assume that each polygon is defined so that the winding number 327 Draw all the input contours as a single polygon. The winding numbe [all...] |
/external/skia/src/core/ |
SkEdge.cpp | 48 int winding = 1; local 53 winding = -1; 75 fWinding = SkToS8(winding); 193 int winding = 1; local 198 winding = -1; 223 fWinding = SkToS8(winding); 338 int winding = 1; local 345 winding = -1; 386 fWinding = SkToS8(winding);
|
SkRegion_rects.cpp | 99 int winding = edge->fWinding; 117 int prevWinding = winding; 118 winding += edge->fWinding; 119 if (0 == winding) { // we finished an interval 130 SkASSERT(0 == winding);
|
/frameworks/native/opengl/libagl/ |
array.cpp | 647 GLint first, GLsizei count, int winding) 649 // winding == 2 : fan 650 // winding == 1 : strip 662 // because it allows us to preserve the same winding when the whole 683 swap(((winding^=1) ? v1 : v0), v2); 690 if ((winding&2) == 0) { 857 GLsizei count, const GLvoid *indices, int winding) 859 // winding == 2 : fan 860 // winding == 1 : strip 883 vertex_t* & consumed = ((winding^=1) ? v1 : v0) [all...] |
primitives.cpp | 829 const GLenum winding = (c->lerp.area() > 0) ? GL_CW : GL_CCW; local 830 const GLenum face = (winding == c->cull.frontFace) ? GL_FRONT : GL_BACK; [all...] |