Home
last modified time | relevance | path

Searched refs:cacher (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/
DGrImageIDTextureAdjuster.cpp113 static bool cacher_is_alpha_only(const SkImageCacherator& cacher) { in cacher_is_alpha_only() argument
114 return kAlpha_8_SkColorType == cacher.info().colorType(); in cacher_is_alpha_only()
116 GrImageTextureMaker::GrImageTextureMaker(GrContext* context, SkImageCacherator* cacher, in GrImageTextureMaker() argument
118 : INHERITED(context, cacher->info().width(), cacher->info().height(), in GrImageTextureMaker()
119 cacher_is_alpha_only(*cacher)) in GrImageTextureMaker()
120 , fCacher(cacher) in GrImageTextureMaker()
DGrImageIDTextureAdjuster.h75 GrImageTextureMaker(GrContext* context, SkImageCacherator* cacher, const SkImage* client,
DSkGpuDevice.cpp1486 } else if (SkImageCacherator* cacher = as_IB(image)->peekCacherator()) { in drawImage() local
1488 GrImageTextureMaker maker(fContext, cacher, image, SkImage::kAllow_CachingHint); in drawImage()
1517 } else if (SkImageCacherator* cacher = as_IB(image)->peekCacherator()) { in drawImageRect() local
1519 GrImageTextureMaker maker(fContext, cacher, image, SkImage::kAllow_CachingHint); in drawImageRect()
1574 if (SkImageCacherator* cacher = as_IB(image)->peekCacherator()) { in drawImageNine() local
1575 GrImageTextureMaker maker(fContext, cacher, image, SkImage::kAllow_CachingHint); in drawImageNine()
/external/chromium-trace/catapult/telemetry/telemetry/
Ddecorators.py30 cacher = args[0] if inspect.getargspec(obj).args[:1] == ['self'] else obj
31 cacher.__cache = cacher.__cache if hasattr(cacher, '__cache') else {}
33 if key not in cacher.__cache:
34 cacher.__cache[key] = obj(*args, **kwargs)
35 return cacher.__cache[key]
/external/skia/src/core/
DSkImageCacherator.h84 ScopedGenerator(SkImageCacherator* cacher) : fCacher(cacher) { in ScopedGenerator() argument
/external/skia/src/image/
DSkImage_Gpu.cpp301 if (SkImageCacherator* cacher = as_IB(this)->peekCacherator()) { in newTextureImage() local
302 GrImageTextureMaker maker(context, cacher, this, kDisallow_CachingHint); in newTextureImage()