Home | History | Annotate | Download | only in core

Lines Matching refs:SkRecords

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) {
60 static SK_WHEN(T::kTags & SkRecords::kDraw_Tag, bool) CheckPaint(const T& op) {
65 static bool CheckPaint(const SkRecords::SaveLayer& op) {
71 static SK_WHEN(!(T::kTags & SkRecords::kDraw_Tag), bool) CheckPaint(const T&) {
91 static const SkPaint* AsPtr(const SkRecords::Optional<SkPaint>& p) { return p; }
96 void operator()(const SkRecords::DrawPicture& op) {
99 void operator()(const SkRecords::DrawDrawable&) { /* TODO */ }
108 void operator()(const SkRecords::DrawPoints& op) {
121 void operator()(const SkRecords::DrawPath& op) {
138 void operator()(const SkRecords::SaveLayer& op) {
143 SK_WHEN(T::kTags & SkRecords::kDraw_Tag, void) operator()(const T& op) {
148 SK_WHEN(!(T::kTags & SkRecords::kDraw_Tag), void) operator()(const T& op) { /* do nothing */ }