Searched refs:PatchDescription (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/ |
H A D | PatchCache.h | 86 struct PatchDescription { struct in class:android::uirenderer::PatchCache 87 PatchDescription(): mPatch(nullptr), mBitmapWidth(0), mBitmapHeight(0), function in struct:android::uirenderer::PatchCache::PatchDescription 91 PatchDescription(const uint32_t bitmapWidth, const uint32_t bitmapHeight, function in struct:android::uirenderer::PatchCache::PatchDescription 101 static int compare(const PatchDescription& lhs, const PatchDescription& rhs); 103 bool operator==(const PatchDescription& other) const { 107 bool operator!=(const PatchDescription& other) const { 111 friend inline int strictly_order_type(const PatchDescription& lhs, 112 const PatchDescription& rhs) { 113 return PatchDescription [all...] |
H A D | PatchCache.cpp | 37 , mCache(LruCache<PatchDescription, Patch*>::kUnlimitedCapacity) 49 hash_t PatchCache::PatchDescription::hash() const { 58 int PatchCache::PatchDescription::compare(const PatchCache::PatchDescription& lhs, 59 const PatchCache::PatchDescription& rhs) { 60 return memcmp(&lhs, &rhs, sizeof(PatchDescription)); 74 LruCache<PatchDescription, Patch*>::Iterator i(mCache); 90 LruCache<PatchDescription, Patch*>::Iterator i(mCache); 92 const PatchDescription& key = i.key(); 229 const PatchDescription descriptio [all...] |
Completed in 51 milliseconds