Lines Matching refs:dataPtr
87 unsigned char* dataPtr = fData; in addSubImage() local
88 dataPtr += fBytesPerPixel * fWidth * loc->fY; in addSubImage()
89 dataPtr += fBytesPerPixel * loc->fX; in addSubImage()
93 SkOpts::RGBA_to_BGRA(reinterpret_cast<uint32_t*>(dataPtr), imagePtr, width); in addSubImage()
94 dataPtr += fBytesPerPixel * fWidth; in addSubImage()
99 memcpy(dataPtr, imagePtr, rowBytes); in addSubImage()
100 dataPtr += fBytesPerPixel * fWidth; in addSubImage()
120 const unsigned char* dataPtr = fData; in uploadToTexture() local
121 dataPtr += rowBytes * fDirtyRect.fTop; in uploadToTexture()
122 dataPtr += fBytesPerPixel * fDirtyRect.fLeft; in uploadToTexture()
124 fDirtyRect.width(), fDirtyRect.height(), fConfig, dataPtr, rowBytes); in uploadToTexture()