/external/skia/tests/ |
D | RecordOptsTest.cpp | 30 record.replace<SkRecords::NoOp>(1); // NoOps should be allowed. in DEF_TEST() 34 REPORTER_ASSERT(r, 2 == count_instances_of_type<SkRecords::DrawRect>(record)); in DEF_TEST() 47 assert_type<SkRecords::NoOp>(r, record, i); in DEF_TEST() 70 assert_type<SkRecords::NoOp>(r, record, index); in DEF_TEST() 87 assert_type<SkRecords::Save> (r, record, 0); in DEF_TEST() 88 assert_type<SkRecords::SaveLayer>(r, record, 1); in DEF_TEST() 89 assert_type<SkRecords::Restore> (r, record, 2); in DEF_TEST() 90 assert_type<SkRecords::Restore> (r, record, 3); in DEF_TEST() 93 assert_type<SkRecords::SaveLayer>(r, record, 0); in DEF_TEST() 94 assert_type<SkRecords::Restore> (r, record, 1); in DEF_TEST() [all …]
|
D | RecordDrawTest.cpp | 47 assert_type<SkRecords::DrawPaint>(r, record, 0); in DEF_TEST() 48 assert_type<SkRecords::Save> (r, record, 1); in DEF_TEST() 49 assert_type<SkRecords::SetMatrix>(r, record, 2); in DEF_TEST() 50 assert_type<SkRecords::Restore> (r, record, 3); in DEF_TEST() 72 REPORTER_ASSERT(r, 1 == count_instances_of_type<SkRecords::DrawRect>(rerecord)); in DEF_TEST() 73 REPORTER_ASSERT(r, 0 == count_instances_of_type<SkRecords::ClipRect>(rerecord)); in DEF_TEST() 86 int save_count = count_instances_of_type<SkRecords::Save>(rerecord); in DEF_TEST() 87 int restore_count = count_instances_of_type<SkRecords::Save>(rerecord); in DEF_TEST() 108 assert_type<SkRecords::SetMatrix>(r, translateRecord, 0); in DEF_TEST() 109 assert_type<SkRecords::Save> (r, translateRecord, 1); in DEF_TEST() [all …]
|
D | RecordReplaceDrawTest.cpp | 57 assert_type<SkRecords::Save>(r, rerecord, 0); in DEF_TEST() 58 assert_type<SkRecords::DrawRect>(r, rerecord, 1); in DEF_TEST() 59 assert_type<SkRecords::Restore>(r, rerecord, 2); in DEF_TEST() 62 assert_type<SkRecords::DrawRect>(r, rerecord, 0); in DEF_TEST() 142 assert_type<SkRecords::Save>(r, rerecord, 0); in test_replacements() 145 assert_type<SkRecords::DrawSprite>(r, rerecord, index + 0); in test_replacements() 146 assert_type<SkRecords::DrawRect>(r, rerecord, index + 1); in test_replacements() 148 assert_type<SkRecords::Restore>(r, rerecord, 3); in test_replacements()
|
D | RecorderTest.cpp | 50 REPORTER_ASSERT(r, 1 == tally.count<SkRecords::DrawRect>()); in DEF_TEST() 67 REPORTER_ASSERT(r, 1 == tally.count<SkRecords::BeginCommentGroup>()); in DEF_TEST() 68 REPORTER_ASSERT(r, 2 == tally.count<SkRecords::AddComment>()); in DEF_TEST() 69 REPORTER_ASSERT(r, 1 == tally.count<SkRecords::EndCommentGroup>()); in DEF_TEST() 111 REPORTER_ASSERT(reporter, 1 == tally.count<SkRecords::DrawImage>()); in DEF_TEST() 126 REPORTER_ASSERT(reporter, 1 == tally.count<SkRecords::DrawImageRect>()); in DEF_TEST()
|
D | RecordTest.cpp | 23 void operator()(const SkRecords::DrawRect& draw) { in operator ()() 42 void operator()(SkRecords::DrawRect* draw) { in operator ()() 63 APPEND(record, SkRecords::DrawRect, paint, rect); in DEF_TEST()
|
D | RecordTestUtils.h | 10 ReadAs() : ptr(NULL), type(SkRecords::Type(~0)) {} in ReadAs() 13 SkRecords::Type type;
|
D | RecordPatternTest.cpp | 8 using namespace SkRecords;
|
/external/skia/tools/ |
D | DumpRecord.cpp | 42 void operator()(const SkRecords::NoOp&) { in operator ()() 51 void print(const SkRecords::Restore& command, double time) { in print() 56 void print(const SkRecords::Save& command, double time) { in print() 61 void print(const SkRecords::SaveLayer& command, double time) { in print() 84 #define CASE(U) case SkRecords::U##_Type: return #U; in NameOf() 91 static const char* NameOf(const SkRecords::SaveLayer&) { in NameOf() 98 SkRecords::Draw fDraw;
|
/external/skia/src/core/ |
D | SkRecord.h | 101 T* replace(unsigned i, const SkRecords::Adopted<Existing>& proofOfAdoption) { in replace() 163 SkRecords::Type type() const { return (SkRecords::Type)(fTypeAndPtr >> kTypeShift); } in type() 169 #define CASE(T) case SkRecords::T##_Type: return f(*(const SkRecords::T*)this->ptr()); in visit() 179 #define CASE(T) case SkRecords::T##_Type: return f((SkRecords::T*)this->ptr()); in mutate()
|
D | SkPicture.cpp | 56 static const SkPaint* AsPtr(const SkRecords::Optional<SkPaint>& p) { return p; } in AsPtr() 76 bool operator()(const SkRecords::DrawPicture& op) { return op.picture->willPlayBackBitmaps(); } in operator ()() 123 bool operator()(const SkRecords::DrawPicture& op) { return op.picture->hasText(); } in operator ()() 139 void operator()(const SkRecords::DrawPicture& op) { in operator ()() 151 void operator()(const SkRecords::DrawPoints& op) { in operator ()() 164 void operator()(const SkRecords::DrawPath& op) { in operator ()()
|
D | SkRecorder.cpp | 59 SkNEW_PLACEMENT_ARGS(fRecord->append<SkRecords::T>(), SkRecords::T, (__VA_ARGS__)) 314 SkRecords::RegionOpAndAA opAA(op, kSoft_ClipEdgeStyle == edgeStyle); in onClipRect() 320 SkRecords::RegionOpAndAA opAA(op, kSoft_ClipEdgeStyle == edgeStyle); in onClipRRect() 326 SkRecords::RegionOpAndAA opAA(op, kSoft_ClipEdgeStyle == edgeStyle); in onClipPath()
|
D | SkRecordDraw.cpp | 35 SkRecords::Draw draw(canvas, drawablePicts, drawables, drawableCount); in SkRecordDraw() 47 SkRecords::Draw draw(canvas, drawablePicts, drawables, drawableCount); in SkRecordDraw() 67 SkRecords::Draw draw(canvas, drawablePicts, NULL, drawableCount, &initialCTM); in SkRecordPartialDraw() 73 namespace SkRecords { namespace 779 SkRecords::FillBounds fFillBounds; 785 SkRecords::FillBounds visitor(cullRect, record); in SkRecordFillBounds() 798 SkRecords::CollectLayers visitor(cullRect, record, pictList, data); in SkRecordComputeLayers()
|
D | SkRecordPattern.h | 6 namespace SkRecords { 64 template <typename T> static T* AsPtr(SkRecords::Optional<T>& x) { return x; } in AsPtr()
|
D | SkRecordDraw.h | 40 namespace SkRecords {
|
D | SkRecordOpts.cpp | 14 using namespace SkRecords;
|
D | SkRecords.h | 16 namespace SkRecords {
|
/external/skia/src/gpu/ |
D | GrRecordReplaceDraw.cpp | 57 class ReplaceDraw : public SkRecords::Draw { 125 void operator()(const SkRecords::DrawPicture& dp) { in operator ()() 148 void operator()(const SkRecords::SaveLayer& sl) { in operator ()()
|
/external/skia/include/core/ |
D | SkPicture.h | 34 namespace SkRecords {
|
/external/skia/dm/ |
D | DMSrcSink.cpp | 741 SkRecords::Draw(canvas, nullptr, nullptr, 0, &SkMatrix::I())(op); in draw() 757 void operator()(const SkRecords::SaveLayer& op) { this->draw(op, fCanvas); } in operator ()()
|