Lines Matching defs:SkBitmap

10 #include "SkBitmap.h"
27 static bool reset_return_false(SkBitmap* bm) {
32 SkBitmap::SkBitmap() {
36 SkBitmap::SkBitmap(const SkBitmap& src) {
43 SkBitmap::~SkBitmap() {
48 SkBitmap& SkBitmap::operator=(const SkBitmap& src) {
76 void SkBitmap::swap(SkBitmap& other) {
89 void SkBitmap::reset() {
94 void SkBitmap::getBounds(SkRect* bounds) const {
100 void SkBitmap::getBounds(SkIRect* bounds) const {
107 bool SkBitmap::setInfo(const SkImageInfo& info, size_t rowBytes) {
142 bool SkBitmap::setAlphaType(SkAlphaType newAlphaType) {
155 void SkBitmap::updatePixelsFromRef() const {
176 SkPixelRef* SkBitmap::setPixelRef(SkPixelRef* pr, int dx, int dy) {
223 void SkBitmap::lockPixels() const {
231 void SkBitmap::unlockPixels() const {
241 bool SkBitmap::lockPixelsAreWritable() const {
245 void SkBitmap::setPixels(void* p, SkColorTable* ctable) {
269 bool SkBitmap::tryAllocPixels(Allocator* allocator, SkColorTable* ctable) {
280 bool SkBitmap::tryAllocPixels(const SkImageInfo& requestedInfo, size_t rowBytes) {
309 bool SkBitmap::tryAllocPixels(const SkImageInfo& requestedInfo, SkPixelRefFactory* factory,
340 bool SkBitmap::installPixels(const SkImageInfo& requestedInfo, void* pixels, size_t rb,
366 bool SkBitmap::installMaskPixels(const SkMask& mask) {
378 void SkBitmap::freePixels() {
392 uint32_t SkBitmap::getGenerationID() const {
396 void SkBitmap::notifyPixelsChanged() const {
403 GrTexture* SkBitmap::getTexture() const {
412 bool SkBitmap::HeapAllocator::allocPixelRef(SkBitmap* dst,
433 bool SkBitmap::copyPixelsTo(void* const dst, size_t dstSize,
479 bool SkBitmap::isImmutable() const {
483 void SkBitmap::setImmutable() {
489 bool SkBitmap::isVolatile() const {
493 void SkBitmap::setIsVolatile(bool isVolatile) {
501 void* SkBitmap::getAddr(int x, int y) const {
530 SkColor SkBitmap::getColor(int x, int y) const {
565 bool SkBitmap::ComputeIsOpaque(const SkBitmap& bm) {
648 void SkBitmap::internalErase(const SkIRect& area,
736 void SkBitmap::eraseARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b) const {
743 void SkBitmap::eraseArea(const SkIRect& rect, SkColor c) const {
754 bool SkBitmap::extractSubset(SkBitmap* result, const SkIRect& subset) const {
771 SkBitmap dst;
782 // If the upper left of the rectangle was outside the bounds of this SkBitmap, we should have
787 SkBitmap dst;
811 bool SkBitmap::canCopyTo(SkColorType dstColorType) const {
840 bool SkBitmap::readPixels(const SkImageInfo& requestedDstInfo, void* dstPixels, size_t dstRB,
886 bool SkBitmap::copyTo(SkBitmap* dst, SkColorType dstColorType, Allocator* alloc) const {
892 SkBitmap tmpSrc;
893 const SkBitmap* src = this;
934 SkBitmap tmpDst;
979 bool SkBitmap::deepCopyTo(SkBitmap* dst) const {
1022 static bool GetBitmapAlpha(const SkBitmap& src, uint8_t* SK_RESTRICT alpha,
1091 bool SkBitmap::extractAlpha(SkBitmap* dst, const SkPaint* paint,
1095 SkBitmap tmpBitmap;
1158 void SkBitmap::WriteRawPixels(SkWriteBuffer* buffer, const SkBitmap& bitmap) {
1192 bool SkBitmap::ReadRawPixels(SkReadBuffer* buffer, SkBitmap* bitmap) {
1246 void SkBitmap::legacyUnflatten(SkReadBuffer& buffer) {
1295 SkBitmap::RLEPixels::RLEPixels(int width, int height) {
1300 SkBitmap::RLEPixels::~RLEPixels() {
1307 void SkBitmap::validate() const {
1341 void SkBitmap::toString(SkString* str) const {