Searched refs:rect_fits (Results 1 – 1 of 1) sorted by relevance
175 static bool rect_fits(const SkIRect& rect, int width, int height) { in rect_fits() function192 SkASSERT(rect_fits(subset, image->width(), image->height())); in MakeFromImage()327 SkASSERT(rect_fits(subset, bm.width(), bm.height())); in MakeFromRaster()519 SkASSERT(rect_fits(subset, proxy->width(), proxy->height())); in MakeDeferredFromGpu()