Lines Matching refs:SkBitmap
34 static bool reset_return_false(SkBitmap* bm) { in reset_return_false()
39 SkBitmap::SkBitmap() : fFlags(0) {} in SkBitmap() function in SkBitmap
41 SkBitmap::SkBitmap(const SkBitmap& src) in SkBitmap() function in SkBitmap
50 SkBitmap::SkBitmap(SkBitmap&& other) in SkBitmap() function in SkBitmap
60 SkBitmap::~SkBitmap() {} in ~SkBitmap()
62 SkBitmap& SkBitmap::operator=(const SkBitmap& src) { in operator =()
72 SkBitmap& SkBitmap::operator=(SkBitmap&& other) { in operator =()
84 void SkBitmap::swap(SkBitmap& other) { in swap()
90 void SkBitmap::reset() { in reset()
96 void SkBitmap::getBounds(SkRect* bounds) const { in getBounds()
101 void SkBitmap::getBounds(SkIRect* bounds) const { in getBounds()
108 bool SkBitmap::setInfo(const SkImageInfo& info, size_t rowBytes) { in setInfo()
144 bool SkBitmap::setAlphaType(SkAlphaType newAlphaType) { in setAlphaType()
156 SkIPoint SkBitmap::pixelRefOrigin() const { in pixelRefOrigin()
170 void SkBitmap::setPixelRef(sk_sp<SkPixelRef> pr, int dx, int dy) { in setPixelRef()
195 void SkBitmap::setPixels(void* p) { in setPixels()
213 bool SkBitmap::tryAllocPixels(Allocator* allocator) { in tryAllocPixels()
222 bool SkBitmap::tryAllocN32Pixels(int width, int height, bool isOpaque) { in tryAllocN32Pixels()
228 void SkBitmap::allocN32Pixels(int width, int height, bool isOpaque) { in allocN32Pixels()
234 void SkBitmap::allocPixels() { in allocPixels()
238 void SkBitmap::allocPixels(Allocator* allocator) { in allocPixels()
242 void SkBitmap::allocPixelsFlags(const SkImageInfo& info, uint32_t flags) { in allocPixelsFlags()
246 void SkBitmap::allocPixels(const SkImageInfo& info, size_t rowBytes) { in allocPixels()
250 void SkBitmap::allocPixels(const SkImageInfo& info) { in allocPixels()
256 bool SkBitmap::tryAllocPixels(const SkImageInfo& requestedInfo, size_t rowBytes) { in tryAllocPixels()
281 bool SkBitmap::tryAllocPixelsFlags(const SkImageInfo& requestedInfo, uint32_t allocFlags) { in tryAllocPixelsFlags()
309 bool SkBitmap::installPixels(const SkImageInfo& requestedInfo, void* pixels, size_t rb, in installPixels()
336 bool SkBitmap::installPixels(const SkPixmap& pixmap) { in installPixels()
341 bool SkBitmap::installMaskPixels(const SkMask& mask) { in installMaskPixels()
353 uint32_t SkBitmap::getGenerationID() const { in getGenerationID()
357 void SkBitmap::notifyPixelsChanged() const { in notifyPixelsChanged()
369 bool SkBitmap::HeapAllocator::allocPixelRef(SkBitmap* dst) { in allocPixelRef()
388 bool SkBitmap::isImmutable() const { in isImmutable()
392 void SkBitmap::setImmutable() { in setImmutable()
398 bool SkBitmap::isVolatile() const { in isVolatile()
402 void SkBitmap::setIsVolatile(bool isVolatile) { in setIsVolatile()
410 void* SkBitmap::getAddr(int x, int y) const { in getAddr()
424 void SkBitmap::erase(SkColor c, const SkIRect& area) const { in erase()
442 void SkBitmap::eraseColor(SkColor c) const { in eraseColor()
449 bool SkBitmap::extractSubset(SkBitmap* result, const SkIRect& subset) const { in extractSubset()
467 SkBitmap dst; in extractSubset()
485 bool SkBitmap::readPixels(const SkImageInfo& requestedDstInfo, void* dstPixels, size_t dstRB, in readPixels()
494 bool SkBitmap::readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels()
498 bool SkBitmap::writePixels(const SkPixmap& src, int dstX, int dstY) { in writePixels()
517 static bool GetBitmapAlpha(const SkBitmap& src, uint8_t* SK_RESTRICT alpha, int alphaRowBytes) { in GetBitmapAlpha()
538 bool SkBitmap::extractAlpha(SkBitmap* dst, const SkPaint* paint, in extractAlpha()
542 SkBitmap tmpBitmap; in extractAlpha()
608 void SkBitmap::validate() const { in validate()
636 bool SkBitmap::peekPixels(SkPixmap* pmap) const { in peekPixels()