Lines Matching refs:info

43 util_draw_init_info(struct pipe_draw_info *info)  in util_draw_init_info()  argument
45 memset(info, 0, sizeof(*info)); in util_draw_init_info()
46 info->instance_count = 1; in util_draw_init_info()
47 info->max_index = 0xffffffff; in util_draw_init_info()
54 struct pipe_draw_info info; in util_draw_arrays() local
56 util_draw_init_info(&info); in util_draw_arrays()
57 info.mode = mode; in util_draw_arrays()
58 info.start = start; in util_draw_arrays()
59 info.count = count; in util_draw_arrays()
60 info.min_index = start; in util_draw_arrays()
61 info.max_index = start + count - 1; in util_draw_arrays()
63 pipe->draw_vbo(pipe, &info); in util_draw_arrays()
70 struct pipe_draw_info info; in util_draw_elements() local
72 util_draw_init_info(&info); in util_draw_elements()
73 info.indexed = TRUE; in util_draw_elements()
74 info.mode = mode; in util_draw_elements()
75 info.start = start; in util_draw_elements()
76 info.count = count; in util_draw_elements()
77 info.index_bias = index_bias; in util_draw_elements()
79 pipe->draw_vbo(pipe, &info); in util_draw_elements()
88 struct pipe_draw_info info; in util_draw_arrays_instanced() local
90 util_draw_init_info(&info); in util_draw_arrays_instanced()
91 info.mode = mode; in util_draw_arrays_instanced()
92 info.start = start; in util_draw_arrays_instanced()
93 info.count = count; in util_draw_arrays_instanced()
94 info.start_instance = start_instance; in util_draw_arrays_instanced()
95 info.instance_count = instance_count; in util_draw_arrays_instanced()
96 info.min_index = start; in util_draw_arrays_instanced()
97 info.max_index = start + count - 1; in util_draw_arrays_instanced()
99 pipe->draw_vbo(pipe, &info); in util_draw_arrays_instanced()
109 struct pipe_draw_info info; in util_draw_elements_instanced() local
111 util_draw_init_info(&info); in util_draw_elements_instanced()
112 info.indexed = TRUE; in util_draw_elements_instanced()
113 info.mode = mode; in util_draw_elements_instanced()
114 info.start = start; in util_draw_elements_instanced()
115 info.count = count; in util_draw_elements_instanced()
116 info.index_bias = index_bias; in util_draw_elements_instanced()
117 info.start_instance = start_instance; in util_draw_elements_instanced()
118 info.instance_count = instance_count; in util_draw_elements_instanced()
120 pipe->draw_vbo(pipe, &info); in util_draw_elements_instanced()
130 struct pipe_draw_info info; in util_draw_range_elements() local
132 util_draw_init_info(&info); in util_draw_range_elements()
133 info.indexed = TRUE; in util_draw_range_elements()
134 info.mode = mode; in util_draw_range_elements()
135 info.start = start; in util_draw_range_elements()
136 info.count = count; in util_draw_range_elements()
137 info.index_bias = index_bias; in util_draw_range_elements()
138 info.min_index = min_index; in util_draw_range_elements()
139 info.max_index = max_index; in util_draw_range_elements()
141 pipe->draw_vbo(pipe, &info); in util_draw_range_elements()
150 const struct pipe_draw_info *info);