Home
last modified time | relevance | path

Searched refs:SkMallocPixelRef (Results 1 – 25 of 30) sorted by relevance

12

/external/skqp/src/core/
DSkMallocPixelRef.cpp47 sk_sp<SkPixelRef> SkMallocPixelRef::MakeDirect(const SkImageInfo& info, in MakeDirect()
53 return sk_sp<SkPixelRef>(new SkMallocPixelRef(info, addr, rowBytes, nullptr, nullptr)); in MakeDirect()
57 sk_sp<SkPixelRef> SkMallocPixelRef::MakeUsing(void*(*allocProc)(size_t), in MakeUsing()
81 return sk_sp<SkPixelRef>(new SkMallocPixelRef(info, addr, rowBytes, in MakeUsing()
85 sk_sp<SkPixelRef> SkMallocPixelRef::MakeAllocate(const SkImageInfo& info, size_t rowBytes) { in MakeAllocate()
89 sk_sp<SkPixelRef> SkMallocPixelRef::MakeZeroed(const SkImageInfo& info, in MakeZeroed()
98 sk_sp<SkPixelRef> SkMallocPixelRef::MakeWithProc(const SkImageInfo& info, in MakeWithProc()
101 SkMallocPixelRef::ReleaseProc proc, in MakeWithProc()
109 return sk_sp<SkPixelRef>(new SkMallocPixelRef(info, addr, rowBytes, proc, context)); in MakeWithProc()
112 sk_sp<SkPixelRef> SkMallocPixelRef::MakeWithData(const SkImageInfo& info, in MakeWithData()
[all …]
DSkBitmap.cpp206 this->setPixelRef(SkMallocPixelRef::MakeDirect(this->info(), p, this->rowBytes()), 0, 0); in setPixels()
237 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(correctedInfo, rowBytes); in tryAllocPixels()
258 SkMallocPixelRef::MakeZeroed(correctedInfo, correctedInfo.minRowBytes()) : in tryAllocPixelsFlags()
259 SkMallocPixelRef::MakeAllocate(correctedInfo, correctedInfo.minRowBytes()); in tryAllocPixelsFlags()
292 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeWithProc(correctedInfo, rb, pixels, in installPixels()
344 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(info, dst->rowBytes()); in allocPixelRef()
DSkSpecialSurface.cpp108 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeZeroed(info, 0); in MakeRaster()
/external/skia/src/core/
DSkMallocPixelRef.cpp47 sk_sp<SkPixelRef> SkMallocPixelRef::MakeDirect(const SkImageInfo& info, in MakeDirect()
53 return sk_sp<SkPixelRef>(new SkMallocPixelRef(info, addr, rowBytes, nullptr, nullptr)); in MakeDirect()
57 sk_sp<SkPixelRef> SkMallocPixelRef::MakeUsing(void*(*allocProc)(size_t), in MakeUsing()
81 return sk_sp<SkPixelRef>(new SkMallocPixelRef(info, addr, rowBytes, in MakeUsing()
85 sk_sp<SkPixelRef> SkMallocPixelRef::MakeAllocate(const SkImageInfo& info, size_t rowBytes) { in MakeAllocate()
89 sk_sp<SkPixelRef> SkMallocPixelRef::MakeZeroed(const SkImageInfo& info, in MakeZeroed()
98 sk_sp<SkPixelRef> SkMallocPixelRef::MakeWithProc(const SkImageInfo& info, in MakeWithProc()
101 SkMallocPixelRef::ReleaseProc proc, in MakeWithProc()
109 return sk_sp<SkPixelRef>(new SkMallocPixelRef(info, addr, rowBytes, proc, context)); in MakeWithProc()
112 sk_sp<SkPixelRef> SkMallocPixelRef::MakeWithData(const SkImageInfo& info, in MakeWithData()
[all …]
DSkBitmap.cpp206 this->setPixelRef(SkMallocPixelRef::MakeDirect(this->info(), p, this->rowBytes()), 0, 0); in setPixels()
269 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(correctedInfo, rowBytes); in tryAllocPixels()
290 SkMallocPixelRef::MakeZeroed(correctedInfo, correctedInfo.minRowBytes()) : in tryAllocPixelsFlags()
291 SkMallocPixelRef::MakeAllocate(correctedInfo, correctedInfo.minRowBytes()); in tryAllocPixelsFlags()
324 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeWithProc(correctedInfo, rb, pixels, in installPixels()
376 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(info, dst->rowBytes()); in allocPixelRef()
DSkSpecialSurface.cpp108 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeZeroed(info, 0); in MakeRaster()
/external/skqp/tests/
DMallocPixelRefTest.cpp29 SkMallocPixelRef::MakeAllocate(info, info.minRowBytes() - 1)); in DEF_TEST()
38 SkMallocPixelRef::MakeWithData(info, rowBytes, data)); in DEF_TEST()
47 SkMallocPixelRef::MakeWithData(info, rowBytes, data)); in DEF_TEST()
56 SkMallocPixelRef::MakeDirect(info, memory.get(), rowBytes)); in DEF_TEST()
62 SkMallocPixelRef::MakeAllocate(info, rowBytes)); in DEF_TEST()
69 SkMallocPixelRef::MakeWithProc(info, rowBytes, addr, delete_uint8_proc, nullptr)); in DEF_TEST()
77 SkMallocPixelRef::MakeWithProc(info, rowBytes, in DEF_TEST()
91 SkMallocPixelRef::MakeWithProc(SkImageInfo::MakeN32Premul(-1, -1), rowBytes, in DEF_TEST()
102 SkMallocPixelRef::MakeWithProc(info, rowBytes, addr, in DEF_TEST()
110 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeWithData(info, rowBytes, data); in DEF_TEST()
DPixelRefTest.cpp72 sk_sp<SkPixelRef> pixelRef = SkMallocPixelRef::MakeAllocate(info, 0); in DEF_TEST()
DBitmapTest.cpp53 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(info, info.minRowBytes()); in test_bigalloc()
DWritePixelsTest.cpp286 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(info, rowBytes); in alloc_row_bytes()
/external/skia/tests/
DMallocPixelRefTest.cpp29 SkMallocPixelRef::MakeAllocate(info, info.minRowBytes() - 1)); in DEF_TEST()
38 SkMallocPixelRef::MakeWithData(info, rowBytes, data)); in DEF_TEST()
47 SkMallocPixelRef::MakeWithData(info, rowBytes, data)); in DEF_TEST()
56 SkMallocPixelRef::MakeDirect(info, memory.get(), rowBytes)); in DEF_TEST()
62 SkMallocPixelRef::MakeAllocate(info, rowBytes)); in DEF_TEST()
69 SkMallocPixelRef::MakeWithProc(info, rowBytes, addr, delete_uint8_proc, nullptr)); in DEF_TEST()
77 SkMallocPixelRef::MakeWithProc(info, rowBytes, in DEF_TEST()
91 SkMallocPixelRef::MakeWithProc(SkImageInfo::MakeN32Premul(-1, -1), rowBytes, in DEF_TEST()
102 SkMallocPixelRef::MakeWithProc(info, rowBytes, addr, in DEF_TEST()
110 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeWithData(info, rowBytes, data); in DEF_TEST()
DPixelRefTest.cpp72 sk_sp<SkPixelRef> pixelRef = SkMallocPixelRef::MakeAllocate(info, 0); in DEF_TEST()
DBitmapTest.cpp53 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(info, info.minRowBytes()); in test_bigalloc()
DWritePixelsTest.cpp286 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeAllocate(info, rowBytes); in alloc_row_bytes()
/external/skia/include/core/
DSkMallocPixelRef.h20 class SK_API SkMallocPixelRef : public SkPixelRef {
76 ~SkMallocPixelRef() override;
87 SkMallocPixelRef(const SkImageInfo&, void* addr, size_t rb, ReleaseProc proc, void* context);
/external/skqp/include/core/
DSkMallocPixelRef.h20 class SK_API SkMallocPixelRef : public SkPixelRef {
76 ~SkMallocPixelRef() override;
87 SkMallocPixelRef(const SkImageInfo&, void* addr, size_t rb, ReleaseProc proc, void* context);
/external/skqp/src/image/
DSkSurface_Raster.cpp192 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeZeroed(info, rowBytes); in MakeRaster()
/external/skia/src/image/
DSkSurface_Raster.cpp192 sk_sp<SkPixelRef> pr = SkMallocPixelRef::MakeZeroed(info, rowBytes); in MakeRaster()
/external/skia/docs/
DSkBitmap_Reference.bmh1260 #SeeAlso allocPixelsFlags tryAllocPixels SkMallocPixelRef::MakeZeroed
1290 #SeeAlso tryAllocPixelsFlags allocPixels SkMallocPixelRef::MakeZeroed
1315 #SeeAlso tryAllocPixelsFlags allocPixels SkMallocPixelRef::MakeAllocate
1339 #SeeAlso tryAllocPixels allocPixelsFlags SkMallocPixelRef::MakeAllocate
1361 #SeeAlso tryAllocPixelsFlags allocPixels SkMallocPixelRef::MakeAllocate
1382 #SeeAlso tryAllocPixels allocPixelsFlags SkMallocPixelRef::MakeAllocate
1408 #SeeAlso tryAllocPixels allocN32Pixels SkMallocPixelRef::MakeAllocate
1437 #SeeAlso allocPixels tryAllocN32Pixels SkMallocPixelRef::MakeAllocate
/external/skqp/docs/
DSkBitmap_Reference.bmh1260 #SeeAlso allocPixelsFlags tryAllocPixels SkMallocPixelRef::MakeZeroed
1290 #SeeAlso tryAllocPixelsFlags allocPixels SkMallocPixelRef::MakeZeroed
1315 #SeeAlso tryAllocPixelsFlags allocPixels SkMallocPixelRef::MakeAllocate
1339 #SeeAlso tryAllocPixels allocPixelsFlags SkMallocPixelRef::MakeAllocate
1361 #SeeAlso tryAllocPixelsFlags allocPixels SkMallocPixelRef::MakeAllocate
1382 #SeeAlso tryAllocPixels allocPixelsFlags SkMallocPixelRef::MakeAllocate
1408 #SeeAlso tryAllocPixels allocN32Pixels SkMallocPixelRef::MakeAllocate
1437 #SeeAlso allocPixels tryAllocN32Pixels SkMallocPixelRef::MakeAllocate
Dundocumented.bmh632 #Class SkMallocPixelRef
/external/skia/site/user/api/
DSkBitmap_Reference.md1662 …p_tryAllocPixels'>tryAllocPixels</a> <a href='undocumented#SkMallocPixelRef'>SkMallocPixelRef</a>:…
1707 …kBitmap_allocPixels'>allocPixels</a> <a href='undocumented#SkMallocPixelRef'>SkMallocPixelRef</a>:…
1749 …kBitmap_allocPixels'>allocPixels</a> <a href='undocumented#SkMallocPixelRef'>SkMallocPixelRef</a>:…
1788 …locPixelsFlags'>allocPixelsFlags</a> <a href='undocumented#SkMallocPixelRef'>SkMallocPixelRef</a>:…
1826 …kBitmap_allocPixels'>allocPixels</a> <a href='undocumented#SkMallocPixelRef'>SkMallocPixelRef</a>:…
1861 …locPixelsFlags'>allocPixelsFlags</a> <a href='undocumented#SkMallocPixelRef'>SkMallocPixelRef</a>:…
1906 …p_allocN32Pixels'>allocN32Pixels</a> <a href='undocumented#SkMallocPixelRef'>SkMallocPixelRef</a>:…
1946 …llocN32Pixels'>tryAllocN32Pixels</a> <a href='undocumented#SkMallocPixelRef'>SkMallocPixelRef</a>:…
/external/skqp/site/user/api/
DSkBitmap_Reference.md1662 …p_tryAllocPixels'>tryAllocPixels</a> <a href='undocumented#SkMallocPixelRef'>SkMallocPixelRef</a>:…
1707 …kBitmap_allocPixels'>allocPixels</a> <a href='undocumented#SkMallocPixelRef'>SkMallocPixelRef</a>:…
1749 …kBitmap_allocPixels'>allocPixels</a> <a href='undocumented#SkMallocPixelRef'>SkMallocPixelRef</a>:…
1788 …locPixelsFlags'>allocPixelsFlags</a> <a href='undocumented#SkMallocPixelRef'>SkMallocPixelRef</a>:…
1826 …kBitmap_allocPixels'>allocPixels</a> <a href='undocumented#SkMallocPixelRef'>SkMallocPixelRef</a>:…
1861 …locPixelsFlags'>allocPixelsFlags</a> <a href='undocumented#SkMallocPixelRef'>SkMallocPixelRef</a>:…
1906 …p_allocN32Pixels'>allocN32Pixels</a> <a href='undocumented#SkMallocPixelRef'>SkMallocPixelRef</a>:…
1946 …llocN32Pixels'>tryAllocN32Pixels</a> <a href='undocumented#SkMallocPixelRef'>SkMallocPixelRef</a>:…
/external/skia/gn/
Dcore.gni157 "$_src/core/SkMallocPixelRef.cpp",
394 "$_include/core/SkMallocPixelRef.h",
/external/skqp/gn/
Dcore.gni159 "$_src/core/SkMallocPixelRef.cpp",
377 "$_include/core/SkMallocPixelRef.h",

12