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