Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DVectorDrawable.cpp550 void Tree::updateBitmapCache(SkBitmap* outCache, bool useStagingData) { in updateBitmapCache() argument
551 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() argument
563 if (!canReuseBitmap(*outCache, width, height)) { in allocateBitmapIfNeeded()
566 outCache->setInfo(info); in allocateBitmapIfNeeded()
568 outCache->allocPixels(info); in allocateBitmapIfNeeded()
DVectorDrawable.h693 bool allocateBitmapIfNeeded(SkBitmap* outCache, int width, int height);
695 void updateBitmapCache(SkBitmap* outCache, bool useStagingData);