/third_party/skia/src/core/ |
D | SkPixelRef.cpp | 30 SkPixelRef::SkPixelRef(int width, int height, void* pixels, size_t rowBytes) in SkPixelRef() function in SkPixelRef 41 SkPixelRef::~SkPixelRef() { in ~SkPixelRef() 46 void SkPixelRef::android_only_reset(int width, int height, size_t rowBytes) { in android_only_reset() 56 void SkPixelRef::needsNewGenID() { in needsNewGenID() 61 uint32_t SkPixelRef::getGenerationID() const { in getGenerationID() 76 void SkPixelRef::addGenIDChangeListener(sk_sp<SkIDChangeListener> listener) { in addGenIDChangeListener() 86 void SkPixelRef::callGenIDChangeListeners() { in callGenIDChangeListeners() 100 void SkPixelRef::notifyPixelsChanged() { in notifyPixelsChanged() 110 void SkPixelRef::setImmutable() { in setImmutable() 114 void SkPixelRef::setImmutableWithID(uint32_t genID) { in setImmutableWithID() [all …]
|
D | SkMallocPixelRef.cpp | 24 sk_sp<SkPixelRef> SkMallocPixelRef::MakeAllocate(const SkImageInfo& info, size_t rowBytes) { in MakeAllocate() 47 struct PixelRef final : public SkPixelRef { in MakeAllocate() 48 PixelRef(int w, int h, void* s, size_t r) : SkPixelRef(w, h, s, r) {} in MakeAllocate() 51 return sk_sp<SkPixelRef>(new PixelRef(info.width(), info.height(), addr, rowBytes)); in MakeAllocate() 54 sk_sp<SkPixelRef> SkMallocPixelRef::MakeWithData(const SkImageInfo& info, in MakeWithData() 67 struct PixelRef final : public SkPixelRef { in MakeWithData() 70 : SkPixelRef(w, h, s, r), fData(std::move(d)) {} in MakeWithData() 73 sk_sp<SkPixelRef> pr(new PixelRef(info.width(), info.height(), pixels, rowBytes, in MakeWithData()
|
D | SkImagePriv.h | 15 class SkPixelRef; variable 63 extern const SkPixelRef* SkBitmapImageGetPixelRef(const SkImage* rasterImage);
|
D | SkBitmap.cpp | 169 void SkBitmap::setPixelRef(sk_sp<SkPixelRef> pr, int dx, int dy) { in setPixelRef() 200 fPixelRef = p ? sk_make_sp<SkPixelRef>(this->width(), this->height(), p, rb) : nullptr; in setPixels() 265 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(correctedInfo, rowBytes); in tryAllocPixels() 285 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(correctedInfo, in tryAllocPixelsFlags() 365 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(info, dst->rowBytes()); in allocPixelRef()
|
D | SkSpecialSurface.cpp | 68 sk_sp<SkPixelRef> pr, in SkSpecialSurface_Raster() 109 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(info, 0); in MakeRaster()
|
/third_party/flutter/skia/src/core/ |
D | SkPixelRef.cpp | 30 SkPixelRef::SkPixelRef(int width, int height, void* pixels, size_t rowBytes) in SkPixelRef() function in SkPixelRef 41 SkPixelRef::~SkPixelRef() { in ~SkPixelRef() 46 void SkPixelRef::android_only_reset(int width, int height, size_t rowBytes) { in android_only_reset() 56 void SkPixelRef::needsNewGenID() { in needsNewGenID() 61 uint32_t SkPixelRef::getGenerationID() const { in getGenerationID() 76 void SkPixelRef::addGenIDChangeListener(GenIDChangeListener* listener) { in addGenIDChangeListener() 87 void SkPixelRef::callGenIDChangeListeners() { in callGenIDChangeListeners() 103 void SkPixelRef::notifyPixelsChanged() { in notifyPixelsChanged() 113 void SkPixelRef::setImmutable() { in setImmutable() 117 void SkPixelRef::setImmutableWithID(uint32_t genID) { in setImmutableWithID() [all …]
|
D | SkMallocPixelRef.cpp | 43 sk_sp<SkPixelRef> SkMallocPixelRef::MakeAllocate(const SkImageInfo& info, size_t rowBytes) { in MakeAllocate() 64 struct PixelRef final : public SkPixelRef { in MakeAllocate() 65 PixelRef(int w, int h, void* s, size_t r) : SkPixelRef(w, h, s, r) {} in MakeAllocate() 68 return sk_sp<SkPixelRef>(new PixelRef(info.width(), info.height(), addr, rowBytes)); in MakeAllocate() 71 sk_sp<SkPixelRef> SkMallocPixelRef::MakeWithData(const SkImageInfo& info, in MakeWithData() 84 struct PixelRef final : public SkPixelRef { in MakeWithData() 87 : SkPixelRef(w, h, s, r), fData(std::move(d)) {} in MakeWithData() 90 sk_sp<SkPixelRef> pr(new PixelRef(info.width(), info.height(), pixels, rowBytes, in MakeWithData()
|
D | SkBitmap.cpp | 171 void SkBitmap::setPixelRef(sk_sp<SkPixelRef> pr, int dx, int dy) { in setPixelRef() 207 sk_make_sp<SkPixelRef>(this->width(), this->height(), p, this->rowBytes()), 0, 0); in setPixels() 267 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(correctedInfo, rowBytes); in tryAllocPixels() 287 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(correctedInfo, in tryAllocPixelsFlags() 367 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(info, dst->rowBytes()); in allocPixelRef()
|
D | SkSpecialSurface.cpp | 67 sk_sp<SkPixelRef> pr, in SkSpecialSurface_Raster() 108 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(info, 0); in MakeRaster()
|
/third_party/flutter/skia/tests/ |
D | MallocPixelRefTest.cpp | 29 sk_sp<SkPixelRef> pr( in DEF_TEST() 38 sk_sp<SkPixelRef> pr( in DEF_TEST() 47 sk_sp<SkPixelRef> pr( in DEF_TEST() 56 auto pr = sk_make_sp<SkPixelRef>(info.width(), info.height(), memory.get(), rowBytes); in DEF_TEST() 61 sk_sp<SkPixelRef> pr( in DEF_TEST() 68 sk_sp<SkPixelRef> pr( in DEF_TEST() 77 sk_sp<SkPixelRef> pr( in DEF_TEST() 90 sk_sp<SkPixelRef> pr( in DEF_TEST() 99 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeWithData(info, rowBytes, data); in DEF_TEST()
|
D | PixelRefTest.cpp | 61 class TestListener : public SkPixelRef::GenIDChangeListener { 72 sk_sp<SkPixelRef> pixelRef = SkMallocPixelRef::MakeAllocate(info, 0); in DEF_TEST()
|
/third_party/skia/tests/ |
D | MallocPixelRefTest.cpp | 26 sk_sp<SkPixelRef> pr( in DEF_TEST() 35 sk_sp<SkPixelRef> pr( in DEF_TEST() 44 sk_sp<SkPixelRef> pr( in DEF_TEST() 53 auto pr = sk_make_sp<SkPixelRef>(info.width(), info.height(), memory.get(), rowBytes); in DEF_TEST() 58 sk_sp<SkPixelRef> pr( in DEF_TEST() 65 sk_sp<SkPixelRef> pr( in DEF_TEST() 74 sk_sp<SkPixelRef> pr( in DEF_TEST() 87 sk_sp<SkPixelRef> pr( in DEF_TEST() 96 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeWithData(info, rowBytes, data); in DEF_TEST()
|
/third_party/flutter/skia/docs/examples/ |
D | Bitmap_tryAllocPixels_4.cpp | 6 class LargePixelRef : public SkPixelRef { 9 : SkPixelRef(info.width(), info.height(), storage, rowBytes) { in LargePixelRef() 25 sk_sp<SkPixelRef> pr = sk_sp<SkPixelRef>(new LargePixelRef(info, addr, rowBytes)); in allocPixelRef()
|
D | Bitmap_allocPixels_4.cpp | 13 sk_sp<SkPixelRef> pr = sk_sp<SkPixelRef>( in allocPixelRef() 14 new SkPixelRef(info.width(), info.height(), storage, info.minRowBytes())); in allocPixelRef()
|
/third_party/skia/docs/examples/ |
D | Bitmap_tryAllocPixels_4.cpp | 6 class LargePixelRef : public SkPixelRef { 9 : SkPixelRef(info.width(), info.height(), storage, rowBytes) { in LargePixelRef() 25 sk_sp<SkPixelRef> pr = sk_sp<SkPixelRef>(new LargePixelRef(info, addr, rowBytes)); in allocPixelRef()
|
/third_party/flutter/skia/include/core/ |
D | SkPixelRef.h | 33 class SK_API SkPixelRef : public SkRefCnt { 35 SkPixelRef(int width, int height, void* addr, size_t rowBytes); 36 ~SkPixelRef() override; 124 friend void SkBitmapCache_setImmutableWithID(SkPixelRef*, uint32_t);
|
D | SkMallocPixelRef.h | 31 SK_API sk_sp<SkPixelRef> MakeAllocate(const SkImageInfo&, size_t rowBytes); 40 SK_API sk_sp<SkPixelRef> MakeWithData(const SkImageInfo&, size_t rowBytes, sk_sp<SkData> data);
|
D | SkBitmap.h | 22 class SkPixelRef; variable 693 SkPixelRef* pixelRef() const { return fPixelRef.get(); } in pixelRef() 721 void setPixelRef(sk_sp<SkPixelRef> pixelRef, int dx, int dy); 1142 sk_sp<SkPixelRef> fPixelRef;
|
/third_party/skia/include/core/ |
D | SkPixelRef.h | 32 class SK_API SkPixelRef : public SkRefCnt { 34 SkPixelRef(int width, int height, void* addr, size_t rowBytes); 35 ~SkPixelRef() override; 118 friend void SkBitmapCache_setImmutableWithID(SkPixelRef*, uint32_t);
|
D | SkMallocPixelRef.h | 31 SK_API sk_sp<SkPixelRef> MakeAllocate(const SkImageInfo&, size_t rowBytes); 40 SK_API sk_sp<SkPixelRef> MakeWithData(const SkImageInfo&, size_t rowBytes, sk_sp<SkData> data);
|
D | SkBitmap.h | 26 class SkPixelRef; variable 701 SkPixelRef* pixelRef() const { return fPixelRef.get(); } in pixelRef() 733 void setPixelRef(sk_sp<SkPixelRef> pixelRef, int dx, int dy); 1187 sk_sp<SkPixelRef> fPixelRef;
|
/third_party/flutter/skia/site/user/api/ |
D | SkBitmap_Reference.md | 72 …<a href='undocumented#SkPixelRef'>SkPixelRef</a>* <a href='#SkBitmap_pixelRef'>pixelRef</a>() cons… 74 …/a>(<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkPixelRef'>SkPixelRef</a>> <a hr… 162 …SkImageInfo'>SkImageInfo</a> as input, and <a href='undocumented#SkPixelRef'>SkPixelRef</a> as out… 168 true if <a href='undocumented#SkPixelRef'>SkPixelRef</a> was allocated 205 …SkImageInfo'>SkImageInfo</a> as input, and <a href='undocumented#SkPixelRef'>SkPixelRef</a> as out… 240 …</a>, and with a width and height of zero. <a href='undocumented#SkPixelRef'>SkPixelRef</a> origin… 281 …rence#SkImageInfo'>SkImageInfo</a>, and share <a href='undocumented#SkPixelRef'>SkPixelRef</a></td> 321 …ce#SkImageInfo'>SkImageInfo</a>, and reassign <a href='undocumented#SkPixelRef'>SkPixelRef</a></td> 355 …crements <a href='undocumented#SkPixelRef'>SkPixelRef</a> reference count, if <a href='undocumente… 375 …rence#SkImageInfo'>SkImageInfo</a>, and share <a href='undocumented#SkPixelRef'>SkPixelRef</a></td> [all …]
|
/third_party/skia/src/image/ |
D | SkSurface_Raster.cpp | 20 SkSurface_Raster(const SkImageInfo& info, sk_sp<SkPixelRef>, const SkSurfaceProps*); 70 SkSurface_Raster::SkSurface_Raster(const SkImageInfo& info, sk_sp<SkPixelRef> pr, in SkSurface_Raster() 104 if (SkPixelRef* pr = fBitmap.pixelRef()) { in onNewImageSnapshot() 122 if (SkPixelRef* pr = fBitmap.pixelRef()) { in onRestoreBackingMutability() 185 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(info, rowBytes); in MakeRaster()
|
/third_party/flutter/skia/src/image/ |
D | SkSurface_Raster.cpp | 20 SkSurface_Raster(const SkImageInfo& info, sk_sp<SkPixelRef>, const SkSurfaceProps*); 80 SkSurface_Raster::SkSurface_Raster(const SkImageInfo& info, sk_sp<SkPixelRef> pr, in SkSurface_Raster() 115 if (SkPixelRef* pr = fBitmap.pixelRef()) { in onNewImageSnapshot() 133 if (SkPixelRef* pr = fBitmap.pixelRef()) { in onRestoreBackingMutability() 192 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(info, rowBytes); in MakeRaster()
|
/third_party/flutter/skia/src/gpu/ |
D | SkGr.h | 38 class SkPixelRef; variable 229 SkPixelRef* pixelRef);
|