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

1 2

  /external/chromium_org/third_party/skia/tests/
RecordReplaceDrawTest.cpp 47 assert_type<SkRecords::Save>(r, rerecord, 0);
48 assert_type<SkRecords::DrawRect>(r, rerecord, 1);
49 assert_type<SkRecords::Restore>(r, rerecord, 2);
65 assert_type<SkRecords::Save>(r, rerecord, 0);
66 assert_type<SkRecords::Save>(r, rerecord, 1);
67 assert_type<SkRecords::Restore>(r, rerecord, 2);
68 assert_type<SkRecords::Restore>(r, rerecord, 3);
116 assert_type<SkRecords::Save>(r, rerecord, 0);
117 assert_type<SkRecords::Save>(r, rerecord, 1);
118 assert_type<SkRecords::SetMatrix>(r, rerecord, 2)
    [all...]
RecordDrawTest.cpp 18 #include "SkRecords.h"
45 assert_type<SkRecords::Save> (r, rerecord, 0);
46 assert_type<SkRecords::DrawRect>(r, rerecord, 1);
47 assert_type<SkRecords::Restore> (r, rerecord, 2);
60 assert_type<SkRecords::Save> (r, rerecord, 0);
61 assert_type<SkRecords::Save> (r, rerecord, 1);
62 assert_type<SkRecords::Restore> (r, rerecord, 2);
63 assert_type<SkRecords::Restore> (r, rerecord, 3);
83 assert_type<SkRecords::SetMatrix>(r, translateRecord, 0);
84 assert_type<SkRecords::Save> (r, translateRecord, 1)
    [all...]
RecordOptsTest.cpp 14 #include "SkRecords.h"
30 record.replace<SkRecords::NoOp>(2); // NoOps should be allowed.
34 assert_type<SkRecords::NoOp>(r, record, 0);
35 assert_type<SkRecords::DrawRect>(r, record, 1);
36 assert_type<SkRecords::NoOp>(r, record, 2);
37 assert_type<SkRecords::DrawRect>(r, record, 3);
38 assert_type<SkRecords::NoOp>(r, record, 4);
51 assert_type<SkRecords::NoOp>(r, record, i);
74 assert_type<SkRecords::NoOp>(r, record, index);
89 assert_type<SkRecords::Save> (r, record, 0)
    [all...]
