Lines Matching refs:PathTexture
60 struct PathTexture: public Texture { struct
61 PathTexture(Caches& caches): Texture(caches) { in PathTexture() function
64 ~PathTexture() { in ~PathTexture() argument
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) { in get()
280 void removeTexture(PathTexture* texture);
295 PathTask(SkPath* path, SkPaint* paint, PathTexture* texture): in PathTask()
305 PathTexture* texture;
319 LruCache<PathDescription, PathTexture*> mCache;