Home
last modified time | relevance | path

Searched refs:CurrentVAO (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dglthread_get.c90 *p = (ctx->GLThread.CurrentVAO->UserEnabled & (1 << VERT_ATTRIB_POS)) != 0; in _mesa_marshal_GetIntegerv()
93 *p = (ctx->GLThread.CurrentVAO->UserEnabled & (1 << VERT_ATTRIB_NORMAL)) != 0; in _mesa_marshal_GetIntegerv()
96 *p = (ctx->GLThread.CurrentVAO->UserEnabled & (1 << VERT_ATTRIB_COLOR0)) != 0; in _mesa_marshal_GetIntegerv()
99 *p = (ctx->GLThread.CurrentVAO->UserEnabled & (1 << VERT_ATTRIB_COLOR1)) != 0; in _mesa_marshal_GetIntegerv()
102 *p = (ctx->GLThread.CurrentVAO->UserEnabled & (1 << VERT_ATTRIB_FOG)) != 0; in _mesa_marshal_GetIntegerv()
105 *p = (ctx->GLThread.CurrentVAO->UserEnabled & (1 << VERT_ATTRIB_COLOR_INDEX)) != 0; in _mesa_marshal_GetIntegerv()
108 *p = (ctx->GLThread.CurrentVAO->UserEnabled & (1 << VERT_ATTRIB_EDGEFLAG)) != 0; in _mesa_marshal_GetIntegerv()
111 *p = (ctx->GLThread.CurrentVAO->UserEnabled & in _mesa_marshal_GetIntegerv()
115 *p = (ctx->GLThread.CurrentVAO->UserEnabled & (1 << VERT_ATTRIB_POINT_SIZE)) != 0; in _mesa_marshal_GetIntegerv()
Dglthread_varray.c99 glthread->CurrentVAO = &glthread->DefaultVAO; in _mesa_glthread_BindVertexArray()
104 glthread->CurrentVAO = vao; in _mesa_glthread_BindVertexArray()
130 if (glthread->CurrentVAO == vao) in _mesa_glthread_DeleteVertexArrays()
131 glthread->CurrentVAO = &glthread->DefaultVAO; in _mesa_glthread_DeleteVertexArrays()
173 return ctx->GLThread.CurrentVAO; in get_vao()
375 attrib_pointer(glthread, glthread->CurrentVAO, in _mesa_glthread_AttribPointer()
418 attrib_format(glthread, glthread->CurrentVAO, attribindex, size, type, in _mesa_glthread_AttribFormat()
458 bind_vertex_buffer(glthread, glthread->CurrentVAO, bindingindex, buffer, in _mesa_glthread_VertexBuffer()
516 binding_divisor(glthread, glthread->CurrentVAO, bindingindex, divisor); in _mesa_glthread_BindingDivisor()
540 set_attrib_binding(glthread, glthread->CurrentVAO, in _mesa_glthread_AttribBinding()
[all …]
Dglthread_marshal.h94 struct glthread_vao *vao = glthread->CurrentVAO; in _mesa_glthread_has_non_vbo_vertices_or_indices()
105 const struct glthread_vao *vao = glthread->CurrentVAO; in _mesa_glthread_has_non_vbo_vertices()
115 const struct glthread_vao *vao = glthread->CurrentVAO; in _mesa_glthread_has_non_vbo_vertices_or_indirect()
126 struct glthread_vao *vao = glthread->CurrentVAO; in _mesa_glthread_has_non_vbo_vertices_or_indices_or_indirect()
Dglthread_bufferobj.c187 glthread->CurrentVAO->CurrentElementBufferName = buffer; in _mesa_glthread_BindBuffer()
215 if (id == glthread->CurrentVAO->CurrentElementBufferName) in _mesa_glthread_DeleteBuffers()
Dglthread_draw.c115 struct glthread_vao *vao = ctx->GLThread.CurrentVAO; in upload_vertices()
383 struct glthread_vao *vao = ctx->GLThread.CurrentVAO; in draw_arrays()
498 struct glthread_vao *vao = ctx->GLThread.CurrentVAO; in _mesa_marshal_MultiDrawArrays()
775 struct glthread_vao *vao = ctx->GLThread.CurrentVAO; in draw_elements()
990 struct glthread_vao *vao = ctx->GLThread.CurrentVAO; in _mesa_marshal_MultiDrawElementsBaseVertex()
Dglthread.h198 struct glthread_vao *CurrentVAO; member
Dglthread.c110 glthread->CurrentVAO = &glthread->DefaultVAO; in _mesa_glthread_init()