Lines Matching defs:node

99                          const struct vbo_save_vertex_list *node)
101 if (!node->cold->current_data)
104 fi_type *data = node->cold->current_data;
108 copy_vao(ctx, node->cold->VAO[VP_MODE_SHADER], ~VERT_BIT_POS & VERT_BIT_ALL,
111 copy_vao(ctx, node->cold->VAO[VP_MODE_FF], VERT_BIT_MAT_ALL,
121 if (node->cold->prim_count) {
122 const struct _mesa_prim *prim = &node->cold->prims[node->cold->prim_count - 1];
137 const struct vbo_save_vertex_list *node)
140 _mesa_set_draw_vao(ctx, node->cold->VAO[mode], _vbo_get_vao_filter(mode));
163 const struct vbo_save_vertex_list *node =
168 if (_mesa_inside_begin_end(ctx) && node->draw_begins) {
179 loopback_vertex_list(ctx, node);
189 const struct vbo_save_vertex_list *node,
203 const GLbitfield enabled = node->enabled_attribs[mode];
230 struct pipe_vertex_state *state = node->state[mode];
233 info.mode = node->mode;
236 if (node->ctx == ctx) {
253 int16_t * const private_refcount = (int16_t*)&node->private_refcount[mode];
275 if (node->modes || node->num_draws > 1) {
277 node->start_counts,
278 node->modes,
279 node->num_draws,
281 } else if (node->num_draws) {
283 &node->start_count,
289 playback_copy_to_current(ctx, node);
301 const struct vbo_save_vertex_list *node =
306 if (_mesa_inside_begin_end(ctx) && node->draw_begins) {
315 if (vbo_save_playback_vertex_list_gallium(ctx, node, copy_to_current) == DONE)
318 bind_vertex_list(ctx, node);
332 struct pipe_draw_info *info = (struct pipe_draw_info *) &node->cold->info;
334 if (node->modes) {
336 node->start_counts,
337 node->modes,
338 node->num_draws);
339 } else if (node->num_draws == 1) {
340 ctx->Driver.DrawGallium(ctx, info, 0, &node->start_count, 1);
341 } else if (node->num_draws) {
342 ctx->Driver.DrawGallium(ctx, info, 0, node->start_counts,
343 node->num_draws);
348 playback_copy_to_current(ctx, node);