Lines Matching refs:velems
1028 struct i915_velems_state *velems; in i915_create_vertex_elements_state() local
1030 velems = (struct i915_velems_state *) MALLOC(sizeof(struct i915_velems_state)); in i915_create_vertex_elements_state()
1031 if (velems) { in i915_create_vertex_elements_state()
1032 velems->count = count; in i915_create_vertex_elements_state()
1033 memcpy(velems->velem, attribs, sizeof(*attribs) * count); in i915_create_vertex_elements_state()
1035 return velems; in i915_create_vertex_elements_state()
1040 void *velems) in i915_bind_vertex_elements_state() argument
1043 struct i915_velems_state *i915_velems = (struct i915_velems_state *) velems; in i915_bind_vertex_elements_state()
1045 if (i915->velems == velems) in i915_bind_vertex_elements_state()
1048 i915->velems = velems; in i915_bind_vertex_elements_state()
1058 i915_delete_vertex_elements_state(struct pipe_context *pipe, void *velems) in i915_delete_vertex_elements_state() argument
1060 FREE( velems ); in i915_delete_vertex_elements_state()