Lines Matching refs:vertices
121 float *vertices = hud->bg.vertices + hud->bg.num_vertices*2; in hud_draw_background_quad() local
126 vertices[num++] = (float) x1; in hud_draw_background_quad()
127 vertices[num++] = (float) y1; in hud_draw_background_quad()
129 vertices[num++] = (float) x1; in hud_draw_background_quad()
130 vertices[num++] = (float) y2; in hud_draw_background_quad()
132 vertices[num++] = (float) x2; in hud_draw_background_quad()
133 vertices[num++] = (float) y2; in hud_draw_background_quad()
135 vertices[num++] = (float) x2; in hud_draw_background_quad()
136 vertices[num++] = (float) y1; in hud_draw_background_quad()
147 float *vertices = hud->text.vertices + hud->text.num_vertices*4; in hud_draw_string() local
181 vertices[num++] = (float) x1; in hud_draw_string()
182 vertices[num++] = (float) y1; in hud_draw_string()
183 vertices[num++] = (float) tx1; in hud_draw_string()
184 vertices[num++] = (float) ty1; in hud_draw_string()
186 vertices[num++] = (float) x1; in hud_draw_string()
187 vertices[num++] = (float) y2; in hud_draw_string()
188 vertices[num++] = (float) tx1; in hud_draw_string()
189 vertices[num++] = (float) ty2; in hud_draw_string()
191 vertices[num++] = (float) x2; in hud_draw_string()
192 vertices[num++] = (float) y2; in hud_draw_string()
193 vertices[num++] = (float) tx2; in hud_draw_string()
194 vertices[num++] = (float) ty2; in hud_draw_string()
196 vertices[num++] = (float) x2; in hud_draw_string()
197 vertices[num++] = (float) y1; in hud_draw_string()
198 vertices[num++] = (float) tx2; in hud_draw_string()
199 vertices[num++] = (float) ty1; in hud_draw_string()
310 gr->vertices, gr->index, in hud_draw_graph_line_strip()
319 gr->vertices + gr->index*2, in hud_draw_graph_line_strip()
330 float *line_verts = hud->whitelines.vertices + hud->whitelines.num_vertices*2; in hud_pane_accumulate_vertices()
662 (void**)&hud->bg.vertices); in hud_stop_queries()
663 if (!hud->bg.vertices) in hud_stop_queries()
671 hud->whitelines.vertices = hud->bg.vertices + in hud_stop_queries()
676 hud->text.vertices = hud->whitelines.vertices + in hud_stop_queries()
851 tmp = gr->vertices[i * 2 + 1] > tmp ? in hud_pane_update_dyn_ceiling()
852 gr->vertices[i * 2 + 1] : tmp; in hud_pane_update_dyn_ceiling()
943 gr->vertices = MALLOC(pane->max_num_vertices * sizeof(float) * 2); in hud_pane_add_graph()
969 gr->vertices[0] = 0; in hud_graph_add_value()
970 gr->vertices[1] = gr->vertices[(gr->index-1)*2+1]; in hud_graph_add_value()
973 gr->vertices[(gr->index)*2+0] = (float) (gr->index * 2); in hud_graph_add_value()
974 gr->vertices[(gr->index)*2+1] = (float) value; in hud_graph_add_value()
992 FREE(graph->vertices); in hud_graph_destroy()