Searched refs:rect_fits (Results 1 – 1 of 1) sorted by relevance
157 static bool rect_fits(const SkIRect& rect, int width, int height) { in rect_fits() function166 SkASSERT(rect_fits(subset, image->width(), image->height())); in NewFromImage()235 SkASSERT(rect_fits(subset, bm.width(), bm.height())); in NewFromRaster()306 SkASSERT(rect_fits(subset, tex->width(), tex->height())); in NewFromGpu()