Home
last modified time | relevance | path

Searched refs:saveCount (Results 1 – 7 of 7) sorted by relevance

/external/skia/include/core/
DSkClipStack.h208 Element(int saveCount) { in Element() argument
209 this->initCommon(saveCount, SkRegion::kReplace_Op, false); in Element()
213 Element(int saveCount, const SkRRect& rrect, SkRegion::Op op, bool doAA) { in Element() argument
214 this->initRRect(saveCount, rrect, op, doAA); in Element()
217 Element(int saveCount, const SkRect& rect, SkRegion::Op op, bool doAA) { in Element() argument
218 this->initRect(saveCount, rect, op, doAA); in Element()
221 Element(int saveCount, const SkPath& path, SkRegion::Op op, bool doAA) { in Element() argument
222 this->initPath(saveCount, path, op, doAA); in Element()
225 void initCommon(int saveCount, SkRegion::Op op, bool doAA) { in initCommon() argument
226 fSaveCount = saveCount; in initCommon()
[all …]
DSkCanvas.h401 void restoreToCount(int saveCount);
/external/skia/src/core/
DSkClipStack.cpp113 void SkClipStack::Element::initPath(int saveCount, const SkPath& path, SkRegion::Op op, in initPath() argument
118 this->initRect(saveCount, r, op, doAA); in initPath()
125 this->initRRect(saveCount, rrect, op, doAA); in initPath()
132 this->initCommon(saveCount, op, doAA); in initPath()
174 bool SkClipStack::Element::canBeIntersectedInPlace(int saveCount, SkRegion::Op op) const { in canBeIntersectedInPlace() argument
181 return fSaveCount == saveCount && in canBeIntersectedInPlace()
584 void SkClipStack::restoreTo(int saveCount) { in restoreTo() argument
587 if (element->fSaveCount <= saveCount) { in restoreTo()
/external/skia/tests/
DCanvasTest.cpp360 int saveCount = canvas->getSaveCount(); in SaveMatrixClipStep() local
365 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount, in SaveMatrixClipStep()
375 int saveCount = canvas->getSaveCount(); in SaveLayerStep() local
378 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount, in SaveLayerStep()
385 int saveCount = canvas->getSaveCount(); in BoundedSaveLayerStep() local
388 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount, in BoundedSaveLayerStep()
395 int saveCount = canvas->getSaveCount(); in PaintSaveLayerStep() local
398 REPORTER_ASSERT_MESSAGE(reporter, canvas->getSaveCount() == saveCount, in PaintSaveLayerStep()
/external/skia/samplecode/
DSampleClipDrawMatch.cpp237 int saveCount = canvas->save(); in onDrawContent() local
239 canvas->restoreToCount(saveCount); in onDrawContent()
/external/skia/tools/
DPictureRenderer.cpp611 int saveCount = canvas->save(); in draw_tile_to_canvas() local
620 canvas->restoreToCount(saveCount); in draw_tile_to_canvas()
/external/skia/src/utils/debugger/
DSkDebugCanvas.cpp228 int saveCount = canvas->save(); in drawTo() local
314 canvas->restoreToCount(saveCount); in drawTo()