Searched refs:max_extent (Results 1 – 3 of 3) sorted by relevance
70 const int max_extent = (ilo_dev_gen(dev) >= ILO_GEN(7)) ? 32768 : 16384; in viewport_matrix_get_gen6_guardband() local79 if (center_x - half_len < -max_extent) in viewport_matrix_get_gen6_guardband()80 center_x = -max_extent + half_len; in viewport_matrix_get_gen6_guardband()81 else if (center_x + half_len > max_extent - 1) in viewport_matrix_get_gen6_guardband()82 center_x = max_extent - half_len; in viewport_matrix_get_gen6_guardband()84 if (center_y - half_len < -max_extent) in viewport_matrix_get_gen6_guardband()85 center_y = -max_extent + half_len; in viewport_matrix_get_gen6_guardband()86 else if (center_y + half_len > max_extent - 1) in viewport_matrix_get_gen6_guardband()87 center_y = max_extent - half_len; in viewport_matrix_get_gen6_guardband()
245 const unsigned max_extent = 32767; /* INT16_MAX */ in tex_clear_region() local256 if (dst_tex->image.bo_stride > max_extent) in tex_clear_region()280 if (dst.x + dst_box->width > max_extent || in tex_clear_region()281 dst.y + dst_box->height > max_extent) in tex_clear_region()304 const unsigned max_extent = 32767; /* INT16_MAX */ in tex_copy_region() local317 if (dst_tex->image.bo_stride > max_extent || in tex_copy_region()318 src_tex->image.bo_stride > max_extent) in tex_copy_region()388 if (src.x + width > max_extent || src.y + height > max_extent || in tex_copy_region()389 dst.x + width > max_extent || dst.y + height > max_extent) in tex_copy_region()
359 float max_extent = extents[0]; in get_transform() local360 if (max_extent < extents[1]) max_extent = extents[1]; in get_transform()361 if (max_extent < extents[2]) max_extent = extents[2]; in get_transform()363 scale = 1.0f / max_extent; in get_transform()