Lines Matching defs:vao

73                      struct gl_vertex_array_object *vao);
78 struct gl_vertex_array_object *vao)
80 if (*ptr != vao)
81 _mesa_reference_vao_(ctx, ptr, vao);
92 struct gl_vertex_array_object *vao);
96 * Mark the vao as shared and immutable, do remaining updates.
100 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
181 const struct gl_vertex_array_object *const vao = ctx->Array._DrawVAO;
182 assert(!vao->NewVertexBuffers && !vao->NewVertexElements);
183 return vao->_EffEnabledVBO & ctx->Array._DrawVAOEnabledAttribs;
195 const struct gl_vertex_array_object *const vao = ctx->Array._DrawVAO;
196 assert(!vao->NewVertexBuffers && !vao->NewVertexElements);
197 return ~vao->_EffEnabledVBO & ctx->Array._DrawVAOEnabledAttribs;
209 const struct gl_vertex_array_object *const vao = ctx->Array._DrawVAO;
210 assert(!vao->NewVertexBuffers && !vao->NewVertexElements);
211 return vao->_EffEnabledNonZeroDivisor & ctx->Array._DrawVAOEnabledAttribs;
231 _mesa_draw_buffer_binding_from_attrib(const struct gl_vertex_array_object *vao,
234 assert(!vao->NewVertexBuffers && !vao->NewVertexElements);
235 return &vao->BufferBinding[attrib->_EffBufferBindingIndex];
243 _mesa_draw_array_attrib(const struct gl_vertex_array_object *vao,
246 assert(!vao->NewVertexBuffers && !vao->NewVertexElements);
247 const gl_attribute_map_mode map_mode = vao->_AttributeMapMode;
248 return &vao->VertexAttrib[_mesa_vao_attribute_map[map_mode][attr]];
256 _mesa_draw_array_format(const struct gl_vertex_array_object *vao,
259 return &_mesa_draw_array_attrib(vao, attr)->Format;
267 _mesa_draw_buffer_binding(const struct gl_vertex_array_object *vao,
271 = _mesa_draw_array_attrib(vao, attr);
272 return _mesa_draw_buffer_binding_from_attrib(vao, attrib);