/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationWindingTests.cpp | 51 std::string getCaseName (const TessPrimitiveType primitiveType, const Winding winding) argument 54 str << getTessPrimitiveTypeShaderName(primitiveType) << "_" << getWindingShaderName(winding); 58 inline VkFrontFace mapFrontFace (const Winding winding) argument 60 switch (winding) 74 const Winding winding, 105 if (frontFaceWinding == winding) 143 const Winding winding); 155 const Winding winding) 156 : TestCase (testCtx, getCaseName(primitiveType, winding), "") 158 , m_winding (winding) 71 verifyResultImage(tcu::TestLog& log, const tcu::ConstPixelBufferAccess image, const TessPrimitiveType primitiveType, const Winding winding, const Winding frontFaceWinding) argument 153 WindingTest(tcu::TestContext& testCtx, const TessPrimitiveType primitiveType, const Winding winding) argument 245 WindingTestInstance(Context& context, const TessPrimitiveType primitiveType, const Winding winding) argument [all...] |
H A D | vktTessellationInvarianceTests.cpp | 70 inline WindingUsage getWindingUsage (const Winding winding) argument 72 const WindingUsage usage = winding == WINDING_CCW ? WINDING_USAGE_CCW : 73 winding == WINDING_CW ? WINDING_USAGE_CW : WINDING_USAGE_LAST; 154 inline std::string getProgramName (const std::string& baseName, const Winding winding, const bool usePointMode) argument 157 str << baseName << "_" << getWindingShaderName(winding) << (usePointMode ? "_point_mode" : ""); 168 inline std::string getProgramDescription (const Winding winding, const bool usePointMode) argument 171 str << "winding mode " << getWindingShaderName(winding) << ", " << (usePointMode ? "" : "don't ") << "use point mode"; 230 //! Creates multiple shader programs for combinations of winding and point mode. 470 Winding winding; member in struct:vkt::tessellation::__anon3978::InvariantOuterEdge::CaseDefinition 623 draw(const deUint32 vertexCount, const std::vector<float>& patchTessLevels, const Winding winding, const bool usePointMode) argument 739 const Winding winding = static_cast<Winding>(windingNdx); local [all...] |
H A D | vktTessellationPrimitiveDiscardTests.cpp | 57 Winding winding; member in struct:vkt::tessellation::__anon3982::CaseDefinition 325 << getWindingShaderName(caseDef.winding) 641 + "_" + getWindingShaderName(caseDef.winding)
|
H A D | vktTessellationUtil.hpp | 263 static inline const char* getWindingShaderName (const Winding winding) argument 265 switch (winding)
|
/external/skia/src/pathops/ |
H A D | 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 t 125 int winding; local [all...] |
H A D | SkOpSegment.cpp | 404 // if all angles have a computed winding, 406 // or if adjacent orderable angles have no computed winding, 409 // and one has winding computed, transfer to the other 578 // iterate through the angle, and compute everyone's winding 674 // iterate through the angle, and compute everyone's winding 762 // iterate through the angle, and compute everyone's winding 860 bool SkOpSegment::markAndChaseWinding(SkOpSpanBase* start, SkOpSpanBase* end, int winding, argument 864 bool success = markWinding(spanStart, winding); 869 // SkASSERT(spanStart->windSum() == winding); // FIXME: is this assert too aggressive? 873 (void) other->markWinding(spanStart, winding); 881 markAndChaseWinding(SkOpSpanBase* start, SkOpSpanBase* end, int winding, int oppWinding, SkOpSpanBase** lastPtr) argument 974 markWinding(SkOpSpan* span, int winding) argument 988 markWinding(SkOpSpan* span, int winding, int oppWinding) argument 1674 int winding = lesser->windSum(); local [all...] |
H A D | SkOpSegment.h | 165 void debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding); 166 void debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding, int oppWinding); 282 bool markAndChaseWinding(SkOpSpanBase* start, SkOpSpanBase* end, int winding, 284 bool markAndChaseWinding(SkOpSpanBase* start, SkOpSpanBase* end, int winding, 290 bool markWinding(SkOpSpan* , int winding); 291 bool markWinding(SkOpSpan* , int winding, int oppWinding);
|
H A D | SkPathOpsOp.cpp | 36 int winding; local 38 const SkOpAngle* angle = AngleWinding(*startPtr, *endPtr, &winding, &sortable); 42 if (winding == SK_MinS32) {
|
H A D | SkPathOpsDebug.h | 316 static bool ValidWind(int winding); 317 static void WindingPrintf(int winding);
|
H A D | SkPathOpsDebug.cpp | 1189 void SkOpSegment::debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding) { argument 1198 if (winding == SK_MinS32) { 1201 SkDebugf("%d", winding); 1212 void SkOpSegment::debugShowNewWinding(const char* fun, const SkOpSpan* span, int winding, argument 1221 span->t(), span->debugID(), pt.fX, pt.fY, span->next()->t(), winding, oppWinding); 1222 if (winding == SK_MinS32) { 1225 SkDebugf("%d", winding);
|
/external/skia/src/utils/ |
H A D | SkInsetConvexPolygon.cpp | 148 SkScalar winding = v0.cross(v1); local 157 int side = winding*perpDot; 169 // we should only be making left-hand turns (for cw polygons, we use the winding 186 int winding = get_winding(inputPolygonVerts, inputPolygonSize); local 187 if (0 == winding) { 204 winding, 247 int side = winding*compute_side(edgeData[currIndex].fInset.fP0, 250 if (side < 0 && side == winding*compute_side(edgeData[currIndex].fInset.fP0,
|
/external/skia/src/core/ |
H A D | 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);
|
H A D | SkAnalyticEdge.h | 145 int winding = 1; 150 winding = -1; 172 fWinding = SkToS8(winding);
|
H A D | SkEdge.h | 106 int winding = 1; 111 winding = -1; 130 fWinding = SkToS8(winding);
|
/external/deqp/framework/referencerenderer/ |
H A D | rrRenderState.hpp | 50 WINDING_CCW = 0, //!< Counter-clockwise winding 51 WINDING_CW, //!< Clockwise winding 69 : winding (WINDING_CCW) 75 Winding winding; member in struct:rr::RasterizationState
|
H A D | rrRasterizer.cpp | 451 , m_winding (state.winding)
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
H A D | nv50_ir_driver.h | 142 int8_t winding; /* +1 (clockwise) / -1 (counter-clockwise) */ member in struct:nv50_ir_prog_info::__anon14572::__anon14574
|
H A D | nv50_ir_from_sm4.cpp | 1018 info.prop.tp.winding = +1; 1022 info.prop.tp.winding = -1;
|
/external/skia/src/gpu/ |
H A D | GrTessellator.cpp | 330 Edge(Vertex* top, Vertex* bottom, int winding, Type type) argument 331 : fWinding(winding) 455 Poly(Vertex* v, int winding) argument 457 , fWinding(winding) 615 Poly* new_poly(Poly** head, Vertex* v, int winding, SkArenaAlloc& alloc) { argument 616 Poly* poly = alloc.make<Poly>(v, winding); 750 inline bool apply_fill_type(SkPath::FillType fillType, int winding) { argument 753 return winding != 0; 755 return (winding & 1) != 0; 757 return winding 771 int winding = c.sweep_lt(prev->fPoint, next->fPoint) ? 1 : -1; local 1438 int winding = leftEdge->fLeftPoly ? leftEdge->fLeftPoly->fWinding : 0; local 1540 int winding = c.sweep_lt(prev->fPoint, next->fPoint) ? 1 : -1; local [all...] |
/external/skia/tests/ |
H A D | InsetConvexPolyTest.cpp | 17 SkScalar winding = v0.cross(v1); local 26 int side = winding*perpDot;
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fTessellationTests.cpp | 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) 2676 WindingCase (Context& context, const char* name, const char* description, TessPrimitiveType primitiveType, Winding winding) 2679 , m_winding (winding) 3520 Winding winding; 3523 Program (Winding w, const SharedPtr<const ShaderProgram>& prog) : winding( [all...] |
/external/mesa3d/src/gallium/drivers/nvc0/ |
H A D | nvc0_program.c | 314 if (info->prop.tp.winding > 0)
|