Lines Matching refs:vao
62 vao_state(struct gl_context *ctx, struct gl_vertex_array_object* vao, in vao_state() argument
66 _mesa_enable_vertex_array_attrib(ctx, vao, attr); in vao_state()
68 _mesa_disable_vertex_array_attrib(ctx, vao, attr); in vao_state()
76 client_state(struct gl_context *ctx, struct gl_vertex_array_object* vao, in client_state() argument
81 vao_state(ctx, vao, VERT_ATTRIB_POS, state); in client_state()
84 vao_state(ctx, vao, VERT_ATTRIB_NORMAL, state); in client_state()
87 vao_state(ctx, vao, VERT_ATTRIB_COLOR0, state); in client_state()
90 vao_state(ctx, vao, VERT_ATTRIB_COLOR_INDEX, state); in client_state()
93 vao_state(ctx, vao, VERT_ATTRIB_TEX(ctx->Array.ActiveTexture), state); in client_state()
96 vao_state(ctx, vao, VERT_ATTRIB_EDGEFLAG, state); in client_state()
99 vao_state(ctx, vao, VERT_ATTRIB_FOG, state); in client_state()
102 vao_state(ctx, vao, VERT_ATTRIB_COLOR1, state); in client_state()
110 vao_state(ctx, vao, VERT_ATTRIB_POINT_SIZE, state); in client_state()
148 client_state_i(struct gl_context *ctx, struct gl_vertex_array_object* vao, in client_state_i() argument
169 client_state(ctx, vao, cap, state); in client_state_i()
193 struct gl_vertex_array_object* vao = _mesa_lookup_vao_err(ctx, vaobj, in _mesa_EnableVertexArrayEXT() local
196 if (!vao) in _mesa_EnableVertexArrayEXT()
212 client_state(ctx, vao, GL_TEXTURE_COORD_ARRAY, GL_TRUE); in _mesa_EnableVertexArrayEXT()
215 client_state(ctx, vao, cap, GL_TRUE); in _mesa_EnableVertexArrayEXT()
246 struct gl_vertex_array_object* vao = _mesa_lookup_vao_err(ctx, vaobj, in _mesa_DisableVertexArrayEXT() local
249 if (!vao) in _mesa_DisableVertexArrayEXT()
265 client_state(ctx, vao, GL_TEXTURE_COORD_ARRAY, GL_FALSE); in _mesa_DisableVertexArrayEXT()
268 client_state(ctx, vao, cap, GL_FALSE); in _mesa_DisableVertexArrayEXT()