/external/skia/tests/ |
InsetConvexPolyTest.cpp | 17 SkScalar winding = v0.cross(v1); local 26 if (winding*perpDot < 0) {
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
vktTessellationPrimitiveDiscardTests.cpp | 57 Winding winding; member in struct:vkt::tessellation::__anon16777::CaseDefinition 325 << getWindingShaderName(caseDef.winding) 631 (Winding)windingNdx, 641 + "_" + getWindingShaderName(caseDef.winding)
|
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...] |
/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);
|
/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...] |
SkPathOpsOp.cpp | 36 int winding; local 38 const SkOpAngle* angle = AngleWinding(*startPtr, *endPtr, &winding, &sortable); 42 if (winding == SK_MinS32) {
|
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...] |
/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/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
|
/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
|
/frameworks/native/opengl/libagl/ |
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/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...] |