Lines Matching refs:dataPtr
109 unsigned char* dataPtr = fData; in addSubImage() local
110 dataPtr += fBytesPerPixel * fWidth * loc->fY; in addSubImage()
111 dataPtr += fBytesPerPixel * loc->fX; in addSubImage()
115 SkOpts::RGBA_to_BGRA(reinterpret_cast<uint32_t*>(dataPtr), imagePtr, width); in addSubImage()
116 dataPtr += fBytesPerPixel * fWidth; in addSubImage()
121 memcpy(dataPtr, imagePtr, rowBytes); in addSubImage()
122 dataPtr += fBytesPerPixel * fWidth; in addSubImage()
142 const unsigned char* dataPtr = fData; in uploadToTexture() local
150 dataPtr += rowBytes * fDirtyRect.fTop; in uploadToTexture()
151 dataPtr += fBytesPerPixel * fDirtyRect.fLeft; in uploadToTexture()
155 fDirtyRect.width(), fDirtyRect.height(), colorType, dataPtr, rowBytes); in uploadToTexture()