Searched refs:UserEnabled (Results 1 – 4 of 4) sorted by relevance
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()
50 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()
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()
73 GLbitfield UserEnabled; /**< Vertex attribs enabled by the user. */ member