Home
last modified time | relevance | path

Searched refs:minRB (Results 1 – 3 of 3) sorted by relevance

/third_party/flutter/skia/src/gpu/
DGrResourceProvider.cpp50 size_t minRB = w * bpp; in prepare_level() local
53 data->reset(new char[minRB * h]()); in prepare_level()
55 outLevel->fRowBytes = minRB; in prepare_level()
62 size_t actualRB = inLevel.fRowBytes ? inLevel.fRowBytes : minRB; in prepare_level()
63 if (actualRB < minRB) { in prepare_level()
66 if (actualRB == minRB || rowBytesSupport) { in prepare_level()
70 data->reset(new char[minRB * h]); in prepare_level()
72 outLevel->fRowBytes = minRB; in prepare_level()
73 SkRectMemcpy(data->get(), outLevel->fRowBytes, inLevel.fPixels, inLevel.fRowBytes, minRB, in prepare_level()
/third_party/flutter/skia/src/image/
DSkSurface_Raster.cpp51 uint64_t minRB = (uint64_t)info.width() << shift; in SkSurfaceValidateRasterInfo() local
52 if (minRB > rowBytes) { in SkSurfaceValidateRasterInfo()
/third_party/skia/src/gpu/
DGrResourceProvider.cpp777 size_t minRB = dimensions.fWidth * GrColorTypeBytesPerPixel(origColorType); in prepare_level() local
778 size_t actualRB = inLevel.fRowBytes ? inLevel.fRowBytes : minRB; in prepare_level()
779 if (actualRB < minRB) { in prepare_level()
782 if (origColorType == allowedColorType && (actualRB == minRB || rowBytesSupport)) { in prepare_level()