Searched refs:PathDescription (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/ |
D | PathCache.cpp | 44 static bool compareRoundRects(const PathDescription::Shape::RoundRect& lhs, in compareRoundRects() 45 const PathDescription::Shape::RoundRect& rhs) { in compareRoundRects() 49 static bool compareArcs(const PathDescription::Shape::Arc& lhs, const PathDescription::Shape::Arc& … in compareArcs() 58 PathDescription::PathDescription() in PathDescription() function in android::uirenderer::PathDescription 70 PathDescription::PathDescription(ShapeType type, const SkPaint* paint) in PathDescription() function in android::uirenderer::PathDescription 82 hash_t PathDescription::hash() const { in hash() 94 bool PathDescription::operator==(const PathDescription& rhs) const { in operator ==() 183 : mCache(LruCache<PathDescription, PathTexture*>::kUnlimitedCapacity) in PathCache() 215 void PathCache::operator()(PathDescription& entry, PathTexture*& texture) { in operator ()() 270 PathTexture* PathCache::addTexture(const PathDescription& entry, const SkPath *path, in addTexture() [all …]
|
D | PathCache.h | 122 struct PathDescription { struct 123 HASHABLE_TYPE(PathDescription); 161 PathDescription(); argument 162 PathDescription(ShapeType shapeType, const SkPaint* paint); 170 class PathCache: public OnEntryRemoved<PathDescription, PathTexture*> { 179 void operator()(PathDescription& path, PathTexture*& texture) override; 237 PathTexture* addTexture(const PathDescription& entry, 239 PathTexture* addTexture(const PathDescription& entry, SkBitmap* bitmap); 245 void generateTexture(const PathDescription& entry, SkBitmap* bitmap, PathTexture* texture, 248 PathTexture* get(const PathDescription& entry) { in get() [all …]
|