Searched refs:tempRB (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/gpu/ |
D | GrResourceProvider.cpp | 580 auto tempRB = dimensions.fWidth * GrColorTypeBytesPerPixel(allowedColorType); in prepare_level() local 581 data->reset(new char[tempRB * dimensions.fHeight]); in prepare_level() 583 outLevel->fRowBytes = tempRB; in prepare_level() 586 return GrConvertPixels(dstInfo, data->get(), tempRB, srcInfo, inLevel.fPixels, actualRB); in prepare_level()
|
D | GrDataUtils.cpp | 489 auto tempRB = tempDstInfo.minRowBytes(); in GrConvertPixels() local 490 std::unique_ptr<char[]> tempDst(new char[tempRB * tempDstInfo.height()]); in GrConvertPixels() 491 if (!GrConvertPixels(tempDstInfo, tempDst.get(), tempRB, srcInfo, src, srcRB, flipY)) { in GrConvertPixels() 496 for (int y = 0; y < dstInfo.height(); ++y, tRow += tempRB, dRow += dstRB) { in GrConvertPixels()
|