Home
last modified time | relevance | path

Searched refs:VERT_ATTRIB_COLOR1 (Results 1 – 25 of 25) sorted by relevance

/external/mesa3d/src/mesa/main/
Drastpos.c260 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][0], 0.0F, 1.0F); in window_pos3f()
262 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][1], 0.0F, 1.0F); in window_pos3f()
264 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][2], 0.0F, 1.0F); in window_pos3f()
266 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][3], 0.0F, 1.0F); in window_pos3f()
Darrayobj.c227 case VERT_ATTRIB_COLOR1: in _mesa_initialize_array_object()
228 init_array(ctx, &obj->VertexAttrib[VERT_ATTRIB_COLOR1], 3, GL_FLOAT); in _mesa_initialize_array_object()
Dgetstring.c232 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR1].Ptr; in _mesa_GetPointerv()
Dget.c992 CONTEXT_FIELD(Current.Attrib[VERT_ATTRIB_COLOR1][0], TYPE_FLOATN_4),
994 { GL_SECONDARY_COLOR_ARRAY_EXT, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_COLOR1].Enabled),
996 { GL_SECONDARY_COLOR_ARRAY_TYPE_EXT, ARRAY_ENUM(VertexAttrib[VERT_ATTRIB_COLOR1].Type),
998 { GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT, ARRAY_INT(VertexAttrib[VERT_ATTRIB_COLOR1].Stride),
1000 { GL_SECONDARY_COLOR_ARRAY_SIZE_EXT, ARRAY_INT(VertexAttrib[VERT_ATTRIB_COLOR1].Size),
1139 offsetof(struct gl_array_object, VertexAttrib[VERT_ATTRIB_COLOR1].BufferObj), NO_EXTRA },
Dapi_arrayelt.c1501 if (arrayObj->VertexAttrib[VERT_ATTRIB_COLOR1].Enabled) { in _ae_update_state()
1502 aa->array = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR1]; in _ae_update_state()
Denable.c91 var = &arrayObj->VertexAttrib[VERT_ATTRIB_COLOR1].Enabled; in client_state()
1490 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR1].Enabled != 0); in _mesa_IsEnabled()
Dmtypes.h105 VERT_ATTRIB_COLOR1 = 4, enumerator
175 #define VERT_BIT_COLOR1 BITFIELD64_BIT(VERT_ATTRIB_COLOR1)
Dvarray.c372 update_array(ctx, "glSecondaryColorPointer", VERT_ATTRIB_COLOR1, in _mesa_SecondaryColorPointerEXT()
Dcontext.c467 ASSIGN_4V( ctx->Current.Attrib[VERT_ATTRIB_COLOR1], 0.0, 0.0, 0.0, 1.0 ); in _mesa_init_current()
Dff_fragment_shader.cpp1263 secondary = swizzle_xyz(get_current_attrib(p, VERT_ATTRIB_COLOR1)); in emit_instructions()
Dffvertex_prog.c1589 emit_passthrough(p, VERT_ATTRIB_COLOR1, VERT_RESULT_COL1); in build_tnl_program()
Ddlist.c6093 save_Attr3fNV(VERT_ATTRIB_COLOR1, x, y, z); in save_SecondaryColor3fEXT()
6099 save_Attr3fNV(VERT_ATTRIB_COLOR1, v[0], v[1], v[2]); in save_SecondaryColor3fvEXT()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_render.c50 [VERT_ATTRIB_COLOR1] = {
Dnv20_render.c55 [VERT_ATTRIB_COLOR1] = {
Dnouveau_swtnl_t.c77 [VERT_ATTRIB_COLOR1] = {
Dnouveau_vbo_t.c172 vbo_emit_attr(ctx, arrays, VERT_ATTRIB_COLOR1); in vbo_choose_attrs()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_rasterpos.c163 VERT_RESULT_COL1, VERT_ATTRIB_COLOR1); in rastpos_point()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_maos_vbtmp.h139 spec = (GLfloat (*)[4])ctx->Current.Attrib[VERT_ATTRIB_COLOR1]; in TAG()
/external/mesa3d/src/mesa/tnl/
Dt_rasterpos.c456 ctx->Current.Attrib[VERT_ATTRIB_COLOR1]); in _tnl_RasterPos()
Dt_vb_program.c479 VB->AttribPtr[VERT_ATTRIB_COLOR1] = &store->results[VERT_RESULT_COL1]; in run_vp()
Dt_vertex_generic.c1073 a[j].attrib == VERT_ATTRIB_COLOR1) { in _tnl_generic_copy_pv()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_vertprog.c528 vp->inputs[VERT_ATTRIB_COLOR1] = 3; in r200_translate_vertex_program()
529 vp->inputmap_rev[5] = VERT_ATTRIB_COLOR1; in r200_translate_vertex_program()
623 else if (src[i].Index == VERT_ATTRIB_COLOR1) { in r200_translate_vertex_program()
Dr200_tcl.c406 map_rev_fixed[5] = VERT_ATTRIB_COLOR1; in r200_run_tcl_render()
/external/mesa3d/src/glsl/
Dbuiltin_variables.cpp78 { ir_var_in, VERT_ATTRIB_COLOR1, "vec4", "gl_SecondaryColor" },
/external/mesa3d/src/mesa/program/
Dprog_statevars.c414 idx == VERT_ATTRIB_COLOR1)) { in _mesa_fetch_state()