Home
last modified time | relevance | path

Searched refs:prInfo (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/lazy/
DSkDiscardablePixelRef.cpp111 SkImageInfo prInfo = autoGenerator->getInfo(); in SkDEPRECATED_InstallDiscardablePixelRef() local
112 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()
/external/skia/src/image/
DSkImage_Raster.cpp155 const SkImageInfo prInfo = pr->info(); in onRefEncoded() local
159 if (prInfo.width() == bmInfo.width() && prInfo.height() == bmInfo.height()) { in onRefEncoded()
/external/skia/src/core/
DSkBitmap.cpp189 const SkImageInfo& prInfo = pr->info(); in setPixelRef() local
190 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()