/external/mesa3d/src/mesa/main/ |
D | state.c | 87 const struct gl_program *prevVP = ctx->VertexProgram._Current; in update_program() 180 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, vsProg); in update_program() 184 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, in update_program() 185 ctx->VertexProgram.Current); in update_program() 187 else if (ctx->VertexProgram._MaintainTnlProgram) { in update_program() 189 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, in update_program() 191 _mesa_reference_program(ctx, &ctx->VertexProgram._TnlProgram, in update_program() 192 ctx->VertexProgram._Current); in update_program() 196 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, NULL); in update_program() 210 ctx->VertexProgram._Current != prevVP || in update_program() [all …]
|
D | state.h | 69 if (ctx->VertexProgram._Current && in _mesa_need_secondary_color() 70 (ctx->VertexProgram._Current != ctx->VertexProgram._TnlProgram) && in _mesa_need_secondary_color() 71 (ctx->VertexProgram._Current->info.inputs_read & VERT_BIT_COLOR1)) in _mesa_need_secondary_color() 88 return ctx->VertexProgram.Enabled && in _mesa_arb_vertex_program_enabled() 89 ctx->VertexProgram.Current->arb.Instructions; in _mesa_arb_vertex_program_enabled() 98 return ctx->VertexProgram.TwoSideEnabled; in _mesa_vertex_program_two_side_enabled()
|
D | arbprogram.c | 74 curProg = ctx->VertexProgram.Current; in _mesa_BindProgramARB() 130 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, newProg); in _mesa_BindProgramARB() 137 assert(ctx->VertexProgram.Current); in _mesa_BindProgramARB() 170 if (ctx->VertexProgram.Current && in _mesa_DeleteProgramsARB() 171 ctx->VertexProgram.Current->Id == ids[i]) { in _mesa_DeleteProgramsARB() 268 prog = ctx->VertexProgram.Current; in get_local_param_pointer() 318 *param = ctx->VertexProgram.Parameters[index]; in get_env_param_pointer() 348 prog = ctx->VertexProgram.Current; in _mesa_ProgramStringARB() 513 dest = ctx->VertexProgram.Parameters[index]; in _mesa_ProgramEnvParameters4fvEXT() 666 prog = ctx->VertexProgram.Current; in _mesa_GetProgramivARB() [all …]
|
D | enable.c | 108 ctx->VertexProgram.PointSizeEnabled = state; in client_state() 924 if (ctx->VertexProgram.Enabled == state) in _mesa_set_enable() 927 ctx->VertexProgram.Enabled = state; in _mesa_set_enable() 936 if (ctx->VertexProgram.PointSizeEnabled == state) in _mesa_set_enable() 939 ctx->VertexProgram.PointSizeEnabled = state; in _mesa_set_enable() 945 if (ctx->VertexProgram.TwoSideEnabled == state) in _mesa_set_enable() 948 ctx->VertexProgram.TwoSideEnabled = state; in _mesa_set_enable() 1624 return ctx->VertexProgram.Enabled; in _mesa_IsEnabled() 1632 return ctx->VertexProgram.PointSizeEnabled; in _mesa_IsEnabled() 1637 return ctx->VertexProgram.TwoSideEnabled; in _mesa_IsEnabled()
|
D | context.c | 755 (8 * sizeof(ctx->VertexProgram._Current->info.outputs_written))); in check_context_limits() 1237 ctx->VertexProgram._MaintainTnlProgram in _mesa_initialize_context() 1239 if (ctx->VertexProgram._MaintainTnlProgram) { in _mesa_initialize_context() 1279 ctx->VertexProgram._MaintainTnlProgram = GL_TRUE; in _mesa_initialize_context() 1319 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, NULL); in _mesa_free_context_data() 1320 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, NULL); in _mesa_free_context_data() 1321 _mesa_reference_program(ctx, &ctx->VertexProgram._TnlProgram, NULL); in _mesa_free_context_data()
|
D | attrib.c | 127 GLboolean VertexProgram; member 381 attr->VertexProgram = ctx->VertexProgram.Enabled; in _mesa_PushAttrib() 382 attr->VertexProgramPointSize = ctx->VertexProgram.PointSizeEnabled; in _mesa_PushAttrib() 383 attr->VertexProgramTwoSide = ctx->VertexProgram.TwoSideEnabled; in _mesa_PushAttrib() 697 TEST_AND_UPDATE(ctx->VertexProgram.Enabled, in pop_enable_group() 698 enable->VertexProgram, in pop_enable_group() 700 TEST_AND_UPDATE(ctx->VertexProgram.PointSizeEnabled, in pop_enable_group() 703 TEST_AND_UPDATE(ctx->VertexProgram.TwoSideEnabled, in pop_enable_group()
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vp_build.c | 43 if (!ctx->VertexProgram._Current || in _tnl_UpdateFixedFunctionProgram() 44 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) { in _tnl_UpdateFixedFunctionProgram() 45 ctx->VertexProgram._Current in _tnl_UpdateFixedFunctionProgram() 46 = ctx->VertexProgram._TnlProgram in _tnl_UpdateFixedFunctionProgram()
|
D | t_context.c | 68 if (ctx->VertexProgram._MaintainTnlProgram) { in _tnl_CreateContext() 134 const struct gl_program *vp = ctx->VertexProgram._Current; in _tnl_InvalidateState() 180 if (ctx->Point._Attenuated || ctx->VertexProgram.PointSizeEnabled) in _tnl_InvalidateState()
|
D | t_vb_program.c | 168 ctx->VertexProgram.Current->arb.IsPositionInvariant)) { in do_ndc_cliptest() 242 machine->Samplers = ctx->VertexProgram._Current->SamplerUnits; in init_machine() 295 struct gl_program *program = ctx->VertexProgram._Current; in run_vp() 516 if (ctx->VertexProgram._Current) { in validate_vp_stage()
|
D | t_vb_texmat.c | 62 if (!ctx->Texture._TexMatEnabled || ctx->VertexProgram._Current) in run_texmat_stage()
|
D | t_vb_points.c | 53 if (ctx->Point._Attenuated && !ctx->VertexProgram._Current) { in run_point_stage()
|
D | t_vb_light.c | 337 if (!ctx->Light.Enabled || ctx->VertexProgram._Current) in run_lighting() 391 if (!ctx->Light.Enabled || ctx->VertexProgram._Current) in validate_lighting()
|
/external/swiftshader/src/Pipeline/ |
D | VertexProgram.cpp | 26 VertexProgram::VertexProgram(const VertexProcessor::State &state, const VertexShader *shader) in VertexProgram() function in sw::VertexProgram 58 VertexProgram::~VertexProgram() in ~VertexProgram() 62 void VertexProgram::program(UInt &index) in program() 604 Vector4f VertexProgram::fetchRegister(const Src &src, unsigned int offset) in fetchRegister() 739 RValue<Pointer<Byte>> VertexProgram::uniformAddress(int bufferIndex, unsigned int index) in uniformAddress() 751 …RValue<Pointer<Byte>> VertexProgram::uniformAddress(int bufferIndex, unsigned int index, Int &offs… in uniformAddress() 756 Vector4f VertexProgram::readConstant(const Src &src, unsigned int offset) in readConstant() 845 Int VertexProgram::relativeAddress(const Shader::Relative &rel, int bufferIndex) in relativeAddress() 874 Int4 VertexProgram::dynamicAddress(const Shader::Relative &rel) in dynamicAddress() 899 Int4 VertexProgram::enableMask(const Shader::Instruction *instruction) in enableMask() [all …]
|
D | VertexProgram.hpp | 30 class VertexProgram : public VertexRoutine, public ShaderCore class 33 VertexProgram(const VertexProcessor::State &state, const VertexShader *vertexShader); 35 virtual ~VertexProgram();
|
/external/swiftshader/src/Shader/ |
D | VertexProgram.cpp | 26 VertexProgram::VertexProgram(const VertexProcessor::State &state, const VertexShader *shader) in VertexProgram() function in sw::VertexProgram 53 VertexProgram::~VertexProgram() in ~VertexProgram() 57 void VertexProgram::pipeline(UInt &index) in pipeline() 69 void VertexProgram::program(UInt &index) in program() 612 void VertexProgram::passThrough() in passThrough() 680 Vector4f VertexProgram::fetchRegister(const Src &src, unsigned int offset) in fetchRegister() 815 RValue<Pointer<Byte>> VertexProgram::uniformAddress(int bufferIndex, unsigned int index) in uniformAddress() 827 …RValue<Pointer<Byte>> VertexProgram::uniformAddress(int bufferIndex, unsigned int index, Int &offs… in uniformAddress() 832 Vector4f VertexProgram::readConstant(const Src &src, unsigned int offset) in readConstant() 921 Int VertexProgram::relativeAddress(const Shader::Relative &rel, int bufferIndex) in relativeAddress() [all …]
|
D | VertexProgram.hpp | 30 class VertexProgram : public VertexRoutine, public ShaderCore class 33 VertexProgram(const VertexProcessor::State &state, const VertexShader *vertexShader); 35 virtual ~VertexProgram();
|
/external/mesa3d/src/mesa/program/ |
D | program.c | 89 ctx->VertexProgram.Enabled = GL_FALSE; in _mesa_init_program() 90 ctx->VertexProgram.PointSizeEnabled = in _mesa_init_program() 92 ctx->VertexProgram.TwoSideEnabled = GL_FALSE; in _mesa_init_program() 93 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, in _mesa_init_program() 95 assert(ctx->VertexProgram.Current); in _mesa_init_program() 96 ctx->VertexProgram.Cache = _mesa_new_program_cache(); in _mesa_init_program() 118 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, NULL); in _mesa_free_program_data() 119 _mesa_delete_program_cache(ctx, ctx->VertexProgram.Cache); in _mesa_free_program_data() 143 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, in _mesa_update_default_objects_program() 145 assert(ctx->VertexProgram.Current); in _mesa_update_default_objects_program()
|
D | prog_statevars.c | 402 COPY_4V(value, ctx->VertexProgram.Parameters[idx]); in _mesa_fetch_state() 405 if (!ctx->VertexProgram.Current->arb.LocalParams) { in _mesa_fetch_state() 406 ctx->VertexProgram.Current->arb.LocalParams = in _mesa_fetch_state() 407 rzalloc_array_size(ctx->VertexProgram.Current, in _mesa_fetch_state() 410 if (!ctx->VertexProgram.Current->arb.LocalParams) in _mesa_fetch_state() 415 ctx->VertexProgram.Current->arb.LocalParams[idx]); in _mesa_fetch_state()
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_context.h | 120 if (!ctx->VertexProgram._Current) in get_program_mode() 122 else if (ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) in get_program_mode()
|
D | vbo_save_draw.c | 187 ctx->VertexProgram._Current->info.inputs_read; in bind_vertex_list() 309 if ((ctx->VertexProgram.Enabled && in vbo_save_playback_vertex_list()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_rasterizer.c | 69 const struct gl_program *vertProg = ctx->VertexProgram._Current; in st_update_rasterizer() 210 raster->point_size_per_vertex = ctx->VertexProgram.PointSizeEnabled; in st_update_rasterizer() 220 else if (ctx->VertexProgram._Current) in st_update_rasterizer() 221 last = ctx->VertexProgram._Current; in st_update_rasterizer()
|
D | st_cb_rasterpos.c | 230 if (ctx->VertexProgram._Current == NULL || in st_RasterPos() 231 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) { in st_RasterPos()
|
D | st_atom.c | 73 struct gl_program *new_vp = ctx->VertexProgram._Current; in check_program_state() 143 struct gl_program *vp = st->ctx->VertexProgram._Current; in check_attrib_edgeflag()
|
D | st_atom_shader.c | 163 assert(st->ctx->VertexProgram._Current); in st_update_vp() 164 stvp = st_vertex_program(st->ctx->VertexProgram._Current); in st_update_vp()
|
/external/mesa3d/src/mesa/swrast_setup/ |
D | ss_triangle.c | 252 (ctx->VertexProgram._Current && ctx->VertexProgram.TwoSideEnabled)) in _swsetup_choose_trifuncs()
|