Searched refs:VERT_ATTRIB_GENERIC (Results 1 – 14 of 14) sorted by relevance
/external/mesa3d/src/mesa/main/ |
D | varray.c | 461 update_array(ctx, "glVertexAttribPointerNV", VERT_ATTRIB_GENERIC(index), in _mesa_VertexAttribPointerNV() 494 update_array(ctx, "glVertexAttribPointer", VERT_ATTRIB_GENERIC(index), in _mesa_VertexAttribPointerARB() 524 update_array(ctx, "glVertexAttribIPointer", VERT_ATTRIB_GENERIC(index), in _mesa_VertexAttribIPointer() 546 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(arrayObj->VertexAttrib)); in _mesa_EnableVertexAttribArrayARB() 548 if (!arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled) { in _mesa_EnableVertexAttribArrayARB() 551 arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled = GL_TRUE; in _mesa_EnableVertexAttribArrayARB() 573 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(arrayObj->VertexAttrib)); in _mesa_DisableVertexAttribArrayARB() 575 if (arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled) { in _mesa_DisableVertexAttribArrayARB() 578 arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Enabled = GL_FALSE; in _mesa_DisableVertexAttribArrayARB() 601 ASSERT(VERT_ATTRIB_GENERIC(index) < Elements(ctx->Array.ArrayObj->VertexAttrib)); in get_vertex_array_attrib() [all …]
|
D | get.c | 1034 { GL_VERTEX_ATTRIB_ARRAY0_NV, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_GENERIC(0)].Enabled), 1036 { GL_VERTEX_ATTRIB_ARRAY1_NV, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_GENERIC(1)].Enabled), 1038 { GL_VERTEX_ATTRIB_ARRAY2_NV, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_GENERIC(2)].Enabled), 1040 { GL_VERTEX_ATTRIB_ARRAY3_NV, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_GENERIC(3)].Enabled), 1042 { GL_VERTEX_ATTRIB_ARRAY4_NV, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_GENERIC(4)].Enabled), 1044 { GL_VERTEX_ATTRIB_ARRAY5_NV, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_GENERIC(5)].Enabled), 1046 { GL_VERTEX_ATTRIB_ARRAY6_NV, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_GENERIC(6)].Enabled), 1048 { GL_VERTEX_ATTRIB_ARRAY7_NV, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_GENERIC(7)].Enabled), 1050 { GL_VERTEX_ATTRIB_ARRAY8_NV, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_GENERIC(8)].Enabled), 1052 { GL_VERTEX_ATTRIB_ARRAY9_NV, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_GENERIC(9)].Enabled), [all …]
|
D | nvprogram.c | 368 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)]; in _mesa_GetVertexAttribdvNV() 412 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)]; in _mesa_GetVertexAttribfvNV() 456 array = &ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)]; in _mesa_GetVertexAttribivNV() 511 *pointer = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(index)].Ptr; in _mesa_GetVertexAttribPointervNV()
|
D | enable.c | 122 ASSERT(VERT_ATTRIB_GENERIC(n) < Elements(arrayObj->VertexAttrib)); in client_state() 123 var = &arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(n)].Enabled; in client_state() 1584 ASSERT(VERT_ATTRIB_GENERIC(n) < Elements(ctx->Array.ArrayObj->VertexAttrib)); in _mesa_IsEnabled() 1585 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(n)].Enabled != 0); in _mesa_IsEnabled()
|
D | mtypes.h | 163 #define VERT_ATTRIB_GENERIC(i) (VERT_ATTRIB_GENERIC0 + (i)) macro 205 #define VERT_BIT_GENERIC(i) VERT_BIT(VERT_ATTRIB_GENERIC(i)) 207 BITFIELD64_RANGE(VERT_ATTRIB_GENERIC(0), VERT_ATTRIB_GENERIC_MAX)
|
D | api_arrayelt.c | 1532 struct gl_client_array *attribArray = &arrayObj->VertexAttrib[VERT_ATTRIB_GENERIC(i)]; in _ae_update_state()
|
D | ffvertex_prog.c | 139 if (key->varying_vp_inputs & VERT_ATTRIB_GENERIC(attr)) in check_active_shininess()
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_save.c | 79 memcpy(arrays + VERT_ATTRIB_GENERIC(0), in vbo_save_init() 85 array = &arrays[VERT_ATTRIB_GENERIC(i)]; in vbo_save_init()
|
D | vbo_exec_draw.c | 180 ASSERT(VERT_ATTRIB_GENERIC(attr) < Elements(exec->vtx.inputs)); in vbo_exec_bind_arrays() 181 exec->vtx.inputs[VERT_ATTRIB_GENERIC(attr)] = in vbo_exec_bind_arrays() 196 ASSERT(VERT_ATTRIB_GENERIC(attr) < Elements(exec->vtx.inputs)); in vbo_exec_bind_arrays() 197 exec->vtx.inputs[VERT_ATTRIB_GENERIC(attr)] = in vbo_exec_bind_arrays()
|
D | vbo_exec_array.c | 429 inputs[VERT_ATTRIB_GENERIC(i)] = in recalculate_input_bindings() 438 inputs[VERT_ATTRIB_GENERIC(i)] = &vbo->currval[VBO_ATTRIB_GENERIC0+i]; in recalculate_input_bindings() 450 && vertexAttrib[VERT_ATTRIB_GENERIC(i)].Enabled) in recalculate_input_bindings() 451 inputs[i] = &vertexAttrib[VERT_ATTRIB_GENERIC(i)]; in recalculate_input_bindings() 464 inputs[VERT_ATTRIB_GENERIC(i)] = &vbo->currval[VBO_ATTRIB_GENERIC0+i]; in recalculate_input_bindings() 496 if (vertexAttrib[VERT_ATTRIB_GENERIC(i)].Enabled) in recalculate_input_bindings() 497 inputs[VERT_ATTRIB_GENERIC(i)] = &vertexAttrib[VERT_ATTRIB_GENERIC(i)]; in recalculate_input_bindings() 499 inputs[VERT_ATTRIB_GENERIC(i)] = &vbo->currval[VBO_ATTRIB_GENERIC0+i]; in recalculate_input_bindings()
|
D | vbo_save_draw.c | 159 save->inputs[VERT_ATTRIB_GENERIC(attr)] = in vbo_bind_vertex_list() 174 save->inputs[VERT_ATTRIB_GENERIC(attr)] = in vbo_bind_vertex_list()
|
D | vbo_context.c | 179 vbo->map_vp_none[VERT_ATTRIB_GENERIC(i)] in _vbo_CreateContext()
|
D | vbo_exec_api.c | 1233 memcpy(arrays + VERT_ATTRIB_GENERIC(0), in vbo_exec_vtx_init() 1239 array = &arrays[VERT_ATTRIB_GENERIC(i)]; in vbo_exec_vtx_init()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_vertprog.c | 572 vp->inputs[VERT_ATTRIB_GENERIC(i)] = j; in r200_translate_vertex_program() 575 vp->inputmap_rev[j] = VERT_ATTRIB_GENERIC(i); in r200_translate_vertex_program() 578 vp->inputmap_rev[j + 2] = VERT_ATTRIB_GENERIC(i); in r200_translate_vertex_program() 581 vp->inputmap_rev[j + 1] = VERT_ATTRIB_GENERIC(i); in r200_translate_vertex_program()
|