Lines Matching defs:vao

64                      struct gl_vertex_array_object *vao);
69 struct gl_vertex_array_object *vao)
71 if (*ptr != vao)
72 _mesa_reference_vao_(ctx, ptr, vao);
83 struct gl_vertex_array_object *vao);
87 * Mark the vao as shared and immutable, do remaining updates.
91 struct gl_vertex_array_object *vao);
96 _mesa_all_varyings_in_vbos(const struct gl_vertex_array_object *vao);
100 _mesa_all_buffers_are_unmapped(const struct gl_vertex_array_object *vao);
104 _mesa_vao_map_arrays(struct gl_context *ctx, struct gl_vertex_array_object *vao,
108 _mesa_vao_map(struct gl_context *ctx, struct gl_vertex_array_object *vao,
114 struct gl_vertex_array_object *vao);
118 struct gl_vertex_array_object *vao);
124 * as they appear in the vao.
131 * Apply the position/generic0 aliasing map to a bitfield from the vao.
133 * or gl_vertex_buffer_binding::_VertexBinding from the vao numbering to
161 _mesa_get_vao_vp_inputs(const struct gl_vertex_array_object *vao)
163 const gl_attribute_map_mode mode = vao->_AttributeMapMode;
164 return _mesa_vao_enable_to_vp_inputs(mode, vao->Enabled);
193 const struct gl_vertex_array_object *const vao = ctx->Array._DrawVAO;
194 assert(vao->NewArrays == 0);
195 return vao->_EffEnabledVBO & ctx->Array._DrawVAOEnabledAttribs;
207 const struct gl_vertex_array_object *const vao = ctx->Array._DrawVAO;
208 assert(vao->NewArrays == 0);
209 return ~vao->_EffEnabledVBO & ctx->Array._DrawVAOEnabledAttribs;
229 _mesa_draw_buffer_binding_from_attrib(const struct gl_vertex_array_object *vao,
232 assert(vao->NewArrays == 0);
233 return &vao->BufferBinding[attrib->_EffBufferBindingIndex];
241 _mesa_draw_array_attrib(const struct gl_vertex_array_object *vao,
244 assert(vao->NewArrays == 0);
245 const gl_attribute_map_mode map_mode = vao->_AttributeMapMode;
246 return &vao->VertexAttrib[_mesa_vao_attribute_map[map_mode][attr]];
254 _mesa_draw_buffer_binding(const struct gl_vertex_array_object *vao,
258 = _mesa_draw_array_attrib(vao, attr);
259 return _mesa_draw_buffer_binding_from_attrib(vao, attrib);
326 const struct gl_vertex_array_object *vao = ctx->Array._DrawVAO;
327 return _mesa_draw_array_attrib(vao, attr);
343 const struct gl_vertex_array_object *vao = ctx->Array._DrawVAO;
344 *attrib = _mesa_draw_array_attrib(vao, attr);
345 *binding = _mesa_draw_buffer_binding_from_attrib(vao, *attrib);