/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 | 403 // if all angles have a computed winding, 405 // or if adjacent orderable angles have no computed winding, 408 // and one has winding computed, transfer to the other 577 // iterate through the angle, and compute everyone's winding 673 // iterate through the angle, and compute everyone's winding 761 // iterate through the angle, and compute everyone's winding 859 bool SkOpSegment::markAndChaseWinding(SkOpSpanBase* start, SkOpSpanBase* end, int winding, 863 bool success = markWinding(spanStart, winding); 868 // SkASSERT(spanStart->windSum() == winding); // FIXME: is this assert too aggressive? 872 (void) other->markWinding(spanStart, winding); 1677 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) {
|
/external/skqp/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 | 403 // if all angles have a computed winding, 405 // or if adjacent orderable angles have no computed winding, 408 // and one has winding computed, transfer to the other 577 // iterate through the angle, and compute everyone's winding 673 // iterate through the angle, and compute everyone's winding 761 // iterate through the angle, and compute everyone's winding 859 bool SkOpSegment::markAndChaseWinding(SkOpSpanBase* start, SkOpSpanBase* end, int winding, 863 bool success = markWinding(spanStart, winding); 868 // SkASSERT(spanStart->windSum() == winding); // FIXME: is this assert too aggressive? 872 (void) other->markWinding(spanStart, winding); 1677 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) {
|
/external/skia/src/utils/ |
SkInsetConvexPolygon.cpp | 148 SkScalar winding = v0.cross(v1); local 157 if (winding*perpDot < 0) { 167 // we should only be making left-hand turns (for cw polygons, we use the winding 184 int winding = get_winding(inputPolygonVerts, inputPolygonSize); local 185 if (0 == winding) { 203 inputPolygonVerts[k])*winding < 0) { 208 winding, 252 int side = winding*compute_side(edgeData[currIndex].fInset.fP0, 255 if (side < 0 && side == winding*compute_side(edgeData[currIndex].fInset.fP0,
|
/external/skqp/src/utils/ |
SkInsetConvexPolygon.cpp | 148 SkScalar winding = v0.cross(v1); local 157 if (winding*perpDot < 0) { 167 // we should only be making left-hand turns (for cw polygons, we use the winding 184 int winding = get_winding(inputPolygonVerts, inputPolygonSize); local 185 if (0 == winding) { 203 inputPolygonVerts[k])*winding < 0) { 208 winding, 252 int side = winding*compute_side(edgeData[currIndex].fInset.fP0, 255 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 ShaderLanguage shaderLanguage, const Winding winding, bool yFlip) 56 str << getShaderLanguageName(shaderLanguage) << "_" << 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::__anon17975::InvariantOuterEdge::CaseDefinition 739 const Winding winding = static_cast<Winding>(windingNdx); local [all...] |
vktTessellationUtil.hpp | 183 enum Winding 277 static inline const char* getOutputTopologyName (const TessPrimitiveType type, const Winding winding, const bool usePointMode) 282 return (winding == WINDING_CCW ? "triangle_ccw" : "triangle_cw"); 316 static inline const char* getWindingShaderName (const Winding winding) 318 switch (winding) 323 DE_FATAL("Unexpected winding type.");
|
/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);
|
SkEdge.h | 106 int winding = 1; 111 winding = -1; 130 fWinding = SkToS8(winding);
|
SkAnalyticEdge.h | 155 int winding = 1; local 160 winding = -1; 182 fWinding = SkToS8(winding);
|
/external/skqp/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);
|
SkEdge.h | 106 int winding = 1; 111 winding = -1; 130 fWinding = SkToS8(winding);
|
SkAnalyticEdge.h | 155 int winding = 1; local 160 winding = -1; 182 fWinding = SkToS8(winding);
|
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/ |
esextcTessellationShaderWinding.cpp | 21 * \brief Test winding order with tessellation shaders 45 std::string winding); 61 std::string primitiveType, std::string winding) 65 DE_ASSERT((winding.compare("cw") == 0) || (winding.compare("ccw") == 0)); 68 m_specializationMap["WINDING"] = winding; 102 "layout (${PRIMITIVE_TYPE}, ${WINDING}) in;\n" 183 const bool testWindingIsCW = (m_specializationMap["WINDING"].compare("cw") == 0); 300 : TestCaseGroupBase(context, extParams, "winding", "Verifies winding order with tessellation shaders" [all...] |
/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/skia/tests/ |
InsetConvexPolyTest.cpp | 17 SkScalar winding = v0.cross(v1); local 26 if (winding*perpDot < 0) {
|
/external/skqp/tests/ |
InsetConvexPolyTest.cpp | 17 SkScalar winding = v0.cross(v1); local 26 if (winding*perpDot < 0) {
|
/external/deqp/modules/gles31/functional/ |
es31fTessellationTests.cpp | 430 enum Winding 464 static inline const char* getWindingShaderName (Winding winding) 466 switch (winding) 476 static inline string getTessellationEvaluationInLayoutString (TessPrimitiveType primType, SpacingMode spacing, Winding winding, bool usePointMode=false) 480 + ", " + getWindingShaderName(winding) 493 static inline string getTessellationEvaluationInLayoutString (TessPrimitiveType primType, Winding winding, bool usePointMode=false) 496 + ", " + 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::__anon29619::__anon29621
|