Searched refs:is_pow2 (Results 1 – 2 of 2) sorted by relevance
339 if (is_pow2(bm.width()) && is_pow2(bm.height())) in Create()344 if (is_pow2(bm.width()) && is_pow2(bm.height())) in Create()366 if (is_pow2(bm.width()) && is_pow2(bm.height())) in Create()371 if (is_pow2(bm.width()) && is_pow2(bm.height())) in Create()393 if (is_pow2(bm.width()) && is_pow2(bm.height())) in Create()398 if (is_pow2(bm.width()) && is_pow2(bm.height())) in Create()
93 static inline bool is_pow2(int count) in is_pow2() function136 SkASSERT((int)max >= 0 && is_pow2(max + 1)); in do_repeat_pow2()162 SkASSERT((int)max >= 0 && is_pow2(max + 1)); in do_mirror_pow2()