Lines Matching refs:PathDescription
44 static bool compareRoundRects(const PathDescription::Shape::RoundRect& lhs,
45 const PathDescription::Shape::RoundRect& rhs) {
49 static bool compareArcs(const PathDescription::Shape::Arc& lhs, const PathDescription::Shape::Arc& rhs) {
58 PathDescription::PathDescription()
70 PathDescription::PathDescription(ShapeType type, const SkPaint* paint)
82 hash_t PathDescription::hash() const {
94 bool PathDescription::operator==(const PathDescription& rhs) const {
183 : mCache(LruCache<PathDescription, PathTexture*>::kUnlimitedCapacity)
215 void PathCache::operator()(PathDescription& entry, PathTexture*& texture) {
270 PathTexture* PathCache::addTexture(const PathDescription& entry, const SkPath *path,
292 void PathCache::generateTexture(const PathDescription& entry, SkBitmap* bitmap,
361 Vector<PathDescription> pathsToRemove;
366 LruCache<PathDescription, PathTexture*>::Iterator iter(mCache);
368 const PathDescription& key = iter.key();
383 PathDescription entry(ShapeType::Path, paint);
414 PathDescription entry(ShapeType::Path, paint);
424 PathDescription entry(ShapeType::Path, paint);
463 PathDescription entry(ShapeType::RoundRect, paint);
488 PathDescription entry(ShapeType::Circle, paint);
508 PathDescription entry(ShapeType::Oval, paint);
531 PathDescription entry(ShapeType::Rect, paint);
555 PathDescription entry(ShapeType::Arc, paint);