Skia
2D Graphics Library
|
Go to the source code of this file.
Namespaces | |
SkMallocPixelRef | |
We explicitly use the same allocator for our pixels that SkMask does, so that we can freely assign memory allocated by one class to the other. | |
Functions | |
SK_API sk_sp< SkPixelRef > | SkMallocPixelRef::MakeAllocate (const SkImageInfo &, size_t rowBytes) |
Return a new SkMallocPixelRef, automatically allocating storage for the pixels. More... | |
SK_API sk_sp< SkPixelRef > | SkMallocPixelRef::MakeWithData (const SkImageInfo &, size_t rowBytes, sk_sp< SkData > data) |
Return a new SkMallocPixelRef that will use the provided SkData and rowBytes as pixel storage. More... | |