Searched refs:origBitmap (Results 1 – 2 of 2) sorted by relevance
262 const SkBitmap& origBitmap = image->bitmap(); in drawPattern() local263 if (origBitmap.getPixels() == NULL && origBitmap.pixelRef() == NULL) { in drawPattern()274 bool imageIsSubSampled = image->origWidth() != origBitmap.width() || in drawPattern()275 image->origHeight() != origBitmap.height(); in drawPattern()279 scaleX = (float)image->origWidth() / origBitmap.width(); in drawPattern()280 scaleY = (float)image->origHeight() / origBitmap.height(); in drawPattern()289 if (!origBitmap.extractSubset(&bitmap, srcR)) { in drawPattern()
247 GLuint SkGL::BindNewTexture(const SkBitmap& origBitmap, SkPoint* max) { in BindNewTexture() argument249 const SkBitmap* bitmap = &origBitmap; in BindNewTexture()251 if (needToPromoteTo32bit(origBitmap)) { in BindNewTexture()252 origBitmap.copyTo(&tmpBitmap, SkBitmap::kARGB_8888_Config); in BindNewTexture()