Home
last modified time | relevance | path

Searched refs:Xform (Results 1 – 6 of 6) sorted by relevance

/external/skia/experimental/xform/
DSkXform.h35 class Xform : public SkRefCnt {
39 Xform* parent() const { return fParent.get(); } in parent()
40 void setParent(sk_sp<Xform> p);
55 Xform(sk_sp<Xform> parent = nullptr) {
64 sk_sp<Xform> fParent;
67 SkTDArray<Xform*> fChildren;
78 void internalAddChild(Xform*);
79 void internalRemoveChild(Xform*);
90 class MatrixXF : public Xform {
92 static sk_sp<MatrixXF> Make(sk_sp<Xform> parent = nullptr) {
[all …]
DSkXform.cpp11 Xform::GenID Xform::NextGenID() { in NextGenID()
16 void Xform::debugValidate() const { in debugValidate()
27 void Xform::setParent(sk_sp<Xform> parent) { in setParent()
48 void Xform::internalAddChild(Xform* child) { in internalAddChild()
53 void Xform::internalRemoveChild(Xform* child) { in internalRemoveChild()
59 void Xform::invalidateCaches() { in invalidateCaches()
69 void Xform::visit(XformResolver* resolver) { in visit()
73 void Xform::setCache(const SkMatrix& ctm, sk_sp<ClipCache> clip) { in setCache()
DSkShape.h20 void push(Xform* parentXform) { this->onPush(parentXform); } in push()
23 void drawRect(const SkRect&, const SkPaint&, Xform* localXform);
28 virtual void onPush(Xform*) = 0;
31 virtual void onDrawRect(const SkRect&, const SkPaint&, Xform*) = 0;
35 sk_sp<Xform> fXform;
38 Shape(sk_sp<Xform> x = nullptr) : fXform(std::move(x)) {} in fXform()
40 Xform* xform() const { return fXform.get(); } in xform()
41 void setXform(sk_sp<Xform> x) { in setXform()
52 GeoShape(sk_sp<Xform> x, const SkRect& r, SkColor c) : Shape(std::move(x)), fRect(r) { in GeoShape()
57 static sk_sp<Shape> Make(sk_sp<Xform> x, const SkRect& r, SkColor c) { in Make()
[all …]
DXContext.cpp33 RasterXformResolver(Xform* parent) { in RasterXformResolver()
74 void XContext::drawRect(const SkRect& r, const SkPaint& p, Xform* x) { in drawRect()
87 static int count_nodes(const Xform* x) { in count_nodes()
95 void onPush(Xform* x) override { in onPush()
101 Xform** ptr = fStack.append(n) + n; in onPush()
102 Xform* xx = x; in onPush()
133 void onDrawRect(const SkRect& r, const SkPaint& p, Xform* x) override { in onDrawRect()
134 Xform* parent = this->parentOrNull(); in onDrawRect()
135 Xform::GenID parentID = parent ? parent->genID() : 0; in onDrawRect()
159 SkTDArray<Xform*> fStack;
[all …]
/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp3074 if (Record *Xform = OpNode->getTransformFn()) { in parseInstructionPattern() local
3078 OpNode = new TreePatternNode(Xform, Children, OpNode->getNumTypes()); in parseInstructionPattern()
3527 if (Record *Xform = OpNode->getTransformFn()) { in ParsePatterns() local
3531 OpNode = new TreePatternNode(Xform, Children, OpNode->getNumTypes()); in ParsePatterns()
/external/llvm-project/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp3779 if (Record *Xform = OpNode->getTransformFn()) { in parseInstructionPattern() local
3783 OpNode = std::make_shared<TreePatternNode>(Xform, std::move(Children), in parseInstructionPattern()
4127 if (Record *Xform = N->getTransformFn()) { in PromoteXForms() local
4131 return std::make_shared<TreePatternNode>(Xform, std::move(Children), in PromoteXForms()