Home
last modified time | relevance | path

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

/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.cpp219 SkPixelRef* SkBitmap::setPixelRef(SkPixelRef* pr, int dx, int dy) { in setPixelRef()
225 void SkBitmap::setPixelRef(sk_sp<SkPixelRef> pr, int dx, int dy) { in setPixelRef()
303 sk_sp<SkPixelRef> pr(SkMallocPixelRef::NewDirect(fInfo, p, fRowBytes, ctable)); in setPixels()
339 sk_sp<SkPixelRef> pr(defaultFactory.create(correctedInfo, rowBytes, nullptr)); in tryAllocPixels()
370 sk_sp<SkPixelRef> pr(factory->create(correctedInfo, correctedInfo.minRowBytes(), ctable)); in tryAllocPixels()
406 sk_sp<SkPixelRef> pr(SkMallocPixelRef::NewWithProc(correctedInfo, rb, ct, pixels, releaseProc, in installPixels()
476 sk_sp<SkPixelRef> pr(SkMallocPixelRef::NewAllocate(info, dst->rowBytes(), ctable)); in allocPixelRef()
821 SkPixelRef* dstPixelRef = tmpDst.pixelRef(); in copyTo()
1046 sk_sp<SkPixelRef> pr(SkMallocPixelRef::NewWithData(info, info.minRowBytes(), in ReadRawPixels()
1121 SkPixelRef* pr = this->pixelRef(); in toString()
[all …]
DSkSpecialSurface.cpp66 SkSpecialSurface_Raster(sk_sp<SkPixelRef> pr, in SkSpecialSurface_Raster()
101 sk_sp<SkPixelRef> pr(SkMallocPixelRef::NewZeroed(info, 0, nullptr)); in MakeRaster()
DSkImagePriv.h51 extern const SkPixelRef* SkBitmapImageGetPixelRef(const SkImage* rasterImage);
DSkMallocPixelRef.cpp217 SkPixelRef* SkMallocPixelRef::PRFactory::create(const SkImageInfo& info, size_t rowBytes, in create()
222 SkPixelRef* SkMallocPixelRef::ZeroedPRFactory::create(const SkImageInfo& info, size_t rowBytes, in create()
DSkBitmapDevice.h28 class SkPixelRef; variable
DSkResourceCache.cpp87 class SkOneShotDiscardablePixelRef : public SkPixelRef {
109 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;
DSkBitmap.h22 class SkPixelRef; variable
412 SkPixelRef* pixelRef() const { return fPixelRef.get(); } in pixelRef()
433 void setPixelRef(sk_sp<SkPixelRef>, int dx, int dy);
443 SkPixelRef* setPixelRef(SkPixelRef* pr, int dx, int dy);
445 SkPixelRef* setPixelRef(SkPixelRef* pr, const SkIPoint& origin) { in setPixelRef()
449 SkPixelRef* setPixelRef(SkPixelRef* pr) { in setPixelRef()
759 mutable sk_sp<SkPixelRef> fPixelRef;
DSkPixelRef.h36 class SK_API SkPixelRef : public SkRefCnt {
38 explicit SkPixelRef(const SkImageInfo&);
39 virtual ~SkPixelRef();
324 void cloneGenID(const SkPixelRef&);
342 virtual SkPixelRef* create(const SkImageInfo&, size_t rowBytes, SkColorTable*) = 0;
/external/skia/src/image/
DSkSurface_Raster.cpp23 SkSurface_Raster(sk_sp<SkPixelRef>, const SkSurfaceProps*);
111 SkSurface_Raster::SkSurface_Raster(sk_sp<SkPixelRef> pr, const SkSurfaceProps* props) in SkSurface_Raster()
138 if (SkPixelRef* pr = fBitmap.pixelRef()) { in onNewImageSnapshot()
152 if (SkPixelRef* pr = fBitmap.pixelRef()) { in onRestoreBackingMutability()
212 sk_sp<SkPixelRef> pr(SkMallocPixelRef::NewZeroed(info, rowBytes, nullptr)); in MakeRaster()
DSkImage_Raster.cpp102 SkPixelRef* getPixelRef() const { return fBitmap.pixelRef(); } in getPixelRef()
335 const SkPixelRef* SkBitmapImageGetPixelRef(const SkImage* image) { in SkBitmapImageGetPixelRef()
DSkImage.cpp224 SkPixelRef* pr = bm.pixelRef(); in MakeFromBitmap()
/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 sk_sp<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.cpp47 SkPixelRef* pr = SkMallocPixelRef::NewAllocate(info, info.minRowBytes(), nullptr); in test_bigalloc()
DWritePixelsTest.cpp266 sk_sp<SkPixelRef> pr(SkMallocPixelRef::NewAllocate(info, rowBytes, nullptr)); in alloc_row_bytes()
/external/skia/src/gpu/
DSkGr.h36 class SkPixelRef; variable
264 void GrInstallBitmapUniqueKeyInvalidator(const GrUniqueKey& key, SkPixelRef* pixelRef);
DSkGr.cpp183 void GrInstallBitmapUniqueKeyInvalidator(const GrUniqueKey& key, SkPixelRef* pixelRef) { in GrInstallBitmapUniqueKeyInvalidator()
184 class Invalidator : public SkPixelRef::GenIDChangeListener { in GrInstallBitmapUniqueKeyInvalidator()
/external/skia/gn/
Dcore.gni256 "$_src/core/SkPixelRef.cpp",
430 "$_include/core/SkPixelRef.h",
/external/skia/
DAndroid.bp235 "src/core/SkPixelRef.cpp",