Home
last modified time | relevance | path

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

12

/external/mesa3d/src/mesa/main/
Drastpos.c456 ctx->Current.Attrib[VERT_ATTRIB_COLOR0]); in _mesa_RasterPos()
692 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][0], 0.0F, 1.0F); in window_pos3f()
694 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][1], 0.0F, 1.0F); in window_pos3f()
696 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][2], 0.0F, 1.0F); in window_pos3f()
698 = CLAMP(ctx->Current.Attrib[VERT_ATTRIB_COLOR0][3], 0.0F, 1.0F); in window_pos3f()
Dgetstring.c260 *params = (GLvoid *) ctx->Array.VAO->VertexAttrib[VERT_ATTRIB_COLOR0].Ptr; in _mesa_GetPointerv()
Denable.c80 var = &vao->VertexAttrib[VERT_ATTRIB_COLOR0].Enabled; in client_state()
386 ctx->Current.Attrib[VERT_ATTRIB_COLOR0] ); in _mesa_set_enable()
1550 return ctx->Array.VAO->VertexAttrib[VERT_ATTRIB_COLOR0].Enabled; in _mesa_IsEnabled()
Dvarray.c663 update_array(ctx, VERT_ATTRIB_COLOR0, format, BGRA_OR_4, size, in _mesa_ColorPointer_no_error()
687 VERT_ATTRIB_COLOR0, legalTypes, sizeMin, in _mesa_ColorPointer()
693 update_array(ctx, VERT_ATTRIB_COLOR0, format, BGRA_OR_4, size, in _mesa_ColorPointer()
Dapi_arrayelt.c1599 if (vao->VertexAttrib[VERT_ATTRIB_COLOR0].Enabled) { in _ae_update_state()
1600 aa->array = &vao->VertexAttrib[VERT_ATTRIB_COLOR0]; in _ae_update_state()
Dffvertex_prog.c872 return register_input(p, VERT_ATTRIB_COLOR0); in get_material()
1577 emit_passthrough(p, VERT_ATTRIB_COLOR0, VARYING_SLOT_COL0); in build_tnl_program()
Dff_fragment_shader.cpp377 return get_current_attrib(p, VERT_ATTRIB_COLOR0); in get_gl_Color()
/external/mesa3d/src/compiler/
Dshader_enums.h79 VERT_ATTRIB_COLOR0, enumerator
144 #define VERT_BIT_COLOR0 BITFIELD_BIT(VERT_ATTRIB_COLOR0)
Dshader_enums.c95 ENUM(VERT_ATTRIB_COLOR0), in gl_vert_attrib_name()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_bitmap.c192 COPY_4V(colorSave, ctx->Current.Attrib[VERT_ATTRIB_COLOR0]); in setup_render_state()
193 COPY_4V(ctx->Current.Attrib[VERT_ATTRIB_COLOR0], color); in setup_render_state()
195 COPY_4V(ctx->Current.Attrib[VERT_ATTRIB_COLOR0], colorSave); in setup_render_state()
Dst_cb_rasterpos.c158 VARYING_SLOT_COL0, VERT_ATTRIB_COLOR0); in rastpos_point()
Dst_cb_feedback.c106 color = ctx->Current.Attrib[VERT_ATTRIB_COLOR0]; in feedback_vertex()
Dst_cb_drawtex.c190 const GLfloat *c = ctx->Current.Attrib[VERT_ATTRIB_COLOR0]; in st_DrawTex()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_render.c45 [VERT_ATTRIB_COLOR0] = {
Dnv20_render.c50 [VERT_ATTRIB_COLOR0] = {
Dnouveau_swtnl_t.c73 [VERT_ATTRIB_COLOR0] = {
Dnouveau_vbo_t.c180 vbo_emit_attr(ctx, arrays, VERT_ATTRIB_COLOR0); in vbo_choose_attrs()
/external/mesa3d/src/mesa/tnl/
Dt_context.c213 ctx->Current.Attrib[VERT_ATTRIB_COLOR0] ); in _tnl_wakeup()
Dt_vb_program.c435 VB->AttribPtr[VERT_ATTRIB_COLOR0] = &store->results[VARYING_SLOT_COL0]; in run_vp()
/external/mesa3d/prebuilt-intermediates/main/
Dget_hash.h122 …{ GL_CURRENT_COLOR, CONTEXT_FIELD(Current.Attrib[VERT_ATTRIB_COLOR0][0], TYPE_FLOATN_4), extra_flu…
168 { GL_COLOR_ARRAY, ARRAY_BOOL(VertexAttrib[VERT_ATTRIB_COLOR0].Enabled), NO_EXTRA },
170 { GL_COLOR_ARRAY_TYPE, ARRAY_ENUM(VertexAttrib[VERT_ATTRIB_COLOR0].Type), NO_EXTRA },
171 { GL_COLOR_ARRAY_STRIDE, ARRAY_INT(VertexAttrib[VERT_ATTRIB_COLOR0].Stride), NO_EXTRA },
184 …M, TYPE_INT, offsetof(struct gl_vertex_array_object, BufferBinding[VERT_ATTRIB_COLOR0].BufferObj),…
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_maos_vbtmp.h129 col = (GLfloat (*)[4])ctx->Current.Attrib[VERT_ATTRIB_COLOR0]; in TAG()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_tcl.c393 map_rev_fixed[4] = VERT_ATTRIB_COLOR0; in r200_run_tcl_render()
Dr200_vertprog.c507 vp->inputs[VERT_ATTRIB_COLOR0] = 2; in r200_translate_vertex_program()
508 vp->inputmap_rev[4] = VERT_ATTRIB_COLOR0; in r200_translate_vertex_program()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c441 (idx == VERT_ATTRIB_COLOR0 || in _mesa_fetch_state()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c384 _mesa_update_array_format(ctx, array_obj, VERT_ATTRIB_COLOR0, in _mesa_meta_setup_vertex_objects()
388 _mesa_bind_vertex_buffer(ctx, array_obj, VERT_ATTRIB_COLOR0, in _mesa_meta_setup_vertex_objects()
390 _mesa_enable_vertex_array_attrib(ctx, array_obj, VERT_ATTRIB_COLOR0); in _mesa_meta_setup_vertex_objects()

12