Home | History | Annotate | Download | only in core

Lines Matching defs:SkBitmap

9 #include "SkBitmap.h"
31 static bool reset_return_false(SkBitmap* bm) {
36 SkBitmap::SkBitmap()
42 SkBitmap::SkBitmap(const SkBitmap& src)
54 SkBitmap::SkBitmap(SkBitmap&& other)
70 SkBitmap::~SkBitmap() {}
72 SkBitmap& SkBitmap::operator=(const SkBitmap& src) {
85 SkBitmap& SkBitmap::operator=(SkBitmap&& other) {
103 void SkBitmap::swap(SkBitmap& other) {
108 void SkBitmap::reset() {
114 void SkBitmap::getBounds(SkRect* bounds) const {
120 void SkBitmap::getBounds(SkIRect* bounds) const {
127 bool SkBitmap::setInfo(const SkImageInfo& info, size_t rowBytes) {
163 bool SkBitmap::setAlphaType(SkAlphaType newAlphaType) {
174 void SkBitmap::updatePixelsFromRef() {
189 void SkBitmap::setPixelRef(sk_sp<SkPixelRef> pr, int dx, int dy) {
212 void SkBitmap::setPixels(void* p) {
230 bool SkBitmap::tryAllocPixels(Allocator* allocator) {
245 bool SkBitmap::tryAllocPixels(const SkImageInfo& requestedInfo, size_t rowBytes) {
267 bool SkBitmap::tryAllocPixelsFlags(const SkImageInfo& requestedInfo, uint32_t allocFlags) {
295 bool SkBitmap::installPixels(const SkImageInfo& requestedInfo, void* pixels, size_t rb,
322 bool SkBitmap::installPixels(const SkPixmap& pixmap) {
327 bool SkBitmap::installMaskPixels(const SkMask& mask) {
339 void SkBitmap::freePixels() {
345 uint32_t SkBitmap::getGenerationID() const {
349 void SkBitmap::notifyPixelsChanged() const {
361 bool SkBitmap::HeapAllocator::allocPixelRef(SkBitmap* dst
384 bool SkBitmap::isImmutable() const {
388 void SkBitmap::setImmutable() {
394 bool SkBitmap::isVolatile() const {
398 void SkBitmap::setIsVolatile(bool isVolatile) {
406 void* SkBitmap::getAddr(int x, int y) const {
441 void SkBitmap::erase(SkColor c, const SkIRect& area) const {
462 void SkBitmap::eraseColor(SkColor c) const {
469 bool SkBitmap::extractSubset(SkBitmap* result, const SkIRect& subset) const {
482 // If the upper left of the rectangle was outside the bounds of this SkBitmap, we should have
487 SkBitmap dst;
507 bool SkBitmap::readPixels(const SkImageInfo& requestedDstInfo, void* dstPixels, size_t dstRB,
516 bool SkBitmap::readPixels(const SkPixmap& dst, int srcX, int srcY) const {
520 bool SkBitmap::writePixels(const SkPixmap& src, int dstX, int dstY,
540 static bool GetBitmapAlpha(const SkBitmap& src, uint8_t* SK_RESTRICT alpha, int alphaRowBytes) {
562 bool SkBitmap::extractAlpha(SkBitmap* dst, const SkPaint* paint,
566 SkBitmap tmpBitmap;
650 void SkBitmap::WriteRawPixels(SkWriteBuffer* buffer, const SkBitmap& bitmap) {
666 bool SkBitmap::ReadRawPixels(SkReadBuffer* buffer, SkBitmap* bitmap) {
753 void SkBitmap::validate() const {
789 void SkBitmap::toString(SkString* str) const {
818 bool SkBitmap::peekPixels(SkPixmap* pmap) const {