Lines Matching defs:PathCache
31 #include "PathCache.h"
182 PathCache::PathCache()
191 PathCache::~PathCache() {
199 uint32_t PathCache::getSize() {
203 uint32_t PathCache::getMaxSize() {
211 void PathCache::operator()(PathDescription& entry, PathTexture*& texture) {
219 void PathCache::removeTexture(PathTexture* texture) {
240 PATH_LOGD("PathCache::delete name, size, mSize = %d, %d, %d", texture->id, size, mSize);
250 void PathCache::purgeCache(uint32_t width, uint32_t height) {
260 void PathCache::trim() {
270 PathTexture* PathCache::addTexture(const PathDescription& entry, const SkPath* path,
286 void PathCache::generateTexture(const PathDescription& entry, Bitmap& bitmap, PathTexture* texture,
295 PATH_LOGD("PathCache::get/create: name, size, mSize = %d, %d, %d", texture->id, size, mSize);
304 void PathCache::clear() {
308 void PathCache::generateTexture(Bitmap& bitmap, Texture* texture) {
318 PathCache::PathProcessor::PathProcessor(Caches& caches)
321 void PathCache::PathProcessor::onProcess(const sp<Task<sk_sp<Bitmap> > >& task) {
332 void PathCache::removeDeferred(const SkPath* path) {
337 void PathCache::clearGarbage() {
359 PathTexture* PathCache::get(const SkPath* path, const SkPaint* paint) {
389 void PathCache::remove(const SkPath* path, const SkPaint* paint) {
395 void PathCache::precache(const SkPath* path, const SkPaint* paint) {
437 PathTexture* PathCache::getRoundRect(float width, float height, float rx, float ry,
463 PathTexture* PathCache::getCircle(float radius, const SkPaint* paint) {
483 PathTexture* PathCache::getOval(float width, float height, const SkPaint* paint) {
506 PathTexture* PathCache::getRect(float width, float height, const SkPaint* paint) {
529 PathTexture* PathCache::getArc(float width, float height, float startAngle, float sweepAngle,