Searched refs:num_rect (Results 1 – 1 of 1) sorted by relevance
140 uint32_t num_rect = 0; in _vglite_draw_border() local148 rect[num_rect].x = coords->x1 - ceil(line_width / 2.0f); in _vglite_draw_border()149 rect[num_rect].y = coords->y1 - ceil(line_width / 2.0f); in _vglite_draw_border()150 rect[num_rect].width = coords->x2 - coords->x1 + line_width; in _vglite_draw_border()151 rect[num_rect].height = final_radius + ceil(line_width / 2.0f); in _vglite_draw_border()152 num_rect++; in _vglite_draw_border()156 rect[num_rect].x = coords->x1 - ceil(line_width / 2.0f); in _vglite_draw_border()157 rect[num_rect].y = coords->y1 - ceil(line_width / 2.0f); in _vglite_draw_border()158 rect[num_rect].width = final_radius + ceil(line_width / 2.0f); in _vglite_draw_border()159 rect[num_rect].height = coords->y2 - coords->y1 + line_width + 1; in _vglite_draw_border()[all …]