Home
last modified time | relevance | path

Searched refs:fRoot (Results 1 – 25 of 57) sorted by relevance

123

/external/skqp/src/compute/sk/
DSkDevice_Compute.cpp765 SkASSERT(layerDevice->fRoot == this); // the layerDevice should belong to this root device in drawDevice()
801 skc_styling_group_alloc(fRoot->fStyling, &fRoot->fGroupID); in SkDevice_ComputeLayerGroup()
802 fRoot->fParents.push_back(fRoot->fGroupID); in SkDevice_ComputeLayerGroup()
803 fGroupID = fRoot->fGroupID; in SkDevice_ComputeLayerGroup()
810 skc_styling_group_enter(fRoot->fStyling, fRoot->fGroupID, SKC_STYLING_CMDS(styling_cmds_enter)); in SkDevice_ComputeLayerGroup()
812 skc_styling_group_parents(fRoot->fStyling, fRoot->fGroupID, fRoot->fParents.count(), in SkDevice_ComputeLayerGroup()
813 fRoot->fParents.begin()); in SkDevice_ComputeLayerGroup()
817 skc_styling_group_range_hi(fRoot->fStyling, fRoot->fGroupID, fRoot->fGroupLayerID); in SkDevice_ComputeLayerGroup()
823 skc_styling_group_leave(fRoot->fStyling, fRoot->fGroupID, SKC_STYLING_CMDS(styling_cmds_leave)); in SkDevice_ComputeLayerGroup()
828 fRoot->drawDevice(device, left, top, paint); // the root will properly close the group in drawDevice()
[all …]
DSkDevice_Compute.h167 fRoot->drawPaint(paint); in drawPaint()
173 fRoot->drawPoints(pm, s, pts, p); in drawPoints()
178 fRoot->drawRect(r, p); in drawRect()
183 fRoot->drawOval(r, p); in drawOval()
188 fRoot->drawRRect(rr, p); in drawRRect()
193 fRoot->drawPath(path, p, m, b); in drawPath()
198 fRoot->drawText(t, l, x, y, p); in drawText()
204 fRoot->drawPosText(t, l, p, s, o, paint); in drawPosText()
215 return fRoot->onClipIsAA(); in onClipIsAA()
218 return fRoot->onAsRgnClip(rgn); in onAsRgnClip()
[all …]
/external/skia/modules/sksg/src/
DSkSGScene.cpp35 : fRoot(std::move(root)) in Scene()
43 fRoot->revalidate(nullptr, SkMatrix::I()); in render()
44 fRoot->render(canvas); in render()
52 fRoot->revalidate(ic, SkMatrix::I()); in animate()
56 return fRoot->nodeAt(p); in nodeAt()
/external/libusb/libusb/os/
Dhaiku_pollfs.cpp48 WatchedEntry* fRoot; member in RosterLooper
248 fRoot(NULL), in RosterLooper()
268 fRoot = new(std::nothrow) WatchedEntry(fMessenger, &ref); in RosterLooper()
270 if (fRoot == NULL) in RosterLooper()
272 if (fRoot->InitCheck() == false) { in RosterLooper()
273 delete fRoot; in RosterLooper()
274 fRoot = NULL; in RosterLooper()
286 delete fRoot; in Stop()
311 fRoot->EntryCreated(&ref); in MessageReceived()
319 fRoot->EntryRemoved(node); in MessageReceived()
/external/skia/src/xml/
DSkDOM.cpp70 SkDOM::SkDOM() : fAlloc(kMinChunkSize), fRoot(nullptr) {} in SkDOM()
75 return fRoot; in getRootNode()
192 fRoot = nullptr; in SkDOMParser()
196 SkDOM::Node* getRoot() const { return fRoot; } in getRoot()
214 if (fRoot == nullptr) { in flushAttributes()
216 fRoot = node; in flushAttributes()
219 SkASSERT(fRoot && parent); in flushAttributes()
285 SkDOM::Node* fRoot; member in SkDOMParser
300 fRoot = nullptr; in build()
304 fRoot = parser.getRoot(); in build()
[all …]
/external/skqp/src/xml/
DSkDOM.cpp70 SkDOM::SkDOM() : fAlloc(kMinChunkSize), fRoot(nullptr) {} in SkDOM()
75 return fRoot; in getRootNode()
192 fRoot = nullptr; in SkDOMParser()
196 SkDOM::Node* getRoot() const { return fRoot; } in getRoot()
214 if (fRoot == nullptr) { in flushAttributes()
216 fRoot = node; in flushAttributes()
219 SkASSERT(fRoot && parent); in flushAttributes()
285 SkDOM::Node* fRoot; member in SkDOMParser
300 fRoot = nullptr; in build()
304 fRoot = parser.getRoot(); in build()
[all …]
/external/skia/gm/
Dxform.cpp20 sk_sp<MatrixXF> fRoot, fRA, fRB, fA, fB; member in XformGM
25 fRoot = MatrixXF::Make(); in XformGM()
27 fRA = MatrixXF::Make(fRoot); in XformGM()
28 fRB = MatrixXF::Make(fRoot); in XformGM()
44 g->append(GeoShape::Make(fRoot, {0, 0, 100, 60}, 0xFFCC8844)); in XformGM()
96 fRoot->setScale(scale, scale); in onAnimate()
/external/skia/src/sksl/
DSkSLASTFile.h17 : fRoot(ASTNode::ID::Invalid()) {} in ASTFile()
20 return fNodes[fRoot.fValue]; in root()
26 ASTNode::ID fRoot; member
/external/skqp/src/pdf/
DSkPDFTag.cpp110 fRoot = fArena.make<SkPDFTagNode>(); in init()
111 copy(*node, fRoot, &fArena, &fNodeMap); in init()
119 fRoot = nullptr; in reset()
123 if (!fRoot) { in getMarkIdForNodeId()
192 if (!fRoot) { in makeStructTreeRoot()
195 if (can_discard(fRoot)) { in makeStructTreeRoot()
204 structTreeRoot.insertRef("K", prepare_tag_tree_to_emit(ref, fRoot, doc)); in makeStructTreeRoot()
/external/skqp/src/core/
DSkRTree.cpp15 return fRoot.fBounds; in getRootBound()
45 fRoot.fSubtree = n; in insert()
46 fRoot.fBounds = branches[0].fBounds; in insert()
49 fRoot = this->bulkLoad(&branches); in insert()
166 if (fCount > 0 && SkRect::Intersects(fRoot.fBounds, query)) { in search()
167 this->search(fRoot.fSubtree, query, results); in search()
DSkRTree.h50 int getDepth() const { return fCount ? fRoot.fSubtree->fLevel + 1 : 0; } in getDepth()
91 Branch fRoot; variable
/external/skia/src/core/
DSkRTree.cpp37 fRoot.fSubtree = n; in insert()
38 fRoot.fBounds = branches[0].fBounds; in insert()
41 fRoot = this->bulkLoad(&branches); in insert()
149 if (fCount > 0 && SkRect::Intersects(fRoot.fBounds, query)) { in search()
150 this->search(fRoot.fSubtree, query, results); in search()
DSkRTree.h41 int getDepth() const { return fCount ? fRoot.fSubtree->fLevel + 1 : 0; } in getDepth()
78 Branch fRoot; variable
/external/skqp/tools/bookmaker/
DspellCheck.cpp67 fRoot = nullptr; in reset()
88 RootDefinition* fRoot; member in SpellCheck
131 fRoot = topicDef->asRoot(); in check()
132 if (string::npos == fRoot->fFileName.rfind(match)) { in check()
135 fOverride = string::npos != fRoot->fFileName.rfind("undocumented.bmh") in check()
136 || string::npos != fRoot->fFileName.rfind("markup.bmh") in check()
137 || string::npos != fRoot->fFileName.rfind("usingBookmaker.bmh"); in check()
289 fRoot = def->asRoot(); in check()
356 fRoot = fRoot->rootParent(); in check()
374 fRoot = def->asRoot(); in childCheck()
DselfCheck.cpp58 fRoot = topicDef->asRoot(); in check()
136 for (auto& rootChild : fRoot->fChildren) { in classOrStruct()
151 RootDefinition* fRoot; member in SelfChecker
DmdOut.h58 , fRoot(mdOut.fRoot) in DefinedState()
191 const RootDefinition* fRoot; member
243 fRoot = nullptr; in reset()
302 RootDefinition* fRoot; // used in generating populated tables; always struct or class variable
DmdOut.cpp263 : fRoot(root) in BraceState()
271 RootDefinition* fRoot; member
314 if (((fRoot && fRoot->isStructOrClass() && fRoot->fName == fPriorWord) || isOperator) in setLink()
491 if (fRoot) { in setLink()
492 string test = fRoot->fName + "::" + fWord; in setLink()
493 auto rootIter = fRoot->fLeaves.find(test); in setLink()
495 if (fRoot->fLeaves.end() != rootIter) { in setLink()
944 if (!fRoot) { in csParent()
947 Definition* csParent = fRoot->csParent(); in csParent()
949 const Definition* topic = fRoot; in csParent()
[all …]
/external/skqp/modules/sksg/src/
DSkSGScene.cpp39 : fRoot(std::move(root)) in Scene()
46 fRoot->revalidate(&ic, SkMatrix::I()); in render()
47 fRoot->render(canvas); in render()
/external/skqp/modules/skottie/src/
DSkottieAdapter.cpp108 , fRoot(sksg::Group::Make()) {} in RepeaterAdapter()
134 fRoot->clear(); in apply()
137 fRoot->addChild(sksg::TransformEffect::Make(fRepeaterNode, in apply()
266 : fRoot(std::move(root)) in TextAdapter()
374 fRoot->removeChild(fStrokeNode); in apply()
378 fRoot->removeChild(fFillNode); in apply()
380 fRoot->addChild(fFillNode); in apply()
384 fRoot->addChild(fStrokeNode); in apply()
DSkottieAdapter.h157 const sk_sp<sksg::Group>& root() const { return fRoot; } in root()
165 sk_sp<sksg::Group> fRoot; variable
231 const sk_sp<sksg::Group>& root() const { return fRoot; } in ADAPTER_PROPERTY()
237 sk_sp<sksg::Group> fRoot; variable
/external/skqp/tools/viewer/
DSlideDir.cpp132 fDir->fRoot->removeChild(fTarget->fSlideRoot); in startFocus()
133 fDir->fRoot->addChild(fShade); in startFocus()
134 fDir->fRoot->addChild(fTarget->fSlideRoot); in startFocus()
215 fDir->fRoot->removeChild(fShade); in onTick()
296 fRoot = sksg::Group::Make(); in load()
323 fRoot->addChild(slideRoot); in load()
327 fScene = sksg::Scene::Make(fRoot, std::move(sceneAnimators)); in load()
342 fRoot.reset(); in unload()
/external/skia/tools/viewer/
DSlideDir.cpp132 fDir->fRoot->removeChild(fTarget->fSlideRoot); in startFocus()
133 fDir->fRoot->addChild(fShade); in startFocus()
134 fDir->fRoot->addChild(fTarget->fSlideRoot); in startFocus()
215 fDir->fRoot->removeChild(fShade); in onTick()
296 fRoot = sksg::Group::Make(); in load()
323 fRoot->addChild(slideRoot); in load()
327 fScene = sksg::Scene::Make(fRoot, std::move(sceneAnimators)); in load()
342 fRoot.reset(); in unload()
/external/skia/src/pdf/
DSkPDFTag.cpp195 fRoot = fArena.make<SkPDFTagNode>(); in init()
196 Copy(*node, fRoot, &fArena, &fNodeMap); in init()
204 fRoot = nullptr; in reset()
208 if (!fRoot) { in getMarkIdForNodeId()
294 if (!fRoot) { in makeStructTreeRoot()
297 if (can_discard(fRoot)) { in makeStructTreeRoot()
306 structTreeRoot.insertRef("K", prepare_tag_tree_to_emit(ref, fRoot, doc)); in makeStructTreeRoot()
/external/skia/experimental/svg/model/
DSkSVGDOM.cpp465 dom->fRoot = construct_svg_node(xmlDom, ctx, xmlDom.getRootNode()); in MakeFromDOM()
483 if (fRoot) { in render()
486 fRoot->render(SkSVGRenderContext(canvas, fIDMapper, lctx, pctx)); in render()
491 if (!fRoot || fRoot->tag() != SkSVGTag::kSvg) { in intrinsicSize()
497 return static_cast<const SkSVGSVG*>(fRoot.get())->intrinsicSize(lctx); in intrinsicSize()
510 fRoot = std::move(root); in setRoot()
/external/skqp/experimental/svg/model/
DSkSVGDOM.cpp465 dom->fRoot = construct_svg_node(xmlDom, ctx, xmlDom.getRootNode()); in MakeFromDOM()
483 if (fRoot) { in render()
486 fRoot->render(SkSVGRenderContext(canvas, fIDMapper, lctx, pctx)); in render()
491 if (!fRoot || fRoot->tag() != SkSVGTag::kSvg) { in intrinsicSize()
497 return static_cast<const SkSVGSVG*>(fRoot.get())->intrinsicSize(lctx); in intrinsicSize()
510 fRoot = std::move(root); in setRoot()

123