HomeSort by relevance Sort by last modified time
    Searched refs:SkBitmapCache (Results 1 - 14 of 14) sorted by null

  /external/skia/src/core/
SkBitmapCache.cpp 8 #include "SkBitmapCache.h"
63 class SkBitmapCache::Rec : public SkResourceCache::Rec {
174 void SkBitmapCache::PrivateDeleteRec(Rec* rec) { delete rec; }
176 SkBitmapCache::RecPtr SkBitmapCache::Alloc(const SkBitmapCacheDesc& desc, const SkImageInfo& info,
204 void SkBitmapCache::Add(RecPtr rec, SkBitmap* bitmap) {
208 bool SkBitmapCache::Find(const SkBitmapCacheDesc& desc, SkBitmap* result) {
210 return SkResourceCache::Find(BitmapKey(desc), SkBitmapCache::Rec::Finder, result);
SkBitmapCache.h 40 class SkBitmapCache {
SkSpecialImage.cpp 11 #include "SkBitmapCache.h"
421 if (SkBitmapCache::Find(desc, dst)) {
431 auto rec = SkBitmapCache::Alloc(desc, info, &pmap);
446 SkBitmapCache::Add(std::move(rec), dst);
  /external/skqp/src/core/
SkBitmapCache.cpp 8 #include "SkBitmapCache.h"
63 class SkBitmapCache::Rec : public SkResourceCache::Rec {
174 void SkBitmapCache::PrivateDeleteRec(Rec* rec) { delete rec; }
176 SkBitmapCache::RecPtr SkBitmapCache::Alloc(const SkBitmapCacheDesc& desc, const SkImageInfo& info,
204 void SkBitmapCache::Add(RecPtr rec, SkBitmap* bitmap) {
208 bool SkBitmapCache::Find(const SkBitmapCacheDesc& desc, SkBitmap* result) {
210 return SkResourceCache::Find(BitmapKey(desc), SkBitmapCache::Rec::Finder, result);
SkBitmapCache.h 40 class SkBitmapCache {
SkSpecialImage.cpp 11 #include "SkBitmapCache.h"
420 if (SkBitmapCache::Find(desc, dst)) {
430 auto rec = SkBitmapCache::Alloc(desc, info, &pmap);
445 SkBitmapCache::Add(std::move(rec), dst);
  /external/skia/src/image/
SkImage_GpuBase.cpp 18 #include "SkBitmapCache.h"
73 if (SkBitmapCache::Find(desc, dst)) {
79 SkBitmapCache::RecPtr rec = nullptr;
82 rec = SkBitmapCache::Alloc(desc, this->onImageInfo(), &pmap);
103 SkBitmapCache::Add(std::move(rec), dst);
SkImage_Lazy.cpp 11 #include "SkBitmapCache.h"
189 if (SkBitmapCache::Find(desc, bitmap)) {
196 SkBitmapCache::RecPtr cacheRec = SkBitmapCache::Alloc(desc, fInfo, &pmap);
202 SkBitmapCache::Add(std::move(cacheRec), bitmap);
  /external/skqp/src/image/
SkImage_Lazy.cpp 11 #include "SkBitmapCache.h"
188 if (SkBitmapCache::Find(desc, bitmap)) {
195 SkBitmapCache::RecPtr cacheRec = SkBitmapCache::Alloc(desc, fInfo, &pmap);
201 SkBitmapCache::Add(std::move(cacheRec), bitmap);
SkImage_GpuBase.cpp 16 #include "SkBitmapCache.h"
74 if (SkBitmapCache::Find(desc, dst)) {
80 SkBitmapCache::RecPtr rec = nullptr;
83 rec = SkBitmapCache::Alloc(desc, this->onImageInfo(), &pmap);
105 SkBitmapCache::Add(std::move(rec), dst);
  /external/skia/tests/
SkResourceCacheTest.cpp 9 #include "SkBitmapCache.h"
147 // SkBitmapCache is global, so other threads could be evicting our bitmaps. Loop a few times
171 REPORTER_ASSERT(reporter, !SkBitmapCache::Find(desc, &result));
ImageTest.cpp 328 #include "SkBitmapCache.h"
349 REPORTER_ASSERT(reporter, !SkBitmapCache::Find(desc, &cachedBitmap));
355 if (SkBitmapCache::Find(desc, &cachedBitmap)) {
368 REPORTER_ASSERT(reporter, !SkBitmapCache::Find(desc, &cachedBitmap));
    [all...]
  /external/skqp/tests/
SkResourceCacheTest.cpp 9 #include "SkBitmapCache.h"
147 // SkBitmapCache is global, so other threads could be evicting our bitmaps. Loop a few times
171 REPORTER_ASSERT(reporter, !SkBitmapCache::Find(desc, &result));
ImageTest.cpp 328 #include "SkBitmapCache.h"
349 REPORTER_ASSERT(reporter, !SkBitmapCache::Find(desc, &cachedBitmap));
355 if (SkBitmapCache::Find(desc, &cachedBitmap)) {
368 REPORTER_ASSERT(reporter, !SkBitmapCache::Find(desc, &cachedBitmap));
    [all...]

Completed in 59 milliseconds