Home
last modified time | relevance | path

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

12

/external/skia/src/core/
DSkClipStack.cpp19 int32_t SkClipStack::gGenID = kFirstUnreservedGenID;
21 SkClipStack::Element::Element(const Element& that) { in Element()
46 bool SkClipStack::Element::operator== (const Element& element) const { in operator ==()
71 void SkClipStack::Element::replay(SkCanvasClipVisitor* visitor) const { in replay()
90 void SkClipStack::Element::invertShapeFillType() { in invertShapeFillType()
113 void SkClipStack::Element::initPath(int saveCount, const SkPath& path, SkRegion::Op op, in initPath()
135 void SkClipStack::Element::asPath(SkPath* path) const { in asPath()
158 void SkClipStack::Element::setEmpty() { in setEmpty()
169 void SkClipStack::Element::checkEmpty() const { in checkEmpty()
177 bool SkClipStack::Element::canBeIntersectedInPlace(int saveCount, SkRegion::Op op) const { in canBeIntersectedInPlace()
[all …]
DSkCanvas.cpp230 const SkClipStack& clipStack, SkRasterClip* updateClip) { in updateMC()
659 fClipStack.reset(new SkClipStack); in init()
1691 SkClipStack::B2TIter iter(*fClipStack); in validateClip()
1692 const SkClipStack::Element* element; in validateClip()
1695 case SkClipStack::Element::kRect_Type: in validateClip()
1699 case SkClipStack::Element::kEmpty_Type: in validateClip()
1714 SkClipStack::B2TIter iter(*fClipStack); in replayClips()
1715 const SkClipStack::Element* element; in replayClips()
/external/skia/tests/
DClipStackTest.cpp19 SkClipStack s; in test_assign_and_comparison()
50 SkClipStack copy = s; in test_assign_and_comparison()
116 static void assert_count(skiatest::Reporter* reporter, const SkClipStack& stack, in assert_count()
118 SkClipStack::B2TIter iter(stack); in assert_count()
129 SkClipStack stack; in test_iterators()
147 const SkClipStack::Element* element = nullptr; in test_iterators()
149 SkClipStack::B2TIter iter(stack); in test_iterators()
153 REPORTER_ASSERT(reporter, SkClipStack::Element::kRect_Type == element->getType()); in test_iterators()
162 const SkClipStack::Element* element = nullptr; in test_iterators()
164 SkClipStack::Iter iter(stack, SkClipStack::Iter::kTop_IterStart); in test_iterators()
[all …]
DClipBoundsTest.cpp41 SkClipStack stack; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DCanvasStateTest.cpp339 SkClipStack::BoundsType boundsType; in DEF_TEST()
343 if (SkClipStack::kInsideOut_BoundsType == boundsType) { in DEF_TEST()
DCanvasTest.cpp219 const SkClipStack* cs = nullptr; in test_clipstack()
/external/skia/include/core/
DSkClipStack.h26 class SK_API SkClipStack : public SkNVRefCnt<SkClipStack> {
179 friend class SkClipStack;
198 SkClipStack::BoundsType fFiniteBoundType;
282 SkClipStack();
283 SkClipStack(const SkClipStack& b);
284 explicit SkClipStack(const SkRect& r);
285 explicit SkClipStack(const SkIRect& r);
286 ~SkClipStack();
288 SkClipStack& operator=(const SkClipStack& b);
289 bool operator==(const SkClipStack& b) const;
[all …]
DSkDraw.h18 class SkClipStack; variable
151 const SkClipStack* fClipStack; // optional
DSkDevice.h18 class SkClipStack; variable
172 const SkClipStack&) {}; in setMatrixClip() argument
DSkCanvas.h24 class SkClipStack; variable
1129 const SkClipStack* getClipStack() const { in getClipStack()
1320 SkAutoTUnref<SkClipStack> fClipStack;
/external/skia/src/gpu/
DGrReducedClip.cpp10 typedef SkClipStack::Element Element;
12 static void reduced_stack_walker(const SkClipStack& stack, in reduced_stack_walker()
33 SkClipStack::Iter iter(stack, SkClipStack::Iter::kTop_IterStart); in reduced_stack_walker()
41 if (SkClipStack::kEmptyGenID == element->getGenID()) { in reduced_stack_walker()
45 if (SkClipStack::kWideOpenGenID == element->getGenID()) { in reduced_stack_walker()
311 *resultGenID = SkClipStack::kWideOpenGenID; in reduced_stack_walker()
313 *resultGenID = SkClipStack::kEmptyGenID; in reduced_stack_walker()
325 void GrReducedClip::ReduceClipStack(const SkClipStack& stack, in ReduceClipStack()
348 SkClipStack::BoundsType stackBoundsType; in ReduceClipStack()
358 SkASSERT(SkClipStack::kNormal_BoundsType == stackBoundsType); in ReduceClipStack()
[all …]
DGrReducedClip.h16 typedef SkTLList<SkClipStack::Element, 16> ElementList;
40 static void ReduceClipStack(const SkClipStack& stack,
DGrClipMaskManager.h83 const SkClipStack::Element* element,
89 const SkClipStack::Element* element);
150 const SkClipStack::Element*,
DGrClipMaskManager.cpp29 typedef SkClipStack::Element Element;
126 const SkClipStack::Element* element) { in GetPathRenderer()
249 case SkClipStack::Element::kPath_Type: in getAnalyticClipProcessor()
253 case SkClipStack::Element::kRRect_Type: { in getAnalyticClipProcessor()
259 case SkClipStack::Element::kRect_Type: { in getAnalyticClipProcessor()
290 SkClipStack* stack = new SkClipStack; in add_rect_to_clip()
505 const SkClipStack::Element* element, in drawElement()
DGrStencilAttachment.h63 , fLastClipStackGenID(SkClipStack::kInvalidGenID) { in GrStencilAttachment()
DSkGpuDevice.h164 SkAutoTUnref<const SkClipStack> fClipStack;
/external/skia/src/pdf/
DSkPDFDevice.h209 SkClipStack fExistingClipStack;
227 const SkClipStack* fClipStack;
258 const SkClipStack* clipStack,
267 ContentEntry* setUpContentEntry(const SkClipStack* clipStack,
279 const SkClipStack& clipStack,
292 const SkClipStack* clipStack,
DSkPDFDevice.cpp198 SkClipStack fClipStack;
239 GraphicStackState(const SkClipStack& existingClipStack, in GraphicStackState()
248 void updateClip(const SkClipStack& clipStack, const SkRegion& clipRegion,
289 static void skip_clip_stack_prefix(const SkClipStack& prefix, in skip_clip_stack_prefix()
290 const SkClipStack& stack, in skip_clip_stack_prefix()
291 SkClipStack::Iter* iter) { in skip_clip_stack_prefix()
292 SkClipStack::B2TIter prefixIter(prefix); in skip_clip_stack_prefix()
293 iter->reset(stack, SkClipStack::Iter::kBottom_IterStart); in skip_clip_stack_prefix()
295 const SkClipStack::Element* prefixEntry; in skip_clip_stack_prefix()
296 const SkClipStack::Element* iterEntry; in skip_clip_stack_prefix()
[all …]
/external/skia/include/gpu/
DGrClip.h96 const SkClipStack* clipStack() const { in clipStack()
101 void setClipStack(const SkClipStack* clipStack, const SkIPoint* origin = NULL) {
177 const SkClipStack* fStack;
/external/skia/include/utils/
DSkLua.h62 void pushClipStack(const SkClipStack&, const char tableKey[] = NULL);
63 void pushClipStackElement(const SkClipStack::Element& element, const char tableKey[] = NULL);
/external/skia/tools/debugger/
DSkDebugCanvas.cpp267 const SkClipStack* clipStack = canvas->getClipStack(); in drawTo()
268 SkClipStack::Iter iter(*clipStack, SkClipStack::Iter::kBottom_IterStart); in drawTo()
269 const SkClipStack::Element* element; in drawTo()
272 SkClipStack::Element::Type type = element->getType(); in drawTo()
274 if (type != SkClipStack::Element::kEmpty_Type) { in drawTo()
/external/skia/src/utils/
DSkLua.cpp336 static const char* element_type(SkClipStack::Element::Type type) { in element_type()
338 case SkClipStack::Element::kEmpty_Type: in element_type()
340 case SkClipStack::Element::kRect_Type: in element_type()
342 case SkClipStack::Element::kRRect_Type: in element_type()
344 case SkClipStack::Element::kPath_Type: in element_type()
368 void SkLua::pushClipStack(const SkClipStack& stack, const char* key) { in pushClipStack()
370 SkClipStack::B2TIter iter(stack); in pushClipStack()
371 const SkClipStack::Element* element; in pushClipStack()
380 void SkLua::pushClipStackElement(const SkClipStack::Element& element, const char* key) { in pushClipStackElement()
382 SkClipStack::Element::Type type = element.getType(); in pushClipStackElement()
[all …]
/external/skia/gyp/
Dcore.gypi70 '<(skia_src_path)/core/SkClipStack.cpp',
339 '<(skia_include_path)/core/SkClipStack.h',
/external/skia/src/svg/
DSkSVGDevice.cpp730 SkClipStack adjustedClipStack; in drawBitmapRect()
/external/skia/experimental/iOSSampleApp/iOSSampleApp.xcodeproj/
Dproject.pbxproj73 …E02B913B1225D0064D447 /* SkClipStack.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 260E022D13…
603 …7 /* SkClipStack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.…
711 …25D0064D447 /* SkClipStack.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =…
1616 260E01BD13B1225D0064D447 /* SkClipStack.h */,
1759 260E022D13B1225D0064D447 /* SkClipStack.cpp */,
2970 260E02B913B1225D0064D447 /* SkClipStack.cpp in Sources */,

12