Home
last modified time | relevance | path

Searched refs:fPixels (Results 1 – 9 of 9) sorted by relevance

/external/skia/legacy/include/core/
DSkBitmap.h94 bool isNull() const { return NULL == fPixels && NULL == fPixelRef; } in isNull()
133 void* getPixels() const { return fPixels; } in getPixels()
607 mutable void* fPixels; variable
814 SkASSERT(fPixels); in getAddr32()
817 return (uint32_t*)((char*)fPixels + y * fRowBytes + (x << 2)); in getAddr32()
821 SkASSERT(fPixels); in getAddr16()
824 return (uint16_t*)((char*)fPixels + y * fRowBytes + (x << 1)); in getAddr16()
828 SkASSERT(fPixels); in getAddr8()
831 return (uint8_t*)fPixels + y * fRowBytes + x; in getAddr8()
835 SkASSERT(fPixels); in getIndex8Color()
[all …]
DSkPixelRef.h60 void* pixels() const { return fPixels; } in pixels()
227 void* fPixels; variable
/external/skia/include/core/
DSkBitmap.h138 void* getPixels() const { return fPixels; } in getPixels()
650 mutable void* fPixels; variable
764 SkASSERT(fPixels); in getAddr32()
767 return (uint32_t*)((char*)fPixels + y * fRowBytes + (x << 2)); in getAddr32()
771 SkASSERT(fPixels); in getAddr16()
774 return (uint16_t*)((char*)fPixels + y * fRowBytes + (x << 1)); in getAddr16()
778 SkASSERT(fPixels); in getAddr8()
781 return (uint8_t*)fPixels + y * fRowBytes + x; in getAddr8()
785 SkASSERT(fPixels); in getIndex8Color()
789 return (*fColorTable)[*((const uint8_t*)fPixels + y * fRowBytes + x)]; in getIndex8Color()
[all …]
DSkPixelRef.h57 void* pixels() const { return fPixels; } in pixels()
222 void* fPixels; variable
/external/skia/src/core/
DSkPixelRef.cpp64 fPixels = NULL; in SkPixelRef()
75 fPixels = NULL; in SkPixelRef()
87 fPixels = pixels; in setPreLocked()
116 fPixels = this->onLockPixels(&fColorTable); in lockPixels()
130 fPixels = NULL; in unlockPixels()
DSkBitmap.cpp32 void* fPixels; member
120 fPixels = NULL; in operator =()
141 SkTSwap(fPixels, other.fPixels); in swap()
307 fPixels = p; in updatePixelsFromRef()
311 fPixels = NULL; in updatePixelsFromRef()
406 fPixels = NULL; in freePixels()
776 uint8_t* p = (uint8_t*)fPixels; in eraseARGB()
787 uint8_t* p = (uint8_t*)fPixels; in eraseARGB()
796 uint16_t* p = (uint16_t*)fPixels; in eraseARGB()
812 uint32_t* p = (uint32_t*)fPixels; in eraseARGB()
[all …]
/external/skia/legacy/src/core/
DSkPixelRef.cpp61 fPixels = NULL; in SkPixelRef()
71 fPixels = NULL; in SkPixelRef()
82 fPixels = pixels; in setPreLocked()
99 fPixels = this->onLockPixels(&fColorTable); in lockPixels()
113 fPixels = NULL; in unlockPixels()
DSkBitmap.cpp30 void* fPixels; member
118 fPixels = NULL; in operator =()
139 SkTSwap(fPixels, other.fPixels); in swap()
293 fPixels = p; in updatePixelsFromRef()
297 fPixels = NULL; in updatePixelsFromRef()
350 return fPixels != NULL; in lockPixelsAreWritable()
356 fPixels = p; in setPixels()
389 fPixels = NULL; in freePixels()
403 SkASSERT(fPixels || !fRawPixelGenerationID); in getGenerationID()
404 if (fPixels && !fRawPixelGenerationID) { in getGenerationID()
[all …]
/external/skia/src/utils/mac/
DSkBitmap_Mac.cpp114 if (fPixels == NULL || fWidth == 0 || fHeight == 0) { in drawToPort()