Searched refs:fBytesPerPixel (Results 1 – 4 of 4) sorted by relevance
75 , fBytesPerPixel(GrBytesPerPixel(config)) in Plot()81 SkASSERT(((width*fBytesPerPixel) & 0x3) == 0); in Plot()83 SkASSERT(fBytesPerPixel != 3 && fBytesPerPixel <= 4); in Plot()104 fData = reinterpret_cast<unsigned char*>(sk_calloc_throw(fBytesPerPixel * fWidth * in addSubImage()107 size_t rowBytes = width * fBytesPerPixel; in addSubImage()111 dataPtr += fBytesPerPixel * fWidth * loc->fY; in addSubImage()112 dataPtr += fBytesPerPixel * loc->fX; in addSubImage()114 if (4 == fBytesPerPixel && kSkia8888_GrPixelConfig == kBGRA_8888_GrPixelConfig) { in addSubImage()117 dataPtr += fBytesPerPixel * fWidth; in addSubImage()123 dataPtr += fBytesPerPixel * fWidth; in addSubImage()[all …]
275 SkDEBUGCODE(size_t bpp() const { return fBytesPerPixel; })340 const size_t fBytesPerPixel; variable
101 , fBytesPerPixel(GrColorTypeBytesPerPixel(colorType)) in Plot()107 SkASSERT(((width*fBytesPerPixel) & 0x3) == 0); in Plot()109 SkASSERT(fBytesPerPixel != 3 && fBytesPerPixel <= 4); in Plot()130 sk_calloc_throw(fBytesPerPixel * fWidth * fHeight)); in addSubImage()132 size_t rowBytes = width * fBytesPerPixel; in addSubImage()136 dataPtr += fBytesPerPixel * fWidth * rect.fTop; in addSubImage()137 dataPtr += fBytesPerPixel * rect.fLeft; in addSubImage()139 if (4 == fBytesPerPixel && kN32_SkColorType == kBGRA_8888_SkColorType) { in addSubImage()142 dataPtr += fBytesPerPixel * fWidth; in addSubImage()148 dataPtr += fBytesPerPixel * fWidth; in addSubImage()[all …]
397 SkDEBUGCODE(size_t bpp() const { return fBytesPerPixel; })455 const size_t fBytesPerPixel; variable