RecordTestUtils.h 5 #include "SkRecords.h"
10 ReadAs() : ptr(NULL), type(SkRecords::Type(~0)) {}
13 SkRecords::Type type;
RecordTest.cpp 14 #include "SkRecords.h"
23 void operator()(const SkRecords::DrawRect& draw) {
42 void operator()(SkRecords::DrawRect* draw) {
63 APPEND(record, SkRecords::DrawRect, paint, rect);
RecorderTest.cpp 13 #include "SkRecords.h"
49 REPORTER_ASSERT(r, 1 == tally.count<SkRecords::DrawRect>());
66 REPORTER_ASSERT(r, 1 == tally.count<SkRecords::BeginCommentGroup>());
67 REPORTER_ASSERT(r, 2 == tally.count<SkRecords::AddComment>());
68 REPORTER_ASSERT(r, 1 == tally.count<SkRecords::EndCommentGroup>());
82 REPORTER_ASSERT(r, 1 == tally.count<SkRecords::DrawData>());
  /external/chromium_org/third_party/skia/tools/
DumpRecord.cpp 42 void operator()(const SkRecords::NoOp&) {
51 void print(const SkRecords::Restore& command, double time) {
56 void print(const SkRecords::Save& command, double time) {
61 void print(const SkRecords::SaveLayer& command, double time) {
84 #define CASE(U) case SkRecords::U##_Type: return #U;
91 static const char* NameOf(const SkRecords::SaveLayer&) {
98 SkRecords::Draw fDraw;
  /external/skia/tests/
RecordOptsTest.cpp 14 #include "SkRecords.h"
35 REPORTER_ASSERT(r, 6 == assert_type<SkRecords::PairedPushCull>(r, record, 1)->skip);
36 REPORTER_ASSERT(r, 2 == assert_type<SkRecords::PairedPushCull>(r, record, 4)->skip);
59 assert_type<SkRecords::NoOp>(r, record, i);
61 assert_type<SkRecords::PushCull>(r, record, 4);
62 assert_type<SkRecords::PushCull>(r, record, 5);
63 assert_type<SkRecords::DrawRect>(r, record, 6);
64 assert_type<SkRecords::PopCull>(r, record, 7);
65 assert_type<SkRecords::PopCull>(r, record, 8);
88 assert_type<SkRecords::DrawPosTextH>(r, record, 0)
    [all...]
RecordTest.cpp 11 #include "SkRecords.h"
20 void operator()(const SkRecords::DrawRect& draw) {
39 void operator()(SkRecords::DrawRect* draw) {
58 SkNEW_PLACEMENT_ARGS(record.append<SkRecords::DrawRect>(), SkRecords::DrawRect, (paint, rect));
RecordTestUtils.h 5 #include "SkRecords.h"
10 ReadAs() : ptr(NULL), type(SkRecords::Type(~0)) {}
13 SkRecords::Type type;
RecordDrawTest.cpp 16 #include "SkRecords.h"
97 const SkRecords::SetMatrix* setMatrix;
98 setMatrix = assert_type<SkRecords::SetMatrix>(r, translateRecord, 0);
101 setMatrix = assert_type<SkRecords::SetMatrix>(r, translateRecord, 1);
RecorderTest.cpp 12 #include "SkRecords.h"
49 REPORTER_ASSERT(r, 1 == tally.count<SkRecords::DrawRect>());
  /external/skia/tools/
DumpRecord.cpp 44 void operator()(const SkRecords::NoOp&) {
53 void print(const SkRecords::Restore& command, double time) {
58 void print(const SkRecords::Save& command, double time) {
63 void print(const SkRecords::SaveLayer& command, double time) {
86 #define CASE(U) case SkRecords::U##_Type: return #U;
93 static const char* NameOf(const SkRecords::SaveLayer&) {
99 SkRecords::Draw fDraw;
  /external/chromium_org/third_party/skia/src/core/
SkRecord.h 12 #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
49 // This operator() must be defined for at least all SkRecords::*.
59 // 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.
107 T* replace(unsigned i, const SkRecords::Adopted<Existing>& proofOfAdoption) {
130 // fAlloc: [SkRecords::DrawRect][SkRecords::DrawPosTextH][SkRecords::DrawRect]..
    [all...]
SkRecordDraw.h 20 // Draw an SkRecord into an SkCanvas. A convenience wrapper around SkRecords::Draw.
31 namespace SkRecords {
74 } // namespace SkRecords
SkRecordPattern.h 6 namespace SkRecords {
64 template <typename T> static T* AsPtr(SkRecords::Optional<T>& x) { return x; }
185 } // namespace SkRecords
SkPicture.cpp 56 static const SkPaint* AsPtr(const SkRecords::Optional<SkPaint>& p) { return p; }
58 /** SkRecords visitor to determine whether an instance may require an
76 bool operator()(const SkRecords::DrawPicture& op) { return op.picture->willPlayBackBitmaps(); }
123 bool operator()(const SkRecords::DrawPicture& op) { return op.picture->hasText(); }
130 /** SkRecords visitor to determine heuristically whether or not a SkPicture
144 void operator()(const SkRecords::DrawPicture& op) {
158 void operator()(const SkRecords::DrawPoints& op) {
171 void operator()(const SkRecords::DrawPath& op) {
SkRecordOpts.cpp 11 #include "SkRecords.h"
14 using namespace SkRecords;
SkRecordDraw.cpp 29 SkRecords::Draw draw(canvas);
38 SkRecords::Draw draw(canvas);
56 SkRecords::PartialDraw draw(canvas, clearRect, initialCTM);
62 namespace SkRecords {
544 } // namespace SkRecords
547 SkRecords::FillBounds(record, bbh);
  /external/skia/src/core/
SkRecord.h 12 #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
46 // This operator() must be defined for at least all SkRecords::*.
56 // This operator() must be defined for at least all SkRecords::*.
65 // Here T can be any class, not just those from SkRecords. Throws on failure.
103 T* replace(unsigned i, const SkRecords::Adopted<Existing>& proofOfAdoption) {
126 // fAlloc: [SkRecords::DrawRect][SkRecords::DrawPosTextH][SkRecords::DrawRect]..
    [all...]
SkRecordDraw.h 14 // Draw an SkRecord into an SkCanvas. A convenience wrapper around SkRecords::Draw.
17 namespace SkRecords {
53 } // namespace SkRecords
SkRecordPattern.h 6 namespace SkRecords {
64 template <typename T> static T* AsPtr(SkRecords::Optional<T>& x) { return x; }
181 } // namespace SkRecords
SkRecordDraw.cpp 11 for (SkRecords::Draw draw(canvas); draw.index() < record.count(); draw.next()) {
16 namespace SkRecords {
71 } // namespace SkRecords
  /external/chromium_org/third_party/skia/src/gpu/
GrPictureUtils.cpp 12 #include "SkRecords.h"
80 void updateCTM(const SkRecords::Restore& op) { fCTM = &op.matrix; }
81 void updateCTM(const SkRecords::SetMatrix& op) { fCTM = &op.matrix; }
86 void updateClipBounds(const SkRecords::Restore& op) { fCurrentClipBounds = op.devBounds; }
87 void updateClipBounds(const SkRecords::ClipPath& op) { fCurrentClipBounds = op.devBounds; }
88 void updateClipBounds(const SkRecords::ClipRRect& op) { fCurrentClipBounds = op.devBounds; }
89 void updateClipBounds(const SkRecords::ClipRect& op) { fCurrentClipBounds = op.devBounds; }
90 void updateClipBounds(const SkRecords::ClipRegion& op) { fCurrentClipBounds = op.devBounds; }
91 void updateClipBounds(const SkRecords::SaveLayer& op) {
100 void trackSaveLayers(const SkRecords::Save& s) { this->pushSaveBlock();
    [all...]
GrRecordReplaceDraw.cpp 76 SkRecords::Draw draw(canvas);

Completed in 941 milliseconds

1 2