/third_party/flutter/skia/src/core/ |
D | SkClipStackDevice.cpp | 13 SkIRect r = fClipStack.bounds(this->imageInfo().bounds()).roundOut(); in devClipBounds() 23 fClipStack.save(); in onSave() 27 fClipStack.restore(); in onRestore() 31 fClipStack.clipRect(rect, this->ctm(), op, aa); in onClipRect() 35 fClipStack.clipRRect(rrect, this->ctm(), op, aa); in onClipRRect() 39 fClipStack.clipPath(path, this->ctm(), op, aa); in onClipPath() 51 fClipStack.clipDevRect(ptr->getBounds(), op); in onClipRegion() 56 fClipStack.setDeviceClipRestriction(*clipRestriction); in onSetDeviceClipRestriction() 60 fClipStack.setDeviceClipRestriction(rect); in onSetDeviceClipRestriction() 61 fClipStack.clipDevRect(rect, SkClipOp::kIntersect); in onSetDeviceClipRestriction() [all …]
|
D | SkClipStackDevice.h | 18 , fClipStack(fStorage, sizeof(fStorage)) in SkClipStackDevice() 21 SkClipStack& cs() { return fClipStack; } in cs() 22 const SkClipStack& cs() const { return fClipStack; } in cs() 43 SkClipStack fClipStack; variable
|
/third_party/skia/src/core/ |
D | SkClipStackDevice.cpp | 13 SkIRect r = fClipStack.bounds(this->imageInfo().bounds()).roundOut(); in onDevClipBounds() 23 fClipStack.save(); in onSave() 27 fClipStack.restore(); in onRestore() 31 fClipStack.clipRect(rect, this->localToDevice(), op, aa); in onClipRect() 35 fClipStack.clipRRect(rrect, this->localToDevice(), op, aa); in onClipRRect() 39 fClipStack.clipPath(path, this->localToDevice(), op, aa); in onClipPath() 43 fClipStack.clipShader(std::move(shader)); in onClipShader() 52 fClipStack.clipPath(path, SkMatrix::I(), op, false); in onClipRegion() 57 fClipStack.replaceClip(deviceRect, /*doAA=*/false); in onReplaceClip() 61 SkClipStack::B2TIter iter(fClipStack); in onClipIsAA() [all …]
|
D | SkClipStackDevice.h | 18 , fClipStack(fStorage, sizeof(fStorage)) in SkClipStackDevice() 21 SkClipStack& cs() { return fClipStack; } in cs() 22 const SkClipStack& cs() const { return fClipStack; } in cs() 44 SkClipStack fClipStack; variable
|
D | SkDevice.cpp | 500 SkASSERT(!fClipStack.empty()); in onSave() 501 fClipStack.back().fDeferredSaveCount++; in onSave() 505 SkASSERT(!fClipStack.empty()); in onRestore() 506 if (fClipStack.back().fDeferredSaveCount > 0) { in onRestore() 507 fClipStack.back().fDeferredSaveCount--; in onRestore() 509 fClipStack.pop_back(); in onRestore() 510 SkASSERT(!fClipStack.empty()); in onRestore() 515 SkASSERT(!fClipStack.empty()); in writableClip() 516 ClipState& current = fClipStack.back(); in writableClip() 523 return fClipStack.emplace_back(bounds, aa, rect); in writableClip()
|
D | SkDevice.h | 549 const ClipState& clip() const { return fClipStack.back(); } in clip() 553 fClipStack.reset(); in resetClipStack() 554 fClipStack.emplace_back(this->bounds(), /*isAA=*/false, /*isRect=*/true); in resetClipStack() 557 SkSTArray<4, ClipState> fClipStack; variable
|
/third_party/skia/src/svg/ |
D | SkSVGDevice.cpp | 241 const SkClipStack* fClipStack; member 243 MxCp(const SkMatrix* mx, const SkClipStack* cs) : fMatrix(mx), fClipStack(cs) {} in MxCp() 244 MxCp(SkSVGDevice* device) : fMatrix(&device->localToDevice()), fClipStack(&device->cs()) {} in MxCp() 263 svgdev->syncClipStack(*mc.fClipStack); in AutoElement() 713 while (!fClipStack.empty()) { in ~SkSVGDevice() 714 fClipStack.pop_back(); in ~SkSVGDevice() 731 while ((elem = iter.next()) && (rec_idx < fClipStack.size())) { in syncClipStack() 732 if (fClipStack[SkToInt(rec_idx)].fGenID != elem->getGenID()) { in syncClipStack() 739 while (fClipStack.size() > rec_idx) { in syncClipStack() 740 fClipStack.pop_back(); in syncClipStack() [all …]
|
D | SkSVGDevice.h | 65 SkTArray<ClipRec> fClipStack; variable
|
/third_party/flutter/skia/src/svg/ |
D | SkSVGDevice.cpp | 208 const SkClipStack* fClipStack; member 210 MxCp(const SkMatrix* mx, const SkClipStack* cs) : fMatrix(mx), fClipStack(cs) {} in MxCp() 211 MxCp(SkSVGDevice* device) : fMatrix(&device->ctm()), fClipStack(&device->cs()) {} in MxCp() 351 bool hasClip = !mc.fClipStack->isWideOpen(); in addResources() 535 SkASSERT(!mc.fClipStack->isWideOpen()); in addClipResources() 538 (void) mc.fClipStack->asPath(&clipPath); in addClipResources()
|
/third_party/flutter/skia/src/pdf/ |
D | SkPDFDevice.cpp | 214 , fClipStack(clipStack) in ScopedContentEntry() 233 fDevice->finishContentEntry(fClipStack, fBlendMode, fDstFormXObject, shape); in ~ScopedContentEntry() 280 const SkClipStack* fClipStack; member in ScopedContentEntry
|
/third_party/skia/src/pdf/ |
D | SkPDFDevice.cpp | 237 , fClipStack(clipStack) in ScopedContentEntry() 256 fDevice->finishContentEntry(fClipStack, fBlendMode, fDstFormXObject, shape); in ~ScopedContentEntry() 303 const SkClipStack* fClipStack; member in ScopedContentEntry
|