Home
last modified time | relevance | path

Searched refs:PathDescription (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/
DPathCache.h128 struct PathDescription { struct
129 HASHABLE_TYPE(PathDescription);
167 PathDescription(); argument
168 PathDescription(ShapeType shapeType, const SkPaint* paint);
176 class PathCache: public OnEntryRemoved<PathDescription, PathTexture*> {
185 void operator()(PathDescription& path, PathTexture*& texture) override;
237 PathTexture* addTexture(const PathDescription& entry,
244 void generateTexture(const PathDescription& entry, Bitmap& bitmap, PathTexture* texture,
247 PathTexture* get(const PathDescription& entry) { in get()
273 LruCache<PathDescription, PathTexture*> mCache;
DPathCache.cpp46 static bool compareRoundRects(const PathDescription::Shape::RoundRect& lhs, in compareRoundRects()
47 const PathDescription::Shape::RoundRect& rhs) { in compareRoundRects()
51 static bool compareArcs(const PathDescription::Shape::Arc& lhs, const PathDescription::Shape::Arc& … in compareArcs()
60 PathDescription::PathDescription() in PathDescription() function in android::uirenderer::PathDescription
72 PathDescription::PathDescription(ShapeType type, const SkPaint* paint) in PathDescription() function in android::uirenderer::PathDescription
84 hash_t PathDescription::hash() const { in hash()
96 bool PathDescription::operator==(const PathDescription& rhs) const { in operator ==()
180 : mCache(LruCache<PathDescription, PathTexture*>::kUnlimitedCapacity) in PathCache()
212 void PathCache::operator()(PathDescription& entry, PathTexture*& texture) { in operator ()()
274 PathTexture* PathCache::addTexture(const PathDescription& entry, const SkPath *path, in addTexture()
[all …]