Lines Matching defs:SkBitmap

9 #include "SkBitmap.h"
33 static bool reset_return_false(SkBitmap* bm) {
38 SkBitmap::SkBitmap() : fFlags(0) {}
40 SkBitmap::SkBitmap(const SkBitmap& src)
49 SkBitmap::SkBitmap(SkBitmap&& other)
59 SkBitmap::~SkBitmap() {}
61 SkBitmap& SkBitmap::operator=(const SkBitmap& src) {
71 SkBitmap& SkBitmap::operator=(SkBitmap&& other) {
83 void SkBitmap::swap(SkBitmap& other) {
88 void SkBitmap::reset() {
94 void SkBitmap::getBounds(SkRect* bounds) const {
99 void SkBitmap::getBounds(SkIRect* bounds) const {
106 bool SkBitmap::setInfo(const SkImageInfo& info, size_t rowBytes) {
142 bool SkBitmap::setAlphaType(SkAlphaType newAlphaType) {
154 SkIPoint SkBitmap::pixelRefOrigin() const {
168 void SkBitmap::setPixelRef(sk_sp<SkPixelRef> pr, int dx, int dy) {
193 void SkBitmap::setPixels(void* p) {
211 bool SkBitmap::tryAllocPixels(Allocator* allocator) {
222 bool SkBitmap::tryAllocPixels(const SkImageInfo& requestedInfo, size_t rowBytes) {
247 bool SkBitmap::tryAllocPixelsFlags(const SkImageInfo& requestedInfo, uint32_t allocFlags) {
275 bool SkBitmap::installPixels(const SkImageInfo& requestedInfo, void* pixels, size_t rb,
302 bool SkBitmap::installPixels(const SkPixmap& pixmap) {
307 bool SkBitmap::installMaskPixels(const SkMask& mask) {
319 uint32_t SkBitmap::getGenerationID() const {
323 void SkBitmap::notifyPixelsChanged() const {
335 bool SkBitmap::HeapAllocator::allocPixelRef(SkBitmap* dst) {
354 bool SkBitmap::isImmutable() const {
358 void SkBitmap::setImmutable() {
364 bool SkBitmap::isVolatile() const {
368 void SkBitmap::setIsVolatile(bool isVolatile) {
376 void* SkBitmap::getAddr(int x, int y) const {
411 void SkBitmap::erase(SkColor c, const SkIRect& area) const {
432 void SkBitmap::eraseColor(SkColor c) const {
439 bool SkBitmap::extractSubset(SkBitmap* result, const SkIRect& subset) const {
452 // If the upper left of the rectangle was outside the bounds of this SkBitmap, we should have
457 SkBitmap dst;
475 bool SkBitmap::readPixels(const SkImageInfo& requestedDstInfo, void* dstPixels, size_t dstRB,
484 bool SkBitmap::readPixels(const SkPixmap& dst, int srcX, int srcY) const {
488 bool SkBitmap::writePixels(const SkPixmap& src, int dstX, int dstY,
508 static bool GetBitmapAlpha(const SkBitmap& src, uint8_t* SK_RESTRICT alpha, int alphaRowBytes) {
530 bool SkBitmap::extractAlpha(SkBitmap* dst, const SkPaint* paint,
534 SkBitmap tmpBitmap;
597 void SkBitmap::validate() const {
634 void SkBitmap::toString(SkString* str) const {
663 bool SkBitmap::peekPixels(SkPixmap* pmap) const {