HomeSort by relevance Sort by last modified time
    Searched refs:SkRecords (Results 1 - 23 of 23) sorted by null

  /external/skia/tests/
RecordTest.cpp 12 #include "SkRecords.h"
24 void operator()(const SkRecords::DrawRect& draw) {
43 void operator()(SkRecords::DrawRect* draw) {
64 APPEND(record, SkRecords::DrawRect, paint, rect);
82 APPEND(record, SkRecords::Save);
83 APPEND(record, SkRecords::ClipRect);
84 APPEND(record, SkRecords::NoOp);
85 APPEND(record, SkRecords::DrawRect);
86 APPEND(record, SkRecords::NoOp);
87 APPEND(record, SkRecords::NoOp)
    [all...]
RecordOptsTest.cpp 15 #include "SkRecords.h"
30 record.replace<SkRecords::NoOp>(1); // NoOps should be allowed.
34 REPORTER_ASSERT(r, 2 == count_instances_of_type<SkRecords::DrawRect>(record));
47 assert_type<SkRecords::NoOp>(r, record, i);
70 assert_type<SkRecords::NoOp>(r, record, index);
87 assert_type<SkRecords::Save> (r, record, 0);
88 assert_type<SkRecords::SaveLayer>(r, record, 1);
89 assert_type<SkRecords::Restore> (r, record, 2);
90 assert_type<SkRecords::Restore> (r, record, 3);
93 assert_type<SkRecords::SaveLayer>(r, record, 0)
    [all...]
RecordDrawTest.cpp 18 #include "SkRecords.h"
47 assert_type<SkRecords::DrawPaint>(r, record, 0);
48 assert_type<SkRecords::Save> (r, record, 1);
49 assert_type<SkRecords::Concat> (r, record, 2);
50 assert_type<SkRecords::Restore> (r, record, 3);
72 REPORTER_ASSERT(r, 1 == count_instances_of_type<SkRecords::DrawRect>(rerecord));
73 REPORTER_ASSERT(r, 0 == count_instances_of_type<SkRecords::ClipRect>(rerecord));
86 int save_count = count_instances_of_type<SkRecords::Save>(rerecord);
87 int restore_count = count_instances_of_type<SkRecords::Save>(rerecord);
108 assert_type<SkRecords::SetMatrix>(r, translateRecord, 0)
    [all...]
RecordTestUtils.h 12 #include "SkRecords.h"
18 ReadAs() : ptr(nullptr), type(SkRecords::Type(~0)) {}
21 SkRecords::Type type;
RecordReplaceDrawTest.cpp 57 assert_type<SkRecords::Save>(r, rerecord, 0);
58 assert_type<SkRecords::DrawRect>(r, rerecord, 1);
59 assert_type<SkRecords::Restore>(r, rerecord, 2);
62 assert_type<SkRecords::DrawRect>(r, rerecord, 0);
136 int numLayers = count_instances_of_type<SkRecords::SaveLayer>(rerecord);
RecorderTest.cpp 13 #include "SkRecords.h"
50 REPORTER_ASSERT(r, 1 == tally.count<SkRecords::DrawRect>());
92 REPORTER_ASSERT(reporter, 1 == tally.count<SkRecords::DrawImage>());
107 REPORTER_ASSERT(reporter, 1 == tally.count<SkRecords::DrawImageRect>());
RecordPatternTest.cpp 13 #include "SkRecords.h"
15 using namespace SkRecords;
  /external/skia/src/core/
SkPictureCommon.h 14 #include "SkRecords.h"
19 bool operator()(const SkRecords::DrawPicture& op) { return op.picture->hasText(); }
20 bool operator()(const SkRecords::DrawDrawable&) { /*TODO*/ return false; }
23 SK_WHEN(T::kTags & SkRecords::kHasText_Tag, bool) operator()(const T&) { return true; }
25 SK_WHEN(!(T::kTags & SkRecords::kHasText_Tag), bool) operator()(const T&) { return false; }
33 static const SkPaint* AsPtr(const SkRecords::Optional<SkPaint>& p) { return p; }
40 bool operator()(const SkRecords::DrawPicture& op) { return op.picture->willPlayBackBitmaps(); }
41 bool operator()(const SkRecords::DrawDrawable&) { /*TODO*/ return false; }
48 static SK_WHEN(T::kTags & SkRecords::kHasImage_Tag, bool) CheckBitmap(const T&) {
54 static SK_WHEN(!(T::kTags & SkRecords::kHasImage_Tag), bool) CheckBitmap(const T& op)
    [all...]
SkRecords.cpp 9 #include "SkRecords.h"
11 namespace SkRecords {
SkRecord.h 11 #include "SkRecords.h"
24 // type T which has a static const SkRecords::Type kType. That is to say, SkRecord is compatible
25 // only with SkRecords::* structs defined in SkRecords.h. Your compiler will helpfully yell if you
48 // This operator() must be defined for at least all SkRecords::*.
58 // This operator() must be defined for at least all SkRecords::*.
68 // Here T can be any class, not just those from SkRecords. Throws on failure.
101 T* replace(int i, const SkRecords::Adopted<Existing>& proofOfAdoption) {
129 // fAlloc: [SkRecords::DrawRect][SkRecords::DrawPosTextH][SkRecords::DrawRect]..
    [all...]
SkRecord.cpp 40 [](Record op) { return op.type() == SkRecords::NoOp_Type; });
SkMiniRecorder.cpp 17 using namespace SkRecords;
40 SkRecords::Draw(c, nullptr, nullptr, 0, nullptr)(fOp);
127 SkRecords::Draw(canvas, nullptr, nullptr, 0, nullptr)(*op); \
SkRecordDraw.h 29 // Draw an SkRecord into an SkCanvas. A convenience wrapper around SkRecords::Draw.
43 namespace SkRecords {
80 } // namespace SkRecords
SkRecordPattern.h 13 namespace SkRecords {
70 template <typename T> static T* AsPtr(SkRecords::Optional<T>& x) { return x; }
173 } // namespace SkRecords
SkRecorder.cpp 73 new (fRecord->append<SkRecords::T>()) SkRecords::T{__VA_ARGS__}
359 SkRecords::RegionOpAndAA opAA(op, kSoft_ClipEdgeStyle == edgeStyle);
365 SkRecords::RegionOpAndAA opAA(op, kSoft_ClipEdgeStyle == edgeStyle);
371 SkRecords::RegionOpAndAA opAA(op, kSoft_ClipEdgeStyle == edgeStyle);
SkRecordDraw.cpp 35 SkRecords::Draw draw(canvas, drawablePicts, drawables, drawableCount);
40 // This visit call uses the SkRecords::Draw::operator() to call
47 SkRecords::Draw draw(canvas, drawablePicts, drawables, drawableCount);
52 // This visit call uses the SkRecords::Draw::operator() to call
67 SkRecords::Draw draw(canvas, drawablePicts, nullptr, drawableCount, &initialCTM);
73 namespace SkRecords {
786 SkRecords::FillBounds fFillBounds;
789 } // namespace SkRecords
792 SkRecords::FillBounds visitor(cullRect, record, bounds);
802 SkRecords::CollectLayers visitor(cullRect, record, bounds, pictList, data)
    [all...]
SkRecordOpts.cpp 11 #include "SkRecords.h"
14 using namespace SkRecords;
  /external/skia/include/private/
SkMiniRecorder.h 11 #include "SkRecords.h"
53 Max<sizeof(SkRecords::DrawBitmapRectFixedSize),
54 Max<sizeof(SkRecords::DrawPath),
55 Max<sizeof(SkRecords::DrawRect),
56 sizeof(SkRecords::DrawTextBlob)>::val>::val>::val;
SkRecords.h 22 namespace SkRecords {
29 // We leave this SK_RECORD_TYPES macro defined for use by code that wants to operate on SkRecords
71 // Defines SkRecords::Type, an enum of all record types.
364 } // namespace SkRecords
  /external/skia/tools/
DumpRecord.cpp 39 void operator()(const SkRecords::NoOp&) {
48 void print(const SkRecords::Restore& command, double ns) {
53 void print(const SkRecords::Save& command, double ns) {
58 void print(const SkRecords::SaveLayer& command, double ns) {
63 void print(const SkRecords::DrawPicture& command, double ns) {
97 #define CASE(U) case SkRecords::U##_Type: return #U;
104 static const char* NameOf(const SkRecords::SaveLayer&) {
111 SkRecords::Draw fDraw;
  /external/skia/src/gpu/
GrRecordReplaceDraw.cpp 16 #include "SkRecords.h"
54 class ReplaceDraw : public SkRecords::Draw {
122 void operator()(const SkRecords::DrawPicture& dp) {
149 void operator()(const SkRecords::SaveLayer& sl) {
  /external/skia/dm/
DMSrcSink.cpp     [all...]
  /external/skia/
Android.mk 220 src/core/SkRecords.cpp \

Completed in 587 milliseconds