Lines Matching refs:Rec
50 struct BitmapRec : public SkResourceCache::Rec {
63 static bool Visitor(const SkResourceCache::Rec& baseRec, void* contextBitmap) {
64 const BitmapRec& rec = static_cast<const BitmapRec&>(baseRec);
67 *result = rec.fBitmap;
94 BitmapRec* rec = SkNEW_ARGS(BitmapRec, (src.getGenerationID(), invScaleX, invScaleY,
96 CHECK_LOCAL(localCache, add, Add, rec);
117 BitmapRec* rec = SkNEW_ARGS(BitmapRec, (genID, SK_Scalar1, SK_Scalar1, subset, result));
119 CHECK_LOCAL(localCache, add, Add, rec);
125 struct MipMapRec : public SkResourceCache::Rec {
141 static bool Visitor(const SkResourceCache::Rec& baseRec, void* contextMip) {
142 const MipMapRec& rec = static_cast<const MipMapRec&>(baseRec);
145 *result = SkRef(rec.fMipMap);