Home
last modified time | relevance | path

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

/openbmc/openbmc/poky/meta/recipes-graphics/piglit/piglit/
H A D0001-tests-Fix-narrowing-errors-seen-with-clang.patch23 { 0.0f, 0.0f + i * (pattern_height / num_rects) },
24 { 0.0f, (i + 1.0f) * (pattern_height / num_rects) },
25 - { pattern_width, (i + 1.0f) * (pattern_height / num_rects) },
26 - { pattern_width, 0.0f + i * (pattern_height / num_rects) } };
27 + { static_cast<float>(pattern_width), (i + 1.0f) * (pattern_height / num_rects) },
28 + { static_cast<float>(pattern_width), 0.0f + i * (pattern_height / num_rects) } };
/openbmc/u-boot/drivers/video/
H A Dstb_truetype.h591 …_DEF void stbtt_PackFontRangesPackRects(stbtt_pack_context *spc, stbrp_rect *rects, int num_rects);
2634 static void stbrp_pack_rects(stbrp_context *con, stbrp_rect *rects, int num_rects) in stbrp_pack_rects() argument
2637 for (i=0; i < num_rects; ++i) { in stbrp_pack_rects()
2651 for ( ; i < num_rects; ++i) in stbrp_pack_rects()
2958 …T_DEF void stbtt_PackFontRangesPackRects(stbtt_pack_context *spc, stbrp_rect *rects, int num_rects) in stbtt_PackFontRangesPackRects() argument
2960 stbrp_pack_rects((stbrp_context *) spc->pack_info, rects, num_rects); in stbtt_PackFontRangesPackRects()