Home
last modified time | relevance | path

Searched refs:ClipRect (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/utils/
DSkCanvasStateUtils.cpp45 struct ClipRect { struct
53 ClipRect* clipRects; argument
150 SkSWriter32<4*sizeof(ClipRect)> clipWriter; in setup_MC_state()
164 state->clipRects = (ClipRect*) sk_malloc_throw(clipWriter.bytesWritten()); in setup_MC_state()
/external/skia/tests/
DRecordPatternTest.cpp17 Is<ClipRect>,
39 REPORTER_ASSERT(r, pattern.second<ClipRect>() != nullptr); in DEF_TEST()
81 Pattern<Is<Save>, Greedy<Is<ClipRect>>, Is<Restore>> pattern; in DEF_TEST()
DRecordTest.cpp83 APPEND(record, SkRecords::ClipRect); in DEF_TEST()
94 assert_type<SkRecords::ClipRect>(r, record, 1); in DEF_TEST()
DRecordDrawTest.cpp73 REPORTER_ASSERT(r, 0 == count_instances_of_type<SkRecords::ClipRect>(rerecord)); in DEF_TEST()
DCanvasTest.cpp393 SIMPLE_TEST_STEP(ClipRect, clipRect(d.fRect));
/external/skia/include/private/
DSkRecords.h57 M(ClipRect) \
216 RECORD(ClipRect, 0,
/external/skia/src/core/
DSkLiteDL.cpp51 M(ClipPath) M(ClipRect) M(ClipRRect) M(ClipRegion) \
150 struct ClipRect final : Op { struct
151 static const auto kType = Type::ClipRect; argument
152 ClipRect(const SkRect& rect, SkClipOp op, bool aa) : rect(rect), op(op), aa(aa) {} in ClipRect() function
560 this->push<ClipRect>(0, rect, op, aa); in clipRect()
DSkRecordDraw.cpp87 DRAW(ClipRect, clipRect(r.rect, r.opAA.op(), r.opAA.aa()));
258 void updateClipBounds(const ClipRect& op) { this->updateClipBoundsForClipOp(op.devBounds); } in updateClipBounds()
306 void trackBounds(const ClipRect&) { this->pushControl(); } in trackBounds() argument
DSkRecordOpts.cpp245 typedef Pattern<Is<SaveLayer>, Is<Save>, Is<ClipRect>, Is<SaveLayer>,
DSkRecorder.cpp398 APPEND(ClipRect, this->getDeviceClipBounds(), rect, opAA); in onClipRect()
/external/skia/tools/viewer/
DViewer.cpp1210 canvas->clipRect(SkRect::MakeLTRB(drawCmd->ClipRect.x, drawCmd->ClipRect.y, in drawImGui()
1211 drawCmd->ClipRect.z, drawCmd->ClipRect.w)); in drawImGui()
/external/skia/tools/debugger/
DSkDrawCommand.cpp273 INSTALL_FACTORY(ClipRect); in fromJSON()