Home
last modified time | relevance | path

Searched refs:origBitmap (Results 1 – 2 of 2) sorted by relevance

/external/webkit/WebCore/platform/graphics/android/
DImageAndroid.cpp262 const SkBitmap& origBitmap = image->bitmap(); in drawPattern() local
263 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()
/external/skia/src/gl/
DSkGL.cpp247 GLuint SkGL::BindNewTexture(const SkBitmap& origBitmap, SkPoint* max) { in BindNewTexture() argument
249 const SkBitmap* bitmap = &origBitmap; in BindNewTexture()
251 if (needToPromoteTo32bit(origBitmap)) { in BindNewTexture()
252 origBitmap.copyTo(&tmpBitmap, SkBitmap::kARGB_8888_Config); in BindNewTexture()