Searched refs:SkBitmapCache (Results 1 - 7 of 7) sorted by relevance

/external/skia/tests/
H A DSkResourceCacheTest.cpp9 #include "SkBitmapCache.h"
26 return SkBitmapCache::Find(orig, roundedImageWidth, roundedImageHeight, &scaled);
96 SkBitmap::Allocator* allocator = SkBitmapCache::GetAllocator();
115 REPORTER_ASSERT(reporter, !SkBitmapCache::Add(cachedPR, SkIRect::MakeWH(4, 6), cachedBitmap, cache));
116 REPORTER_ASSERT(reporter, !SkBitmapCache::Find(cachedID, rect, &bm, cache));
118 REPORTER_ASSERT(reporter, !SkBitmapCache::Add(cachedPR, SkIRect::MakeXYWH(-1, 0, 5, 5), cachedBitmap, cache));
119 REPORTER_ASSERT(reporter, !SkBitmapCache::Find(cachedID, rect, &bm, cache));
122 REPORTER_ASSERT(reporter, !SkBitmapCache::Find(cachedID, rect, &bm, cache));
124 REPORTER_ASSERT(reporter, SkBitmapCache::Add(cachedPR, rect, cachedBitmap, cache));
126 REPORTER_ASSERT(reporter, SkBitmapCache
[all...]
/external/skia/src/lazy/
H A DSkCachingPixelRef.cpp9 #include "SkBitmapCache.h"
49 if (!SkBitmapCache::Find(
67 SkBitmapCache::Add(this, info.bounds(), fLockedBitmap);
/external/skia/src/core/
H A DSkBitmapCache.h21 class SkBitmapCache { class
H A DSkBitmapCache.cpp8 #include "SkBitmapCache.h"
28 SkBitmap::Allocator* SkBitmapCache::GetAllocator() {
95 bool SkBitmapCache::Find(const SkBitmap& src, SkScalar invScaleX, SkScalar invScaleY, SkBitmap* result,
106 void SkBitmapCache::Add(const SkBitmap& src, SkScalar invScaleX, SkScalar invScaleY,
119 bool SkBitmapCache::Find(uint32_t genID, const SkIRect& subset, SkBitmap* result,
126 bool SkBitmapCache::Add(SkPixelRef* pr, const SkIRect& subset, const SkBitmap& result,
H A DSkBitmapProcState.cpp8 #include "SkBitmapCache.h"
151 if (!SkBitmapCache::Find(fOrigBitmap, roundedDestWidth, roundedDestHeight, &fScaledBitmap)) {
163 SkBitmapCache::Add(fOrigBitmap, roundedDestWidth, roundedDestHeight, fScaledBitmap);
/external/skia/src/gpu/
H A DSkGrPixelRef.cpp15 #include "SkBitmapCache.h"
145 SkBitmap::Allocator* allocator = SkBitmapCache::GetAllocator();
167 if(!SkBitmapCache::Find(this->getGenerationID(), bounds, dst)) {
192 SkBitmapCache::Add(this, bounds, cachedBitmap);
/external/skia/
H A DAndroid.mk94 src/core/SkBitmapCache.cpp \

Completed in 129 milliseconds