Lines Matching refs:srcRowBytes
185 size_t srcRowBytes = SkAlignTo(GrColorTypeBytesPerPixel(allowedSrc.fColorType) * srcBufferWidth, in basic_transfer_to_test() local
188 std::unique_ptr<char[]> srcData(new char[kTexDims.fHeight * srcRowBytes]); in basic_transfer_to_test()
190 fill_transfer_data(0, 0, kTexDims.fWidth, kTexDims.fHeight, srcRowBytes, in basic_transfer_to_test()
194 size_t size = srcRowBytes * kBufferHeight; in basic_transfer_to_test()
220 srcRowBytes); in basic_transfer_to_test()
243 ComparePixels(GrCPixmap(srcInfo, srcData.get(), srcRowBytes), in basic_transfer_to_test()
263 size_t offset = top * srcRowBytes + left * GrColorTypeBytesPerPixel(allowedSrc.fColorType); in basic_transfer_to_test()
273 offset = top * srcRowBytes; in basic_transfer_to_test()
280 fill_transfer_data(left, top, width, height, srcRowBytes, allowedSrc.fColorType, in basic_transfer_to_test()
292 srcRowBytes); in basic_transfer_to_test()
305 ComparePixels(GrCPixmap(srcInfo, srcData.get(), srcRowBytes), in basic_transfer_to_test()