Lines Matching defs:PathCache
29 #include "PathCache.h"
124 bool PathCache::canDrawAsConvexPath(SkPath* path, const SkPaint* paint) {
129 void PathCache::computePathBounds(const SkPath* path, const SkPaint* paint,
132 PathCache::computeBounds(bounds, paint, left, top, offset, width, height);
135 void PathCache::computeBounds(const SkRect& bounds, const SkPaint* paint,
182 PathCache::PathCache()
195 PathCache::~PathCache() {
203 uint32_t PathCache::getSize() {
207 uint32_t PathCache::getMaxSize() {
215 void PathCache::operator()(PathDescription& entry, PathTexture*& texture) {
223 void PathCache::removeTexture(PathTexture* texture) {
243 PATH_LOGD("PathCache::delete name, size, mSize = %d, %d, %d",
254 void PathCache::purgeCache(uint32_t width, uint32_t height) {
264 void PathCache::trim() {
270 PathTexture* PathCache::addTexture(const PathDescription& entry, const SkPath *path,
292 void PathCache::generateTexture(const PathDescription& entry, SkBitmap* bitmap,
301 PATH_LOGD("PathCache::get/create: name, size, mSize = %d, %d, %d",
311 void PathCache::clear() {
315 void PathCache::generateTexture(SkBitmap& bitmap, Texture* texture) {
325 PathCache::PathProcessor::PathProcessor(Caches& caches):
329 void PathCache::PathProcessor::onProcess(const sp<Task<SkBitmap*> >& task) {
335 PathCache::computePathBounds(&t->path, &t->paint, left, top, offset, width, height);
355 void PathCache::removeDeferred(const SkPath* path) {
360 void PathCache::clearGarbage() {
382 PathTexture* PathCache::get(const SkPath* path, const SkPaint* paint) {
413 void PathCache::remove(const SkPath* path, const SkPaint* paint) {
419 void PathCache::precache(const SkPath* path, const SkPaint* paint) {
461 PathTexture* PathCache::getRoundRect(float width, float height,
487 PathTexture* PathCache::getCircle(float radius, const SkPaint* paint) {
507 PathTexture* PathCache::getOval(float width, float height, const SkPaint* paint) {
530 PathTexture* PathCache::getRect(float width, float height, const SkPaint* paint) {
553 PathTexture* PathCache::getArc(float width, float height,