Home
last modified time | relevance | path

Searched refs:invScaleY (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/core/
DSkBitmapCache.cpp95 bool SkBitmapCache::Find(const SkBitmap& src, SkScalar invScaleX, SkScalar invScaleY, SkBitmap* res… in Find() argument
97 if (0 == invScaleX || 0 == invScaleY) { in Find()
101 BitmapKey key(src.getGenerationID(), invScaleX, invScaleY, get_bounds_from_bitmap(src)); in Find()
106 void SkBitmapCache::Add(const SkBitmap& src, SkScalar invScaleX, SkScalar invScaleY, in Add() argument
108 if (0 == invScaleX || 0 == invScaleY) { in Add()
113 BitmapRec* rec = SkNEW_ARGS(BitmapRec, (src.getGenerationID(), invScaleX, invScaleY, in Add()
DSkBitmapCache.h33 static bool Find(const SkBitmap& src, SkScalar invScaleX, SkScalar invScaleY, SkBitmap* result,
39 static void Add(const SkBitmap& src, SkScalar invScaleX, SkScalar invScaleY,
DSkBitmapProcState.cpp133 SkScalar invScaleY = fInvMatrix.getScaleY(); in processHQRequest() local
140 invScaleY = scale.height(); in processHQRequest()
142 if (SkScalarNearlyEqual(invScaleX, 1) && SkScalarNearlyEqual(invScaleY, 1)) { in processHQRequest()
147 SkScalar trueDestHeight = fOrigBitmap.height() / invScaleY; in processHQRequest()