/external/chromium_org/third_party/skia/tests/ |
D | SkResourceCacheTest.cpp | 25 return SkBitmapCache::Find(orig, roundedImageWidth, roundedImageHeight, &scaled); in is_in_scaled_image_cache() 93 SkBitmap::Allocator* allocator = SkBitmapCache::GetAllocator(); in DEF_TEST() 110 …REPORTER_ASSERT(reporter, !SkBitmapCache::Add(cachedBitmap.getGenerationID(), SkIRect::MakeWH(4, 6… in DEF_TEST() 111 … REPORTER_ASSERT(reporter, !SkBitmapCache::Find(cachedBitmap.getGenerationID(), rect, &bm, cache)); in DEF_TEST() 113 …REPORTER_ASSERT(reporter, !SkBitmapCache::Add(cachedBitmap.getGenerationID(), SkIRect::MakeXYWH(-1… in DEF_TEST() 114 … REPORTER_ASSERT(reporter, !SkBitmapCache::Find(cachedBitmap.getGenerationID(), rect, &bm, cache)); in DEF_TEST() 117 … REPORTER_ASSERT(reporter, !SkBitmapCache::Find(cachedBitmap.getGenerationID(), rect, &bm, cache)); in DEF_TEST() 119 …REPORTER_ASSERT(reporter, SkBitmapCache::Add(cachedBitmap.getGenerationID(), rect, cachedBitmap, c… in DEF_TEST() 121 … REPORTER_ASSERT(reporter, SkBitmapCache::Find(cachedBitmap.getGenerationID(), rect, &bm, cache)); in DEF_TEST() 126 SkBitmap::Allocator* allocator = SkBitmapCache::GetAllocator(); in DEF_TEST() [all …]
|
/external/skia/src/effects/gradients/ |
D | SkBitmapCache.cpp | 12 struct SkBitmapCache::Entry { 36 SkBitmapCache::SkBitmapCache(int max) : fMaxEntries(max) { in SkBitmapCache() function in SkBitmapCache 43 SkBitmapCache::~SkBitmapCache() { in ~SkBitmapCache() 54 SkBitmapCache::Entry* SkBitmapCache::detach(Entry* entry) const { in detach() 72 void SkBitmapCache::attachToHead(Entry* entry) const { in attachToHead() 83 bool SkBitmapCache::find(const void* buffer, size_t size, SkBitmap* bm) const { in find() 102 void SkBitmapCache::add(const void* buffer, size_t len, const SkBitmap& bm) { in add() 120 void SkBitmapCache::validate() const { in validate()
|
D | SkBitmapCache.h | 15 class SkBitmapCache : SkNoncopyable { 17 SkBitmapCache(int maxEntries); 18 ~SkBitmapCache(); 42 AutoValidate(const SkBitmapCache* bc) : fBC(bc) { bc->validate(); } in AutoValidate() 45 const SkBitmapCache* fBC;
|
D | SkGradientShader.cpp | 609 static SkBitmapCache* gCache; in getGradientTableBitmap() 615 gCache = SkNEW_ARGS(SkBitmapCache, (MAX_NUM_CACHED_GRADIENT_BITMAPS)); in getGradientTableBitmap()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkBitmapCache.cpp | 13 SkBitmap::Allocator* SkBitmapCache::GetAllocator() { in GetAllocator() 76 bool SkBitmapCache::Find(const SkBitmap& src, SkScalar invScaleX, SkScalar invScaleY, SkBitmap* res… in Find() 87 void SkBitmapCache::Add(const SkBitmap& src, SkScalar invScaleX, SkScalar invScaleY, in Add() 99 bool SkBitmapCache::Find(uint32_t genID, const SkIRect& subset, SkBitmap* result, in Find() 106 bool SkBitmapCache::Add(uint32_t genID, const SkIRect& subset, const SkBitmap& result, in Add()
|
D | SkBitmapCache.h | 17 class SkBitmapCache {
|
D | SkBitmapProcState.cpp | 176 … if (!SkBitmapCache::Find(fOrigBitmap, roundedDestWidth, roundedDestHeight, &fScaledBitmap)) { in possiblyScaleImage() 193 SkBitmapCache::Add(fOrigBitmap, roundedDestWidth, roundedDestHeight, fScaledBitmap); in possiblyScaleImage() 289 if (!SkBitmapCache::Find(fOrigBitmap, 1, 1, &fScaledBitmap)) { in lockBaseBitmap() 297 SkBitmapCache::Add(fOrigBitmap, 1, 1, fScaledBitmap); in lockBaseBitmap()
|
/external/chromium_org/third_party/skia/src/lazy/ |
D | SkCachingPixelRef.cpp | 48 if (!SkBitmapCache::Find(this->getGenerationID(), in onNewLockPixels() 61 SkBitmapCache::Add(this->getGenerationID(), in onNewLockPixels()
|
/external/chromium_org/third_party/skia/src/gpu/ |
D | SkGrPixelRef.cpp | 154 SkBitmap::Allocator* allocator = SkBitmapCache::GetAllocator(); in tryAllocBitmapPixels() 176 if(!SkBitmapCache::Find(this->getGenerationID(), bounds, dst)) { in onReadPixels() 201 SkBitmapCache::Add(this->getGenerationID(), bounds, cachedBitmap); in onReadPixels()
|
/external/skia/gyp/ |
D | effects.gypi | 63 '<(skia_src_path)/effects/gradients/SkBitmapCache.cpp', 64 '<(skia_src_path)/effects/gradients/SkBitmapCache.h',
|
/external/chromium_org/third_party/skia/gyp/ |
D | core.gypi | 22 '<(skia_src_path)/core/SkBitmapCache.cpp',
|
/external/skia/experimental/SimpleiOSApp/SimpleiOSApp.xcodeproj/ |
D | project.pbxproj | 199 …03C140D512A0036A311 /* SkBitmapCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 26D90DF614… 806 …90036A311 /* SkBitmapCache.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =… 807 …51290036A311 /* SkBitmapCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType … 1736 26D90DF6140D51290036A311 /* SkBitmapCache.cpp */, 1737 26D90DF7140D51290036A311 /* SkBitmapCache.h */, 2674 26D9103C140D512A0036A311 /* SkBitmapCache.cpp in Sources */,
|
/external/chromium_org/third_party/skia/experimental/SimpleiOSApp/SimpleiOSApp.xcodeproj/ |
D | project.pbxproj | 199 …03C140D512A0036A311 /* SkBitmapCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 26D90DF614… 806 …90036A311 /* SkBitmapCache.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =… 807 …51290036A311 /* SkBitmapCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType … 1736 26D90DF6140D51290036A311 /* SkBitmapCache.cpp */, 1737 26D90DF7140D51290036A311 /* SkBitmapCache.h */, 2674 26D9103C140D512A0036A311 /* SkBitmapCache.cpp in Sources */,
|
/external/skia/ |
D | Android.mk | 299 src/effects/gradients/SkBitmapCache.cpp \
|
/external/chromium_org/third_party/skia/experimental/iOSSampleApp/iOSSampleApp.xcodeproj/ |
D | project.pbxproj | 155 …35713B122A30064D447 /* SkBitmapCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 260E033A13… 845 …30064D447 /* SkBitmapCache.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =… 846 …22A30064D447 /* SkBitmapCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType … 1925 260E033A13B122A30064D447 /* SkBitmapCache.cpp */, 1926 260E033B13B122A30064D447 /* SkBitmapCache.h */, 3052 260E035713B122A30064D447 /* SkBitmapCache.cpp in Sources */,
|
/external/skia/experimental/iOSSampleApp/iOSSampleApp.xcodeproj/ |
D | project.pbxproj | 155 …35713B122A30064D447 /* SkBitmapCache.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 260E033A13… 845 …30064D447 /* SkBitmapCache.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =… 846 …22A30064D447 /* SkBitmapCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType … 1925 260E033A13B122A30064D447 /* SkBitmapCache.cpp */, 1926 260E033B13B122A30064D447 /* SkBitmapCache.h */, 3052 260E035713B122A30064D447 /* SkBitmapCache.cpp in Sources */,
|
/external/chromium_org/skia/ |
D | skia_library.target.darwin-arm64.mk | 53 third_party/skia/src/core/SkBitmapCache.cpp \
|
D | skia_library.target.linux-arm64.mk | 53 third_party/skia/src/core/SkBitmapCache.cpp \
|
D | skia_library.target.linux-mips.mk | 53 third_party/skia/src/core/SkBitmapCache.cpp \
|
D | skia_library.target.darwin-x86.mk | 54 third_party/skia/src/core/SkBitmapCache.cpp \
|
D | skia_library.target.linux-arm.mk | 53 third_party/skia/src/core/SkBitmapCache.cpp \
|
D | skia_library.target.darwin-mips64.mk | 53 third_party/skia/src/core/SkBitmapCache.cpp \
|
D | skia_library.target.darwin-arm.mk | 53 third_party/skia/src/core/SkBitmapCache.cpp \
|
D | skia_library.target.darwin-mips.mk | 53 third_party/skia/src/core/SkBitmapCache.cpp \
|
D | skia_library.target.linux-mips64.mk | 53 third_party/skia/src/core/SkBitmapCache.cpp \
|