Home
last modified time | relevance | path

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

/external/skia/src/image/
DSkImage_Generator.cpp43 int srcX, int srcY, CachingHint chint) const { in onReadPixels()
45 if (kDisallow_CachingHint == chint) { in onReadPixels()
59 if (this->getROPixels(&bm, chint)) { in onReadPixels()
73 bool SkImage_Generator::getROPixels(SkBitmap* bitmap, CachingHint chint) const { in getROPixels()
74 return fCache->lockAsBitmap(bitmap, this, chint); in getROPixels()
DSkImage.cpp52 int srcX, int srcY, CachingHint chint) const { in readPixels()
57 return as_IB(this)->onReadPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, rec.fX, rec.fY, chint); in readPixels()
60 bool SkImage::scalePixels(const SkPixmap& dst, SkFilterQuality quality, CachingHint chint) const { in scalePixels()
62 return this->readPixels(dst, 0, 0, chint); in scalePixels()
69 if (as_IB(this)->getROPixels(&bm, chint)) { in scalePixels()
257 bool SkImage::readPixels(const SkPixmap& pmap, int srcX, int srcY, CachingHint chint) const { in readPixels()
258 return this->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), srcX, srcY, chint); in readPixels()
DSkImage_Gpu.cpp50 bool SkImage_Gpu::getROPixels(SkBitmap* dst, CachingHint chint) const { in getROPixels()
67 if (kAllow_CachingHint == chint) { in getROPixels()
/external/skia/src/core/
DSkImageCacherator.cpp130 SkImage::CachingHint chint) { in tryLockAsBitmap() argument
139 if (SkImage::kAllow_CachingHint == chint) { in tryLockAsBitmap()
149 SkImage::CachingHint chint) { in lockAsBitmap() argument
150 if (this->tryLockAsBitmap(bitmap, client, chint)) { in lockAsBitmap()
181 if (SkImage::kAllow_CachingHint == chint) { in lockAsBitmap()
242 const SkImage* client, SkImage::CachingHint chint) { in lockTexture() argument
303 if (this->tryLockAsBitmap(&bitmap, client, chint)) { in lockTexture()
319 const SkImage* client, SkImage::CachingHint chint) { in lockAsTexture() argument
324 return GrImageTextureMaker(ctx, this, client, chint).refTextureForParams(params); in lockAsTexture()
/external/skia/src/gpu/
DGrImageIDTextureAdjuster.cpp117 const SkImage* client, SkImage::CachingHint chint) in GrImageTextureMaker() argument
122 , fCachingHint(chint) { in GrImageTextureMaker()
DGrImageIDTextureAdjuster.h76 SkImage::CachingHint chint);