Searched defs:SkBitmapHunter (Results 1 – 1 of 1) sorted by relevance
20 struct SkBitmapHunter { struct22 static const SkPaint* AsPtr(const SkPaint& p) { return &p; } in AsPtr()23 static const SkPaint* AsPtr(const SkRecords::Optional<SkPaint>& p) { return p; } in AsPtr()30 bool operator()(const SkRecords::DrawPicture& op) { return op.picture->willPlayBackBitmaps(); } in operator()31 bool operator()(const SkRecords::DrawDrawable&) { /*TODO*/ return false; } in operator()34 bool operator()(const T& op) { return CheckBitmap(op); } in operator()38 static SK_WHEN(T::kTags & SkRecords::kHasImage_Tag, bool) CheckBitmap(const T&) { in SK_WHEN()44 static SK_WHEN(!(T::kTags & SkRecords::kHasImage_Tag), bool) CheckBitmap(const T& op) { in CheckBitmap()50 static SK_WHEN(T::kTags & SkRecords::kHasPaint_Tag, bool) CheckPaint(const T& op) { in SK_WHEN()55 static SK_WHEN(!(T::kTags & SkRecords::kHasPaint_Tag), bool) CheckPaint(const T&) { in CheckPaint()[all …]