Home
last modified time | relevance | path

Searched refs:kPath (Results 1 - 25 of 31) sorted by relevance

12

/third_party/skia/experimental/graphite/src/geom/
H A DShape.h30 kEmpty, kLine, kRect, kRRect, kPath
32 inline static constexpr int kTypeCount = static_cast<int>(Type::kPath) + 1;
62 bool isPath() const { return fType == Type::kPath; } in isPath()
65 SkASSERT(fType != Type::kPath || fInverted == fPath.isInverseFillType()); in inverted()
70 if (fType == Type::kPath && inverted != fPath.isInverseFillType()) { in setInverted()
77 if (fType == Type::kPath) { in fillType()
139 if (fType == Type::kPath) { in setPath()
144 this->setType(Type::kPath); in setPath()
157 if (this->isPath() && type != Type::kPath) { in setType()
H A DShape.cpp22 case Type::kPath: this->setPath(shape.path()); break; in operator =()
35 case Type::kPath: return fPath.conservativelyContainsRect(rect.asSkRect()); in conservativeContains()
46 case Type::kPath: return fPath.contains(point.x(), point.y()); in conservativeContains()
57 case Type::kPath: return SkPathPriv::IsClosedSingleContour(fPath); in closed()
78 case Type::kPath: return fPath.getBounds(); in bounds()
84 if (fType == Type::kPath) { in asPath()
95 case Type::kPath: SkUNREACHABLE; in asPath()
/third_party/ninja/src/
H A Dcanon_perftest.cc23 const char kPath[] = variable
31 size_t len = strlen(kPath); in main()
32 strcpy(buf, kPath); in main()
/third_party/skia/src/gpu/geometry/
H A DGrShape.cpp27 case Type::kPath: in operator =()
265 case Type::kPath: in simplify()
294 case Type::kPath: in conservativeContains()
319 case Type::kPath: in conservativeContains()
331 case Type::kPath: in closed()
349 case Type::kPath: in convex()
375 case Type::kPath: in bounds()
402 case Type::kPath: in segmentMask()
445 case Type::kPath: in asPath()
H A DGrShape.h53 kEmpty, kPoint, kRect, kRRect, kPath, kArc, kLine member in GrShape::Type
87 bool isPath() const { return this->type() == Type::kPath; } in isPath()
180 this->setType(Type::kPath); in setPath()
236 if (this->isPath() && type != Type::kPath) { in setType()
H A DGrStyledShape.cpp160 case GrShape::Type::kPath: { in unstyledKeySize()
197 case GrShape::Type::kPath: { in writeUnstyledKey()
/third_party/skia/src/core/
H A DSkClipStack.cpp34 case DeviceSpaceType::kPath: in Element()
76 case DeviceSpaceType::kPath: in operator ==()
97 case DeviceSpaceType::kPath: in getBounds()
118 case DeviceSpaceType::kPath: in contains()
136 case DeviceSpaceType::kPath: in contains()
153 fDeviceSpaceType = DeviceSpaceType::kPath; in invertShapeFillType()
159 fDeviceSpaceType = DeviceSpaceType::kPath; in invertShapeFillType()
161 case DeviceSpaceType::kPath: in invertShapeFillType()
243 fDeviceSpaceType = DeviceSpaceType::kPath; in initAsPath()
274 case DeviceSpaceType::kPath in asDeviceSpacePath()
[all...]
H A DSkClipStack.h61 kPath, member in SkClipStack::Element::DeviceSpaceType
107 //!< Call if getDeviceSpaceType() is kPath to get the path.
109 SkASSERT(DeviceSpaceType::kPath == fDeviceSpaceType); in getDeviceSpacePath()
143 //!< Call if getType() is not kPath to get the element as a round rect.
145 SkASSERT(DeviceSpaceType::kPath != fDeviceSpaceType); in asDeviceSpaceRRect()
180 return DeviceSpaceType::kPath == fDeviceSpaceType && in isInverseFilled()
H A DSkGlyphBuffer.h101 SkDEBUGCODE(fTag = kPath); in operator =()
110 SkASSERT(fTag == kPath); in path()
134 kPath enumerator
H A DSkGlyphRunPainter.cpp278 if (drawingType != GrSDFTControl::kPath && !fRejects.source().empty()) { in processGlyphRun()
/third_party/skia/src/gpu/gl/iOS/
H A DGrGLMakeNativeInterface_iOS.cpp19 static const char kPath[] = in GrGLMakeNativeInterface() local
21 std::unique_ptr<void, SkFunctionWrapper<int(void*), dlclose>> lib(dlopen(kPath, RTLD_LAZY)); in GrGLMakeNativeInterface()
/third_party/skia/src/gpu/gl/mac/
H A DGrGLMakeNativeInterface_mac.cpp19 static const char kPath[] = in GrGLMakeNativeInterface() local
21 std::unique_ptr<void, SkFunctionWrapper<int(void*), dlclose>> lib(dlopen(kPath, RTLD_LAZY)); in GrGLMakeNativeInterface()
/third_party/skia/src/gpu/text/
H A DGrSDFTControl.cpp54 return kPath;
63 return scaledTextSize < kAboveIsPath ? kDirect : kPath;
75 return kPath;
H A DGrSDFTControl.h24 kPath = 4
/third_party/skia/bench/
H A DPathOpsBench.cpp141 kPath, member in MakeType
183 case MakeType::kPath: { in build()
215 DEF_BENCH( return new PathBuilderBench(MakeType::kPath, false); )
218 DEF_BENCH( return new PathBuilderBench(MakeType::kPath, true); )
/third_party/skia/modules/svg/src/
H A DSkSVGPath.cpp15 SkSVGPath::SkSVGPath() : INHERITED(SkSVGTag::kPath) { } in SkSVGPath()
/third_party/skia/gm/
H A Dwindowrectangles.cpp64 case SkClipStack::Element::DeviceSpaceType::kPath: in coverClipStack()
/third_party/gn/src/gn/
H A Dcommands.h91 extern const char kPath[];
H A Dcommand_path.cc270 const char kPath[] = "path"; member
/third_party/skia/modules/svg/include/
H A DSkSVGNode.h49 kPath, member in SkSVGTag
/third_party/skia/tests/
H A DClipStackTest.cpp251 int numBitTests = SkClipStack::Element::DeviceSpaceType::kPath == primType ? 4 : 1; in test_bounds()
277 case SkClipStack::Element::DeviceSpaceType::kPath: in test_bounds()
890 test_bounds(reporter, SkClipStack::Element::DeviceSpaceType::kPath); in DEF_TEST()
/third_party/skia/src/gpu/ops/
H A DDrawVerticesOp.cpp635 case GrPrimitiveType::kPath:
653 case GrPrimitiveType::kPath:
/third_party/skia/include/private/
H A DGrTypesPriv.h49 kPath
51 static constexpr int kNumGrPrimitiveTypes = (int)GrPrimitiveType::kPath + 1;
/third_party/skia/src/gpu/d3d/
H A DGrD3DOpsRenderPass.cpp132 case GrPrimitiveType::kPath: // Unsupported in set_primitive_topology()
H A DGrD3DPipelineStateBuilder.cpp491 case GrPrimitiveType::kPath: // fall through, unsupported in gr_primitive_type_to_d3d()

Completed in 17 milliseconds

12