Searched refs:prInfo (Results 1 – 3 of 3) sorted by relevance
111 SkImageInfo prInfo = autoGenerator->getInfo(); in SkDEPRECATED_InstallDiscardablePixelRef() local112 if (prInfo.isEmpty()) { in SkDEPRECATED_InstallDiscardablePixelRef()117 SkImageInfo bmInfo = prInfo; in SkDEPRECATED_InstallDiscardablePixelRef()119 const SkIRect prBounds = SkIRect::MakeWH(prInfo.width(), prInfo.height()); in SkDEPRECATED_InstallDiscardablePixelRef()123 bmInfo = prInfo.makeWH(subset->width(), subset->height()); in SkDEPRECATED_InstallDiscardablePixelRef()129 if (!dst->setInfo(bmInfo, prInfo.minRowBytes())) { in SkDEPRECATED_InstallDiscardablePixelRef()140 new SkDiscardablePixelRef(prInfo, autoGenerator.detach(), dst->rowBytes(), factory)); in SkDEPRECATED_InstallDiscardablePixelRef()
155 const SkImageInfo prInfo = pr->info(); in onRefEncoded() local159 if (prInfo.width() == bmInfo.width() && prInfo.height() == bmInfo.height()) { in onRefEncoded()
189 const SkImageInfo& prInfo = pr->info(); in setPixelRef() local190 SkASSERT(fInfo.width() <= prInfo.width()); in setPixelRef()191 SkASSERT(fInfo.height() <= prInfo.height()); in setPixelRef()192 SkASSERT(fInfo.colorType() == prInfo.colorType()); in setPixelRef()193 switch (prInfo.alphaType()) { in setPixelRef()