Home
last modified time | relevance | path

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

/external/skqp/src/image/
DSkSurface_Raster.cpp51 uint64_t minRB = (uint64_t)info.width() << shift; in SkSurfaceValidateRasterInfo() local
52 if (minRB > rowBytes) { in SkSurfaceValidateRasterInfo()
/external/skia/src/gpu/
DGrResourceProvider.cpp570 size_t minRB = dimensions.fWidth * GrColorTypeBytesPerPixel(origColorType); in prepare_level() local
571 size_t actualRB = inLevel.fRowBytes ? inLevel.fRowBytes : minRB; in prepare_level()
572 if (actualRB < minRB) { in prepare_level()
575 if (origColorType == allowedColorType && (actualRB == minRB || rowBytesSupport)) { in prepare_level()