Home
last modified time | relevance | path

Searched refs:SkPixelRef (Results 1 – 25 of 33) sorted by relevance

12

/external/skia/src/core/
DSkPixelRef.cpp43 SkPixelRef::SkPixelRef(const SkImageInfo& info) in SkPixelRef() function in SkPixelRef
61 SkPixelRef::~SkPixelRef() { in ~SkPixelRef()
72 void SkPixelRef::needsNewGenID() { in needsNewGenID()
77 void SkPixelRef::cloneGenID(const SkPixelRef& that) { in cloneGenID()
102 void SkPixelRef::setPreLocked(void* pixels, size_t rowBytes, SkColorTable* ctable) { in setPreLocked()
115 bool SkPixelRef::lockPixelsInsideMutex() { in lockPixelsInsideMutex()
137 bool SkPixelRef::lockPixels() { in lockPixels()
163 bool SkPixelRef::lockPixels(LockRec* rec) { in lockPixels()
171 void SkPixelRef::unlockPixels() { in unlockPixels()
190 bool SkPixelRef::requestLock(const LockRequest& request, LockResult* result) { in requestLock()
[all …]
DSkBitmap.cpp185 SkPixelRef* SkBitmap::setPixelRef(SkPixelRef* pr, int dx, int dy) { in setPixelRef()
265 SkPixelRef* pr = SkMallocPixelRef::NewDirect(fInfo, p, fRowBytes, ctable); in setPixels()
304 SkPixelRef* pr = defaultFactory.create(correctedInfo, rowBytes, nullptr); in tryAllocPixels()
335 SkPixelRef* pr = factory->create(correctedInfo, correctedInfo.minRowBytes(), ctable); in tryAllocPixels()
371 SkPixelRef* pr = SkMallocPixelRef::NewWithProc(correctedInfo, rb, ct, pixels, releaseProc, in installPixels()
446 SkPixelRef* pr = SkMallocPixelRef::NewAllocate(info, dst->rowBytes(), ctable); in allocPixelRef()
747 SkPixelRef* pixelRef = fPixelRef->deepCopy(this->colorType(), this->profileType(), &subset); in extractSubset()
906 SkPixelRef* dstPixelRef = tmpDst.pixelRef(); in copyTo()
927 SkPixelRef* pixelRef = fPixelRef->deepCopy(dstCT, dstPT, nullptr); in deepCopyTo()
1207 SkAutoTUnref<SkPixelRef> pr(SkMallocPixelRef::NewWithData(info, info.minRowBytes(), in ReadRawPixels()
[all …]
DSkSpecialSurface.cpp70 SkPixelRef* pr, in SkSpecialSurface_Raster()
103 SkAutoTUnref<SkPixelRef> pr(SkMallocPixelRef::NewZeroed(info, 0, nullptr)); in NewRaster()
DSkMallocPixelRef.cpp214 SkPixelRef* SkMallocPixelRef::PRFactory::create(const SkImageInfo& info, size_t rowBytes, in create()
219 SkPixelRef* SkMallocPixelRef::ZeroedPRFactory::create(const SkImageInfo& info, size_t rowBytes, in create()
DSkBitmapCache.h66 static bool Add(SkPixelRef*, const SkIRect& subset, const SkBitmap& result,
DSkResourceCache.cpp78 class SkOneShotDiscardablePixelRef : public SkPixelRef {
100 typedef SkPixelRef INHERITED;
/external/skia/include/core/
DSkMallocPixelRef.h17 class SK_API SkMallocPixelRef : public SkPixelRef {
90 SkPixelRef* create(const SkImageInfo&, size_t rowBytes, SkColorTable*) override;
95 SkPixelRef* create(const SkImageInfo&, size_t rowBytes, SkColorTable*) override;
124 typedef SkPixelRef INHERITED;
DSkPixelRef.h37 class SK_API SkPixelRef : public SkRefCnt {
39 explicit SkPixelRef(const SkImageInfo&);
40 virtual ~SkPixelRef();
241 virtual SkPixelRef* deepCopy(SkColorType, SkColorProfileType, const SkIRect* /*subset*/) { in deepCopy()
389 void cloneGenID(const SkPixelRef&);
406 virtual SkPixelRef* create(const SkImageInfo&, size_t rowBytes, SkColorTable*) = 0;
DSkBitmap.h22 class SkPixelRef; variable
408 SkPixelRef* pixelRef() const { return fPixelRef; } in pixelRef()
430 SkPixelRef* setPixelRef(SkPixelRef* pr, int dx, int dy);
432 SkPixelRef* setPixelRef(SkPixelRef* pr, const SkIPoint& origin) { in setPixelRef()
436 SkPixelRef* setPixelRef(SkPixelRef* pr) { in setPixelRef()
746 mutable SkPixelRef* fPixelRef;
DSkBitmapDevice.h28 class SkPixelRef; variable
133 SkPixelRef* getPixelRef() const { return fBitmap.pixelRef(); } in getPixelRef()
135 SkPixelRef* setPixelRef(SkPixelRef* pr) { in setPixelRef()
/external/skia/include/gpu/
DSkGrPixelRef.h21 class SK_API SkROLockPixelsPixelRef : public SkPixelRef {
33 typedef SkPixelRef INHERITED;
53 SkPixelRef* deepCopy(SkColorType, SkColorProfileType,
/external/skia/src/image/
DSkSurface_Raster.cpp23 SkSurface_Raster(SkPixelRef*, const SkSurfaceProps*);
99 SkSurface_Raster::SkSurface_Raster(SkPixelRef* pr, const SkSurfaceProps* props) in SkSurface_Raster()
125 if (SkPixelRef* pr = fBitmap.pixelRef()) { in onNewImageSnapshot()
139 if (SkPixelRef* pr = fBitmap.pixelRef()) { in onRestoreBackingMutability()
199 SkAutoTUnref<SkPixelRef> pr(SkMallocPixelRef::NewZeroed(info, rowBytes, nullptr)); in NewRaster()
DSkImage_Raster.cpp77 SkImage_Raster(const SkImageInfo&, SkPixelRef*, const SkIPoint& origin, size_t rowBytes);
79 SkPixelRef* getPixelRef() const { return fBitmap.pixelRef(); } in getPixelRef()
125 SkImage_Raster::SkImage_Raster(const Info& info, SkPixelRef* pr, const SkIPoint& pixelRefOrigin, in SkImage_Raster()
154 SkPixelRef* pr = fBitmap.pixelRef(); in onRefEncoded()
238 SkImage* SkNewImageFromPixelRef(const SkImageInfo& info, SkPixelRef* pr, in SkNewImageFromPixelRef()
273 const SkPixelRef* SkBitmapImageGetPixelRef(const SkImage* image) { in SkBitmapImageGetPixelRef()
DSkImagePriv.h15 extern SkImage* SkNewImageFromPixelRef(const SkImageInfo&, SkPixelRef*,
46 extern const SkPixelRef* SkBitmapImageGetPixelRef(const SkImage* rasterImage);
DSkImage.cpp282 SkPixelRef* pr = bm.pixelRef(); in NewFromBitmap()
/external/skia/src/lazy/
DSkDiscardablePixelRef.h21 class SkDiscardablePixelRef : public SkPixelRef {
72 typedef SkPixelRef INHERITED;
/external/skia/tests/
DPDFInvalidBitmapTest.cpp22 class InvalidPixelRef : public SkPixelRef {
24 InvalidPixelRef(const SkImageInfo& info) : SkPixelRef(info) {} in InvalidPixelRef()
DPixelRefTest.cpp61 class TestListener : public SkPixelRef::GenIDChangeListener {
72 SkAutoTUnref<SkPixelRef> pixelRef(SkMallocPixelRef::NewAllocate(info, 0, nullptr)); in DEF_TEST()
DDrawBitmapRectTest.cpp22 class FailurePixelRef : public SkPixelRef {
24 FailurePixelRef(const SkImageInfo& info) : SkPixelRef(info) {} in FailurePixelRef()
DBitmapTest.cpp46 SkPixelRef* pr = SkMallocPixelRef::NewAllocate(info, info.minRowBytes(), nullptr); in test_bigalloc()
/external/skia/src/gpu/
DSkGrPriv.h26 class SkPixelRef; variable
44 void GrInstallBitmapUniqueKeyInvalidator(const GrUniqueKey& key, SkPixelRef* pixelRef);
DSkGr.cpp172 SkPixelRef* fPR;
175 PixelRef_GrYUVProvider(SkPixelRef* pr) : fPR(pr) {} in PixelRef_GrYUVProvider()
190 SkPixelRef* pixelRef = bm.pixelRef(); in create_texture_from_yuv()
275 void GrInstallBitmapUniqueKeyInvalidator(const GrUniqueKey& key, SkPixelRef* pixelRef) { in GrInstallBitmapUniqueKeyInvalidator()
276 class Invalidator : public SkPixelRef::GenIDChangeListener { in GrInstallBitmapUniqueKeyInvalidator()
DSkGrPixelRef.cpp134 SkPixelRef* SkGrPixelRef::deepCopy(SkColorType dstCT, SkColorProfileType dstPT, in deepCopy()
/external/skia/src/android/
DSkBitmapRegionCodec.cpp133 SkPixelRef* pr = SkRef(bitmap->pixelRef()); in decodeRegion()
/external/skia/src/images/
DSkImageDecoder.cpp155 if (SkPixelRef* pr = bm->pixelRef()) { in DecodeFile()

12