HomeSort by relevance Sort by last modified time
    Searched refs:winding (Results 1 - 24 of 24) sorted by null

  /external/skia/src/pathops/
SkPathOpsCommon.cpp 38 // find first angle, initialize winding to computed fWindSum
49 int winding = SK_MinS32; local
57 break; // if we get here, there's no winding, loop is unorderable
61 winding = segment->windSum(angle);
62 } while (winding == SK_MinS32);
64 // directly compute the winding in this case for each span
67 winding = SK_MinS32;
78 winding = testWinding;
84 *windingPtr = winding;
124 // find first angle, initialize winding to computed wind su
125 int winding; local
    [all...]
SkOpSegment.cpp 402 // if all angles have a computed winding,
404 // or if adjacent orderable angles have no computed winding,
407 // and one has winding computed, transfer to the other
576 // iterate through the angle, and compute everyone's winding
672 // iterate through the angle, and compute everyone's winding
760 // iterate through the angle, and compute everyone's winding
858 bool SkOpSegment::markAndChaseWinding(SkOpSpanBase* start, SkOpSpanBase* end, int winding,
862 bool success = markWinding(spanStart, winding);
867 // SkASSERT(spanStart->windSum() == winding); // FIXME: is this assert too aggressive?
871 (void) other->markWinding(spanStart, winding);
1672 int winding = lesser->windSum(); local
    [all...]
SkOpSegment.h 161 void debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding);
162 void debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding, int oppWinding);
278 bool markAndChaseWinding(SkOpSpanBase* start, SkOpSpanBase* end, int winding,
280 bool markAndChaseWinding(SkOpSpanBase* start, SkOpSpanBase* end, int winding,
286 bool markWinding(SkOpSpan* , int winding);
287 bool markWinding(SkOpSpan* , int winding, int oppWinding);
SkPathOpsOp.cpp 36 int winding; local
38 const SkOpAngle* angle = AngleWinding(*startPtr, *endPtr, &winding, &sortable);
42 if (winding == SK_MinS32) {
SkPathOpsDebug.h 316 static bool ValidWind(int winding);
317 static void WindingPrintf(int winding);
SkPathOpsDebug.cpp     [all...]
  /external/skia/src/utils/
SkInsetConvexPolygon.cpp 147 SkScalar winding = v0.cross(v1); local
156 if (winding*perpDot < 0) {
166 // we should only be making left-hand turns (for cw polygons, we use the winding
183 int winding = get_winding(inputPolygonVerts, inputPolygonSize); local
184 if (0 == winding) {
202 inputPolygonVerts[k])*winding < 0) {
207 winding,
250 int side = winding*compute_side(edgeData[currIndex].fInset.fP0,
253 if (side < 0 && side == winding*compute_side(edgeData[currIndex].fInset.fP0,
  /external/deqp/external/vulkancts/modules/vulkan/tessellation/
vktTessellationWindingTests.cpp 22 * \brief Tessellation Winding Tests
53 std::string getCaseName (const TessPrimitiveType primitiveType, const Winding winding, bool yFlip)
56 str << getTessPrimitiveTypeShaderName(primitiveType) << "_" << getWindingShaderName(winding);
62 inline VkFrontFace mapFrontFace (const Winding winding)
64 switch (winding)
79 const Winding winding,
81 const Winding frontFaceWinding
    [all...]
vktTessellationInvarianceTests.cpp 70 inline WindingUsage getWindingUsage (const Winding winding)
72 const WindingUsage usage = winding == WINDING_CCW ? WINDING_USAGE_CCW :
73 winding == WINDING_CW ? WINDING_USAGE_CW : WINDING_USAGE_LAST;
78 std::vector<Winding> getWindingCases (const WindingUsage windingUsage)
80 std::vector<Winding> cases;
154 inline std::string getProgramName (const std::string& baseName, const Winding winding, const bool usePointMode)
157 str << baseName << "_" << getWindingShaderName(winding) << (usePointMode ? "_point_mode" : "");
168 inline std::string getProgramDescription (const Winding winding, const bool usePointMode
470 Winding winding; member in struct:vkt::tessellation::__anon16773::InvariantOuterEdge::CaseDefinition
739 const Winding winding = static_cast<Winding>(windingNdx); local
    [all...]
vktTessellationPrimitiveDiscardTests.cpp 57 Winding winding; member in struct:vkt::tessellation::__anon16777::CaseDefinition
325 << getWindingShaderName(caseDef.winding)
631 (Winding)windingNdx,
641 + "_" + getWindingShaderName(caseDef.winding)
vktTessellationUtil.hpp 183 enum Winding
269 static inline const char* getWindingShaderName (const Winding winding)
271 switch (winding)
  /external/skia/src/core/
SkEdge.cpp 52 int winding = 1; local
57 winding = -1;
80 fWinding = SkToS8(winding);
203 int winding = 1; local
208 winding = -1;
236 fWinding = SkToS8(winding);
376 int winding = 1; local
383 winding = -1;
420 fWinding = SkToS8(winding);
SkAnalyticEdge.h 145 int winding = 1;
150 winding = -1;
172 fWinding = SkToS8(winding);
SkEdge.h 106 int winding = 1;
111 winding = -1;
130 fWinding = SkToS8(winding);
  /external/deqp/framework/referencerenderer/
rrRenderState.hpp 47 //! Winding mode
48 enum Winding
50 WINDING_CCW = 0, //!< Counter-clockwise winding
51 WINDING_CW, //!< Clockwise winding
78 : winding (WINDING_CCW)
85 Winding winding; member in struct:rr::RasterizationState
rrRasterizer.cpp 451 , m_winding (state.winding)
    [all...]
  /external/skia/src/gpu/
GrTessellator.cpp 329 Edge(Vertex* top, Vertex* bottom, int winding, Type type)
330 : fWinding(winding)
454 Poly(Vertex* v, int winding)
456 , fWinding(winding)
614 Poly* new_poly(Poly** head, Vertex* v, int winding, SkArenaAlloc& alloc) {
615 Poly* poly = alloc.make<Poly>(v, winding);
755 inline bool apply_fill_type(SkPath::FillType fillType, int winding) {
758 return winding != 0;
760 return (winding & 1) != 0;
762 return winding == 1
776 int winding = c.sweep_lt(prev->fPoint, next->fPoint) ? 1 : -1; local
1457 int winding = leftEdge->fLeftPoly ? leftEdge->fLeftPoly->fWinding : 0; local
1559 int winding = c.sweep_lt(prev->fPoint, next->fPoint) ? 1 : -1; local
    [all...]
  /external/skia/tests/
InsetConvexPolyTest.cpp 17 SkScalar winding = v0.cross(v1); local
26 if (winding*perpDot < 0) {
  /external/deqp/modules/gles31/functional/
es31fTessellationTests.cpp 428 enum Winding
462 static inline const char* getWindingShaderName (Winding winding)
464 switch (winding)
474 static inline string getTessellationEvaluationInLayoutString (TessPrimitiveType primType, SpacingMode spacing, Winding winding, bool usePointMode=false)
478 + ", " + getWindingShaderName(winding)
491 static inline string getTessellationEvaluationInLayoutString (TessPrimitiveType primType, Winding winding, bool usePointMode=false)
494 + ", " + getWindingShaderName(winding)
    [all...]
  /external/mesa3d/src/gallium/drivers/nouveau/codegen/
nv50_ir_driver.h 131 int8_t winding; /* +1 (clockwise) / -1 (counter-clockwise) */ member in struct:nv50_ir_prog_info::__anon27763::__anon27765
nv50_ir_from_tgsi.cpp     [all...]
  /frameworks/native/opengl/libagl/
array.cpp 651 GLint first, GLsizei count, int winding)
653 // winding == 2 : fan
654 // winding == 1 : strip
666 // because it allows us to preserve the same winding when the whole
687 swap(((winding^=1) ? v1 : v0), v2);
694 if ((winding&2) == 0) {
861 GLsizei count, const GLvoid *indices, int winding)
863 // winding == 2 : fan
864 // winding == 1 : strip
887 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...]
  /external/mesa3d/src/gallium/drivers/nouveau/nvc0/
nvc0_program.c 308 /* Winding only matters for triangles/quads, not lines. */
311 info->prop.tp.winding > 0)

Completed in 389 milliseconds