Searched refs:minRB (Results 1 – 3 of 3) sorted by relevance
50 size_t minRB = w * bpp; in prepare_level() local53 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()
51 uint64_t minRB = (uint64_t)info.width() << shift; in SkSurfaceValidateRasterInfo() local52 if (minRB > rowBytes) { in SkSurfaceValidateRasterInfo()
777 size_t minRB = dimensions.fWidth * GrColorTypeBytesPerPixel(origColorType); in prepare_level() local778 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()