Home
last modified time | relevance | path

Searched refs:SkImageCacherator (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/core/
DSkImageCacherator.cpp28 SkImageCacherator* SkImageCacherator::NewFromGenerator(SkImageGenerator* gen, in NewFromGenerator()
60 return new SkImageCacherator(gen, gen->getInfo().makeWH(subset->width(), subset->height()), in NewFromGenerator()
64 SkImageCacherator::SkImageCacherator(SkImageGenerator* gen, const SkImageInfo& info, in SkImageCacherator() function in SkImageCacherator
72 SkData* SkImageCacherator::refEncoded(GrContext* ctx) { in refEncoded()
87 bool SkImageCacherator::generateBitmap(SkBitmap* bitmap) { in generateBitmap()
112 bool SkImageCacherator::directGeneratePixels(const SkImageInfo& info, void* pixels, size_t rb, in directGeneratePixels()
125 bool SkImageCacherator::lockAsBitmapOnlyIfAlreadyCached(SkBitmap* bitmap) { in lockAsBitmapOnlyIfAlreadyCached()
129 bool SkImageCacherator::tryLockAsBitmap(SkBitmap* bitmap, const SkImage* client, in tryLockAsBitmap()
148 bool SkImageCacherator::lockAsBitmap(SkBitmap* bitmap, const SkImage* client, in lockAsBitmap()
241 GrTexture* SkImageCacherator::lockTexture(GrContext* ctx, const GrUniqueKey& key, in lockTexture()
[all …]
DSkImageCacherator.h24 class SkImageCacherator {
27 static SkImageCacherator* NewFromGenerator(SkImageGenerator*, const SkIRect* subset = nullptr);
70 SkImageCacherator(SkImageGenerator*, const SkImageInfo&, const SkIPoint&, uint32_t uniqueID);
82 SkImageCacherator* fCacher;
84 ScopedGenerator(SkImageCacherator* cacher) : fCacher(cacher) { in ScopedGenerator()
/external/skia/src/image/
DSkImage_Generator.cpp19 SkImage_Generator(SkImageCacherator* cache) in SkImage_Generator()
26 SkImageCacherator* peekCacherator() const override { return fCache; } in peekCacherator()
35 SkAutoTDelete<SkImageCacherator> fCache;
98 SkImageCacherator* cache = SkImageCacherator::NewFromGenerator(generator, subset); in NewFromGenerator()
DSkImage_Base.h18 class SkImageCacherator; variable
36 virtual SkImageCacherator* peekCacherator() const { return nullptr; } in peekCacherator()
DSkImage_Gpu.cpp301 if (SkImageCacherator* cacher = as_IB(this)->peekCacherator()) { in newTextureImage()
/external/skia/src/gpu/
DGrImageIDTextureAdjuster.h16 class SkImageCacherator; variable
75 GrImageTextureMaker(GrContext* context, SkImageCacherator* cacher, const SkImage* client,
88 SkImageCacherator* fCacher;
DGrImageIDTextureAdjuster.cpp113 static bool cacher_is_alpha_only(const SkImageCacherator& cacher) { in cacher_is_alpha_only()
116 GrImageTextureMaker::GrImageTextureMaker(GrContext* context, SkImageCacherator* cacher, in GrImageTextureMaker()
DSkGpuDevice.cpp1486 } else if (SkImageCacherator* cacher = as_IB(image)->peekCacherator()) { in drawImage()
1517 } else if (SkImageCacherator* cacher = as_IB(image)->peekCacherator()) { in drawImageRect()
1574 if (SkImageCacherator* cacher = as_IB(image)->peekCacherator()) { in drawImageNine()
/external/skia/gm/
Dimage_pict.cpp258 SkAutoTDelete<SkImageCacherator> fCache;
259 SkAutoTDelete<SkImageCacherator> fCacheSubset;
287 fCache.reset(SkImageCacherator::NewFromGenerator(gen)); in makeCaches()
293 fCacheSubset.reset(SkImageCacherator::NewFromGenerator(gen, &subset)); in makeCaches()
304 static void draw_as_bitmap(SkCanvas* canvas, SkImageCacherator* cache, SkScalar x, SkScalar y) { in draw_as_bitmap()
310 static void draw_as_tex(SkCanvas* canvas, SkImageCacherator* cache, SkScalar x, SkScalar y) { in draw_as_tex()
/external/skia/include/core/
DSkPixelRef.h393 friend class SkImageCacherator; variable
/external/skia/gyp/
Dcore.gypi145 '<(skia_src_path)/core/SkImageCacherator.h',
146 '<(skia_src_path)/core/SkImageCacherator.cpp',
/external/skia/
DAndroid.mk173 src/core/SkImageCacherator.cpp \