Lines Matching defs:PathTexture
60 struct PathTexture: public Texture {
61 PathTexture(Caches& caches): Texture(caches) {
64 ~PathTexture() {
97 }; // struct PathTexture
181 class PathCache: public OnEntryRemoved<PathDescription, PathTexture*> {
190 void operator()(PathDescription& path, PathTexture*& texture);
210 PathTexture* getRoundRect(float width, float height, float rx, float ry, SkPaint* paint);
211 PathTexture* getCircle(float radius, SkPaint* paint);
212 PathTexture* getOval(float width, float height, SkPaint* paint);
213 PathTexture* getRect(float width, float height, SkPaint* paint);
214 PathTexture* getArc(float width, float height, float startAngle, float sweepAngle,
216 PathTexture* get(SkPath* path, SkPaint* paint);
253 PathTexture* addTexture(const PathDescription& entry,
255 PathTexture* addTexture(const PathDescription& entry, SkBitmap* bitmap);
261 void generateTexture(const PathDescription& entry, SkBitmap* bitmap, PathTexture* texture,
264 PathTexture* get(const PathDescription& entry) {
280 void removeTexture(PathTexture* texture);
295 PathTask(SkPath* path, SkPaint* paint, PathTexture* texture):
305 PathTexture* texture;
319 LruCache<PathDescription, PathTexture*> mCache;