Home
last modified time | relevance | path

Searched refs:UserEnabled (Results 1 – 3 of 3) 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.c50 vao->UserEnabled = 0; in _mesa_glthread_reset_vao()
260 if (enable && !(vao->UserEnabled & attrib_bit)) { in _mesa_glthread_ClientState()
261 vao->UserEnabled |= attrib_bit; in _mesa_glthread_ClientState()
267 if (!(vao->UserEnabled & VERT_BIT_GENERIC0)) in _mesa_glthread_ClientState()
272 if (attrib == VERT_ATTRIB_GENERIC0 && vao->UserEnabled & VERT_BIT_POS) in _mesa_glthread_ClientState()
275 } else if (!enable && (vao->UserEnabled & attrib_bit)) { in _mesa_glthread_ClientState()
276 vao->UserEnabled &= ~attrib_bit; in _mesa_glthread_ClientState()
282 if (!(vao->UserEnabled & VERT_BIT_GENERIC0)) in _mesa_glthread_ClientState()
287 if (attrib == VERT_ATTRIB_GENERIC0 && vao->UserEnabled & VERT_BIT_POS) in _mesa_glthread_ClientState()
293 vao->Enabled = vao->UserEnabled; in _mesa_glthread_ClientState()
Dglthread.h73 GLbitfield UserEnabled; /**< Vertex attribs enabled by the user. */ member