Lines Matching refs:ShapeCache
308 class ShapeCache: public OnEntryRemoved<Entry, PathTexture*> {
310 ShapeCache(const char* name, const char* propertyName, float defaultSize);
311 ~ShapeCache();
361 }; // class ShapeCache
363 class RoundRectShapeCache: public ShapeCache<RoundRectShapeCacheEntry> {
370 class CircleShapeCache: public ShapeCache<CircleShapeCacheEntry> {
377 class OvalShapeCache: public ShapeCache<OvalShapeCacheEntry> {
384 class RectShapeCache: public ShapeCache<RectShapeCacheEntry> {
391 class ArcShapeCache: public ShapeCache<ArcShapeCacheEntry> {
404 ShapeCache<Entry>::ShapeCache(const char* name, const char* propertyName, float defaultSize):
424 ShapeCache<Entry>::~ShapeCache() {
430 void ShapeCache<Entry>::init() {
445 uint32_t ShapeCache<Entry>::getSize() {
450 uint32_t ShapeCache<Entry>::getMaxSize() {
455 void ShapeCache<Entry>::setMaxSize(uint32_t maxSize) {
467 void ShapeCache<Entry>::operator()(Entry& path, PathTexture*& texture) {
476 void ShapeCache<Entry>::removeTexture(PathTexture* texture) {
481 SHAPE_LOGD("ShapeCache::callback: delete %s: name, size, mSize = %d, %d, %d",
493 PathTexture* ShapeCache<Entry>::addTexture(const Entry& entry, const SkPath *path,
551 SHAPE_LOGD("ShapeCache::get: create %s: name, size, mSize = %d, %d, %d",
565 void ShapeCache<Entry>::clear() {
570 void ShapeCache<Entry>::generateTexture(SkBitmap& bitmap, Texture* texture) {