Home
last modified time | relevance | path

Searched refs:SkClipStack (Results 1 – 21 of 21) sorted by relevance

/external/skia/src/core/
DSkClipStack.cpp20 int32_t SkClipStack::gGenID = kFirstUnreservedGenID;
22 SkClipStack::Element::Element(const Element& that) { in Element()
48 bool SkClipStack::Element::operator== (const Element& element) const { in operator ==()
73 void SkClipStack::Element::invertShapeFillType() { in invertShapeFillType()
96 void SkClipStack::Element::initPath(int saveCount, const SkPath& path, SkClipOp op, in initPath()
118 void SkClipStack::Element::asPath(SkPath* path) const { in asPath()
141 void SkClipStack::Element::setEmpty() { in setEmpty()
152 void SkClipStack::Element::checkEmpty() const { in checkEmpty()
161 bool SkClipStack::Element::canBeIntersectedInPlace(int saveCount, SkClipOp op) const { in canBeIntersectedInPlace()
173 bool SkClipStack::Element::rectRectIntersectAllowed(const SkRect& newR, bool newAA) const { in rectRectIntersectAllowed()
[all …]
DSkClipStack.h31 class SkClipStack {
218 friend class SkClipStack;
237 SkClipStack::BoundsType fFiniteBoundType;
323 SkClipStack();
324 SkClipStack(void* storage, size_t size);
325 SkClipStack(const SkClipStack& b);
326 ~SkClipStack();
328 SkClipStack& operator=(const SkClipStack& b);
329 bool operator==(const SkClipStack& b) const;
330 bool operator!=(const SkClipStack& b) const { return !(*this == b); }
[all …]
DSkClipStackDevice.cpp66 SkClipStack::B2TIter iter(fClipStack); in onClipIsAA()
67 const SkClipStack::Element* element; in onClipIsAA()
78 SkClipStack::BoundsType boundType; in onAsRgnClip()
82 if (isIntersectionOfRects && SkClipStack::kNormal_BoundsType == boundType) { in onAsRgnClip()
98 SkClipStack::BoundsType boundType; in onGetClipType()
102 if (isIntersectionOfRects && SkClipStack::kNormal_BoundsType == boundType) { in onGetClipType()
DSkClipStackDevice.h21 SkClipStack& cs() { return fClipStack; } in cs()
22 const SkClipStack& cs() const { return fClipStack; } in cs()
42 intptr_t fStorage[kPreallocCount * sizeof(SkClipStack::Element) / sizeof(intptr_t)];
43 SkClipStack fClipStack;
DSkDraw.h21 class SkClipStack; variable
/external/skia/tests/
DClipStackTest.cpp27 SkClipStack s; in test_assign_and_comparison()
58 SkClipStack copy = s; in test_assign_and_comparison()
124 static void assert_count(skiatest::Reporter* reporter, const SkClipStack& stack, in assert_count()
126 SkClipStack::B2TIter iter(stack); in assert_count()
137 SkClipStack stack; in test_iterators()
155 const SkClipStack::Element* element = nullptr; in test_iterators()
157 SkClipStack::B2TIter iter(stack); in test_iterators()
161 REPORTER_ASSERT(reporter, SkClipStack::Element::kRect_Type == element->getType()); in test_iterators()
170 const SkClipStack::Element* element = nullptr; in test_iterators()
172 SkClipStack::Iter iter(stack, SkClipStack::Iter::kTop_IterStart); in test_iterators()
[all …]
DClipBoundsTest.cpp28 SkClipStack stack; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/gm/
Dwindowrectangles.cpp32 virtual void onCoverClipStack(const SkClipStack&, SkCanvas*) = 0;
42 SkClipStack stack; in onDraw()
70 void onCoverClipStack(const SkClipStack&, SkCanvas*) final;
73 void WindowRectanglesGM::onCoverClipStack(const SkClipStack& stack, SkCanvas* canvas) { in onCoverClipStack()
78 SkClipStack::Iter iter(stack, SkClipStack::Iter::kBottom_IterStart); in onCoverClipStack()
79 for (const SkClipStack::Element* element = iter.next(); element; element = iter.next()) { in onCoverClipStack()
83 case SkClipStack::Element::kPath_Type: in onCoverClipStack()
86 case SkClipStack::Element::kRRect_Type: in onCoverClipStack()
89 case SkClipStack::Element::kRect_Type: in onCoverClipStack()
92 case SkClipStack::Element::kEmpty_Type: in onCoverClipStack()
[all …]
/external/skia/src/gpu/
DGrClipStackClip.h23 GrClipStackClip(const SkClipStack* stack = nullptr) { this->reset(stack); }
25 void reset(const SkClipStack* stack) { fStack = stack; } in reset()
44 const SkClipStack::Element* element,
60 const SkClipStack* fStack;
DGrReducedClip.cpp24 typedef SkClipStack::Element Element;
33 GrReducedClip::GrReducedClip(const SkClipStack& stack, const SkRect& queryBounds, in GrReducedClip()
43 SkClipStack::BoundsType stackBoundsType; in GrReducedClip()
49 bool insideOut = SkClipStack::kInsideOut_BoundsType == stackBoundsType; in GrReducedClip()
57 SkASSERT(SkClipStack::kNormal_BoundsType == stackBoundsType); in GrReducedClip()
58 SkClipStack::Iter iter(stack, SkClipStack::Iter::kTop_IterStart); in GrReducedClip()
91 if (SkClipStack::kNormal_BoundsType == stackBoundsType) { in GrReducedClip()
113 void GrReducedClip::walkStack(const SkClipStack& stack, const SkRect& queryBounds, in walkStack()
136 SkClipStack::Iter iter(stack, SkClipStack::Iter::kTop_IterStart); in walkStack()
144 if (SkClipStack::kEmptyGenID == element->getGenID()) { in walkStack()
[all …]
DGrReducedClip.h24 GrReducedClip(const SkClipStack&, const SkRect& queryBounds, int maxWindowRectangles = 0);
48 typedef SkTLList<SkClipStack::Element, 16> ElementList;
77 void walkStack(const SkClipStack&, const SkRect& queryBounds, int maxWindowRectangles);
DGrAppliedClip.h30 bool hasStencilClip() const { return SkClipStack::kInvalidGenID != fClipStackID; } in hasStencilClip()
57 SkASSERT(SkClipStack::kInvalidGenID == fClipStackID); in addStencilClip()
86 uint32_t fClipStackID = SkClipStack::kInvalidGenID;
DGrClipStackClip.cpp26 typedef SkClipStack::Element Element;
217 case SkClipStack::Element::kPath_Type: in get_analytic_clip_processor()
220 case SkClipStack::Element::kRRect_Type: { in get_analytic_clip_processor()
224 case SkClipStack::Element::kRect_Type: { in get_analytic_clip_processor()
377 static void add_invalidate_on_pop_message(const SkClipStack& stack, uint32_t clipGenID, in add_invalidate_on_pop_message()
379 SkClipStack::Iter iter(stack, SkClipStack::Iter::kTop_IterStart); in add_invalidate_on_pop_message()
/external/skia/src/pdf/
DSkPDFDevice.h148 SkClipStack fClipStack;
188 SkClipStack fExistingClipStack;
217 const SkClipStack& clipStack,
225 ContentEntry* setUpContentEntry(const SkClipStack& clipStack,
234 const SkClipStack& clipStack,
256 void internalDrawPath(const SkClipStack&,
263 void internalDrawPathWithFilter(const SkClipStack& clipStack,
DSkPDFDevice.cpp207 GraphicStackState(const SkClipStack& existingClipStack, in GraphicStackState()
214 void updateClip(const SkClipStack& clipStack,
295 const SkClipStack& clipStack, in get_clip_stack_path()
301 const SkClipStack::Element* clipEntry; in get_clip_stack_path()
302 SkClipStack::Iter iter; in get_clip_stack_path()
303 iter.reset(clipStack, SkClipStack::Iter::kBottom_IterStart); in get_clip_stack_path()
306 if (SkClipStack::Element::kEmpty_Type == clipEntry->getType()) { in get_clip_stack_path()
335 void GraphicStackState::updateClip(const SkClipStack& clipStack, in updateClip()
462 const SkClipStack& clipStack, in ScopedContentEntry()
819 void SkPDFDevice::internalDrawPathWithFilter(const SkClipStack& clipStack, in internalDrawPathWithFilter()
[all …]
/external/skia/tools/debugger/
DSkDebugCanvas.cpp249 const SkClipStack* clipStack = nullptr;//HACK filterCanvas.getClipStack(); in drawTo()
250 SkClipStack::Iter iter(*clipStack, SkClipStack::Iter::kBottom_IterStart); in drawTo()
251 const SkClipStack::Element* element; in drawTo()
254 SkClipStack::Element::Type type = element->getType(); in drawTo()
256 if (type != SkClipStack::Element::kEmpty_Type) { in drawTo()
/external/skia/src/svg/
DSkSVGDevice.cpp279 const SkClipStack* fClipStack;
281 MxCp(const SkMatrix* mx, const SkClipStack* cs) : fMatrix(mx), fClipStack(cs) {} in MxCp()
730 SkClipStack* cs = &this->cs(); in drawBitmapRect()
731 SkClipStack::AutoRestore ar(cs, false); in drawBitmapRect()
/external/skia/gn/
Dcore.gni66 "$_src/core/SkClipStack.cpp",
67 "$_src/core/SkClipStack.h",
/external/skia/include/core/
DSkCanvas.h22 class SkClipStack; variable
/external/skia/site/dev/design/
Dpdftheory.md357 result unless it is corrected for. The SkClipStack passed to drawing
/external/skia/
DAndroid.bp134 "src/core/SkClipStack.cpp",