Searched refs:CurrentVAO (Results 1 – 7 of 7) sorted by relevance
/third_party/mesa3d/src/mesa/main/ |
D | glthread_get.c | 98 *p = (ctx->GLThread.CurrentVAO->UserEnabled & (1 << VERT_ATTRIB_POS)) != 0; in _mesa_marshal_GetIntegerv() 101 *p = (ctx->GLThread.CurrentVAO->UserEnabled & (1 << VERT_ATTRIB_NORMAL)) != 0; in _mesa_marshal_GetIntegerv() 104 *p = (ctx->GLThread.CurrentVAO->UserEnabled & (1 << VERT_ATTRIB_COLOR0)) != 0; in _mesa_marshal_GetIntegerv() 107 *p = (ctx->GLThread.CurrentVAO->UserEnabled & (1 << VERT_ATTRIB_COLOR1)) != 0; in _mesa_marshal_GetIntegerv() 110 *p = (ctx->GLThread.CurrentVAO->UserEnabled & (1 << VERT_ATTRIB_FOG)) != 0; in _mesa_marshal_GetIntegerv() 113 *p = (ctx->GLThread.CurrentVAO->UserEnabled & (1 << VERT_ATTRIB_COLOR_INDEX)) != 0; in _mesa_marshal_GetIntegerv() 116 *p = (ctx->GLThread.CurrentVAO->UserEnabled & (1 << VERT_ATTRIB_EDGEFLAG)) != 0; in _mesa_marshal_GetIntegerv() 119 *p = (ctx->GLThread.CurrentVAO->UserEnabled & in _mesa_marshal_GetIntegerv() 123 *p = (ctx->GLThread.CurrentVAO->UserEnabled & (1 << VERT_ATTRIB_POINT_SIZE)) != 0; in _mesa_marshal_GetIntegerv()
|
D | glthread_varray.c | 99 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 …]
|
D | glthread_marshal.h | 96 struct glthread_vao *vao = glthread->CurrentVAO; in _mesa_glthread_has_non_vbo_vertices_or_indices() 107 const struct glthread_vao *vao = glthread->CurrentVAO; in _mesa_glthread_has_non_vbo_vertices() 117 const struct glthread_vao *vao = glthread->CurrentVAO; in _mesa_glthread_has_non_vbo_vertices_or_indirect() 128 struct glthread_vao *vao = glthread->CurrentVAO; in _mesa_glthread_has_non_vbo_vertices_or_indices_or_indirect() 493 return !!(ctx->GLThread.CurrentVAO->UserEnabled & VERT_BIT_POS); in _mesa_glthread_IsEnabled() 495 return !!(ctx->GLThread.CurrentVAO->UserEnabled & VERT_BIT_NORMAL); in _mesa_glthread_IsEnabled() 497 return !!(ctx->GLThread.CurrentVAO->UserEnabled & VERT_BIT_COLOR0); in _mesa_glthread_IsEnabled() 499 return !!(ctx->GLThread.CurrentVAO->UserEnabled & in _mesa_glthread_IsEnabled()
|
D | glthread_draw.c | 115 struct glthread_vao *vao = ctx->GLThread.CurrentVAO; in upload_vertices() 383 struct glthread_vao *vao = ctx->GLThread.CurrentVAO; in draw_arrays() 505 struct glthread_vao *vao = ctx->GLThread.CurrentVAO; in _mesa_marshal_MultiDrawArrays() 782 struct glthread_vao *vao = ctx->GLThread.CurrentVAO; in draw_elements() 1004 struct glthread_vao *vao = ctx->GLThread.CurrentVAO; in _mesa_marshal_MultiDrawElementsBaseVertex()
|
D | glthread_bufferobj.c | 188 glthread->CurrentVAO->CurrentElementBufferName = buffer; in _mesa_glthread_BindBuffer() 219 if (id == glthread->CurrentVAO->CurrentElementBufferName) in _mesa_glthread_DeleteBuffers()
|
D | glthread.h | 200 struct glthread_vao *CurrentVAO; member
|
D | glthread.c | 111 glthread->CurrentVAO = &glthread->DefaultVAO; in _mesa_glthread_init()
|