Searched defs:SkMallocPixelRef (Results 1 - 2 of 2) sorted by relevance

/external/skia/include/core/
H A DSkMallocPixelRef.h17 class SK_API SkMallocPixelRef : public SkPixelRef { class in inherits:SkPixelRef
20 * Return a new SkMallocPixelRef with the provided pixel storage, rowBytes,
29 static SkMallocPixelRef* NewDirect(const SkImageInfo&, void* addr,
33 * Return a new SkMallocPixelRef, automatically allocating storage for the
42 static SkMallocPixelRef* NewAllocate(const SkImageInfo& info,
48 static SkMallocPixelRef* NewZeroed(const SkImageInfo& info,
52 * Return a new SkMallocPixelRef with the provided pixel storage,
60 * SkMallocPixelRef must not live beyond its pixels (e.g. by copying
66 static SkMallocPixelRef* NewWithProc(const SkImageInfo& info,
72 * Return a new SkMallocPixelRef tha
[all...]
/external/skia/src/core/
H A DSkMallocPixelRef.cpp8 #include "SkMallocPixelRef.h"
40 SkMallocPixelRef* SkMallocPixelRef::NewDirect(const SkImageInfo& info,
47 return new SkMallocPixelRef(info, addr, rowBytes, ctable, nullptr, nullptr);
51 SkMallocPixelRef* SkMallocPixelRef::NewUsing(void*(*alloc)(size_t),
87 return new SkMallocPixelRef(info, addr, rowBytes, ctable, sk_free_releaseproc, nullptr);
90 SkMallocPixelRef* SkMallocPixelRef::NewAllocate(const SkImageInfo& info,
97 SkMallocPixelRef* SkMallocPixelRe
147 SkMallocPixelRef::SkMallocPixelRef(const SkImageInfo& info, void* storage, function in class:SkMallocPixelRef
169 SkMallocPixelRef::SkMallocPixelRef(const SkImageInfo& info, void* storage, function in class:SkMallocPixelRef
[all...]

Completed in 148 milliseconds