Lines Matching refs:fBitmap
57 SkASSERT(SkBitmap::kNo_Config != fBitmap.config()); in getInfo()
59 bitmap->setConfig(fBitmap.config(), fBitmap.width(), fBitmap.height()); in getInfo()
67 bitmap->setIsOpaque(fBitmap.isOpaque()); in isOpaque()
98 if (SkBitmap::kNo_Config != fBitmap.config()) { in prepareBitmap()
99 fConfig = fBitmap.config(); in prepareBitmap()
102 if (NULL != fBitmap.getPixels() || in prepareBitmap()
103 (SkBitmap::kNo_Config != fBitmap.config() && in prepareBitmap()
108 SkASSERT(fBitmap.getPixels() == NULL); in prepareBitmap()
124 if (this->onDecode(codec, fStream, &fBitmap, fConfig, mode)) { in prepareBitmap()
138 fBitmap.reset(); in prepareBitmap()
143 if (NULL == fBitmap.getPixels()) { in onLockPixels()
148 *ct = fBitmap.getColorTable(); in onLockPixels()
150 return fBitmap.getPixels(); in onLockPixels()
156 if (fBitmap.getPixels()) { in ramUsed()
157 size = fBitmap.getSize(); in ramUsed()
158 if (fBitmap.getColorTable()) { in ramUsed()
159 size += fBitmap.getColorTable()->count() * sizeof(SkPMColor); in ramUsed()