Searched refs:outCache (Results 1 – 2 of 2) sorted by relevance
550 void Tree::updateBitmapCache(SkBitmap* outCache, bool useStagingData) { in updateBitmapCache() argument551 outCache->eraseColor(SK_ColorTRANSPARENT); in updateBitmapCache()552 SkCanvas outCanvas(*outCache); in updateBitmapCache()557 float scaleX = outCache->width() / viewportWidth; in updateBitmapCache()558 float scaleY = outCache->height() / viewportHeight; in updateBitmapCache()562 bool Tree::allocateBitmapIfNeeded(SkBitmap* outCache, int width, int height) { in allocateBitmapIfNeeded() argument563 if (!canReuseBitmap(*outCache, width, height)) { in allocateBitmapIfNeeded()566 outCache->setInfo(info); in allocateBitmapIfNeeded()568 outCache->allocPixels(info); in allocateBitmapIfNeeded()
693 bool allocateBitmapIfNeeded(SkBitmap* outCache, int width, int height);695 void updateBitmapCache(SkBitmap* outCache, bool useStagingData);