Searched defs:SkBitmapHunter (Results 1 – 1 of 1) sorted by relevance
21 struct SkBitmapHunter { struct23 static const SkPaint* AsPtr(const SkPaint& p) { return &p; } in AsPtr()24 static const SkPaint* AsPtr(const SkRecords::Optional<SkPaint>& p) { return p; } in AsPtr()31 bool operator()(const SkRecords::DrawPicture& op) { return op.picture->willPlayBackBitmaps(); } in operator()32 bool operator()(const SkRecords::DrawDrawable&) { /*TODO*/ return false; } in operator()35 bool operator()(const T& op) { return CheckBitmap(op); } in operator()39 static SK_WHEN(T::kTags & SkRecords::kHasImage_Tag, bool) CheckBitmap(const T&) { in SK_WHEN()45 static SK_WHEN(!(T::kTags & SkRecords::kHasImage_Tag), bool) CheckBitmap(const T& op) { in CheckBitmap()51 static SK_WHEN(T::kTags & SkRecords::kHasPaint_Tag, bool) CheckPaint(const T& op) { in SK_WHEN()56 static SK_WHEN(!(T::kTags & SkRecords::kHasPaint_Tag), bool) CheckPaint(const T&) { in CheckPaint()[all …]