Home
last modified time | relevance | path

Searched refs:DrawRect (Results 1 – 13 of 13) sorted by relevance

/external/skia/tests/
DRecordTest.cpp24 void operator()(const SkRecords::DrawRect& draw) { in operator ()()
43 void operator()(SkRecords::DrawRect* draw) { in operator ()()
64 APPEND(record, SkRecords::DrawRect, paint, rect); in DEF_TEST()
85 APPEND(record, SkRecords::DrawRect); in DEF_TEST()
95 assert_type<SkRecords::DrawRect>(r, record, 2); in DEF_TEST()
DRecordDrawTest.cpp72 REPORTER_ASSERT(r, 1 == count_instances_of_type<SkRecords::DrawRect>(rerecord)); in DEF_TEST()
194 REPORTER_ASSERT(r, 1 == count_instances_of_type<SkRecords::DrawRect>(rerecord)); in DEF_TEST()
195 int index = find_first_instances_of_type<SkRecords::DrawRect>(rerecord); in DEF_TEST()
196 const SkRecords::DrawRect* drawRect = assert_type<SkRecords::DrawRect>(r, rerecord, index); in DEF_TEST()
DRecordOptsTest.cpp35 REPORTER_ASSERT(r, 2 == count_instances_of_type<SkRecords::DrawRect>(record)); in DEF_TEST()
187 const SkRecords::DrawRect* drawRect = assert_type<SkRecords::DrawRect>(r, record, 16); in DEF_TEST()
DRecorderTest.cpp50 REPORTER_ASSERT(r, 1 == tally.count<SkRecords::DrawRect>()); in DEF_TEST()
/external/skia/src/core/
DSkMiniRecorder.cpp36 static SkRect bounds(const DrawRect& op) { in bounds()
91 TRY_TO_STORE(DrawRect, paint, rect); in drawRect()
118 CASE(DrawRect); in detachAsPicture()
138 CASE(DrawRect); in flushAndReset()
DSkMiniRecorder.h52 Max<sizeof(SkRecords::DrawRect),
DSkRecords.h79 M(DrawRect) \
302 RECORD(DrawRect, kDraw_Tag|kHasPaint_Tag,
DSkLiteDL.cpp54 M(DrawPaint) M(DrawPath) M(DrawRect) M(DrawRegion) M(DrawOval) M(DrawArc) \
184 struct DrawRect final : Op { struct
185 static const auto kType = Type::DrawRect; argument
186 DrawRect(const SkRect& rect, const SkPaint& paint) : rect(rect), paint(paint) {} in DrawRect() argument
565 this->push<DrawRect>(0, rect, paint); in drawRect()
DSkRecordDraw.cpp119 DRAW(DrawRect, drawRect(r.rect, r.paint));
397 Bounds bounds(const DrawRect& op) const { return this->adjustAndMap(op.rect, &op.paint); } in bounds()
DSkRecorder.cpp145 APPEND(DrawRect, paint, rect); in onDrawRect()
/external/skia/experimental/go-demo/
Dmain.go43 canvas.DrawRect(rect, fillPaint)
/external/skia/experimental/go-skia/
Dskia.go110 func (c *Canvas) DrawRect(rect *Rect, paint *Paint) { func
/external/skia/tools/debugger/
DSkDrawCommand.cpp299 INSTALL_FACTORY(DrawRect); in fromJSON()