Lines Matching refs:fBytesPerPixel
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()
167 size_t rowBytes = fBytesPerPixel * fWidth; in uploadToTexture()
170 unsigned int clearBits = 0x3 / fBytesPerPixel; in uploadToTexture()
177 dataPtr += fBytesPerPixel * fDirtyRect.fLeft; in uploadToTexture()
195 sk_bzero(fData, fBytesPerPixel * fWidth * fHeight); in resetRects()