/external/mesa3d/src/mesa/tnl/ |
H A D | t_vp_build.c | 43 const struct gl_program *prev = ctx->VertexProgram._Current; 45 if (!ctx->VertexProgram._Current || 46 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) { 47 ctx->VertexProgram._Current 48 = ctx->VertexProgram._TnlProgram 55 if (ctx->VertexProgram._Current != prev && ctx->Driver.BindProgram) { 57 ctx->VertexProgram._Current);
|
H A D | t_vb_points.c | 53 if (ctx->Point._Attenuated && !ctx->VertexProgram._Current) {
|
H A D | t_vb_texmat.c | 62 if (!ctx->Texture._TexMatEnabled || ctx->VertexProgram._Current)
|
H A D | t_context.c | 68 if (ctx->VertexProgram._MaintainTnlProgram) { 134 const struct gl_program *vp = ctx->VertexProgram._Current; 179 if (ctx->Point._Attenuated || ctx->VertexProgram.PointSizeEnabled)
|
H A D | t_vb_program.c | 165 if (ctx->Transform.ClipPlanesEnabled && (!ctx->VertexProgram._Enabled || 166 ctx->VertexProgram.Current->arb.IsPositionInvariant)) { 240 machine->Samplers = ctx->VertexProgram._Current->SamplerUnits; 293 struct gl_program *program = ctx->VertexProgram._Current; 514 if (ctx->VertexProgram._Current) {
|
H A D | t_vb_normals.c | 95 if (ctx->VertexProgram._Current ||
|
H A D | t_vb_light.c | 337 if (!ctx->Light.Enabled || ctx->VertexProgram._Current) 391 if (!ctx->Light.Enabled || ctx->VertexProgram._Current)
|
/external/mesa3d/src/mesa/main/ |
H A D | state.h | 62 if (ctx->VertexProgram._Current && 63 (ctx->VertexProgram._Current != ctx->VertexProgram._TnlProgram) && 64 (ctx->VertexProgram._Current->info.inputs_read & VERT_BIT_COLOR1))
|
H A D | state.c | 60 * ctx->VertexProgram._Enabled 72 ctx->VertexProgram._Enabled = ctx->VertexProgram.Enabled 73 && ctx->VertexProgram.Current->arb.Instructions; 110 const struct gl_program *prevVP = ctx->VertexProgram._Current; 119 * Set the ctx->VertexProgram._Current and ctx->FragmentProgram._Current 221 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, 224 else if (ctx->VertexProgram._Enabled) { 226 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, 227 ctx->VertexProgram [all...] |
H A D | arbprogram.c | 57 curProg = ctx->VertexProgram.Current; 112 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, newProg); 119 assert(ctx->VertexProgram.Current); 155 if (ctx->VertexProgram.Current && 156 ctx->VertexProgram.Current->Id == ids[i]) { 253 prog = ctx->VertexProgram.Current; 303 *param = ctx->VertexProgram.Parameters[index]; 333 prog = ctx->VertexProgram.Current; 498 dest = ctx->VertexProgram.Parameters[index]; 651 prog = ctx->VertexProgram [all...] |
H A D | enable.c | 108 ctx->VertexProgram.PointSizeEnabled = state; 862 if (ctx->VertexProgram.Enabled == state) 865 ctx->VertexProgram.Enabled = state; 874 if (ctx->VertexProgram.PointSizeEnabled == state) 877 ctx->VertexProgram.PointSizeEnabled = state; 883 if (ctx->VertexProgram.TwoSideEnabled == state) 886 ctx->VertexProgram.TwoSideEnabled = state; 1526 return ctx->VertexProgram.Enabled; 1534 return ctx->VertexProgram.PointSizeEnabled; 1539 return ctx->VertexProgram [all...] |
H A D | context.c | 747 (8 * sizeof(ctx->VertexProgram._Current->info.outputs_written))); 1217 ctx->VertexProgram._MaintainTnlProgram 1219 if (ctx->VertexProgram._MaintainTnlProgram) { 1259 ctx->VertexProgram._MaintainTnlProgram = GL_TRUE; 1299 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, NULL); 1300 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, NULL); 1301 _mesa_reference_program(ctx, &ctx->VertexProgram._TnlProgram, NULL);
|
/external/mesa3d/src/mesa/vbo/ |
H A D | vbo_context.h | 101 if (!ctx->VertexProgram._Current) 103 else if (ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram)
|
H A D | vbo_save_draw.c | 177 if ((ctx->VertexProgram._Current->info.inputs_read & 179 (ctx->VertexProgram._Current->info.inputs_read & 296 if ((ctx->VertexProgram.Enabled && !ctx->VertexProgram._Enabled) ||
|
/external/mesa3d/src/mesa/program/ |
H A D | program.c | 87 ctx->VertexProgram.Enabled = GL_FALSE; 88 ctx->VertexProgram.PointSizeEnabled = 90 ctx->VertexProgram.TwoSideEnabled = GL_FALSE; 91 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, 93 assert(ctx->VertexProgram.Current); 94 ctx->VertexProgram.Cache = _mesa_new_program_cache(); 116 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, NULL); 117 _mesa_delete_program_cache(ctx, ctx->VertexProgram.Cache); 141 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, 143 assert(ctx->VertexProgram [all...] |
H A D | prog_statevars.c | 402 COPY_4V(value, ctx->VertexProgram.Parameters[idx]); 405 if (!ctx->VertexProgram.Current->arb.LocalParams) { 406 ctx->VertexProgram.Current->arb.LocalParams = 407 rzalloc_array_size(ctx->VertexProgram.Current, 410 if (!ctx->VertexProgram.Current->arb.LocalParams) 415 ctx->VertexProgram.Current->arb.LocalParams[idx]);
|
/external/swiftshader/src/Shader/ |
H A D | VertexProgram.cpp | 15 #include "VertexProgram.hpp" 26 VertexProgram::VertexProgram(const VertexProcessor::State &state, const VertexShader *shader) function in class:sw::VertexProgram 58 VertexProgram::~VertexProgram() 62 void VertexProgram::pipeline(UInt& index) 74 void VertexProgram::program(UInt& index) 586 void VertexProgram::passThrough() 654 Vector4f VertexProgram::fetchRegister(const Src &src, unsigned int offset) 777 RValue<Pointer<Byte>> VertexProgram [all...] |
H A D | VertexProgram.hpp | 30 class VertexProgram : public VertexRoutine, public ShaderCore class in namespace:sw 33 VertexProgram(const VertexProcessor::State &state, const VertexShader *vertexShader); 35 virtual ~VertexProgram();
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_rasterizer.c | 65 const struct gl_program *vertProg = ctx->VertexProgram._Current; 100 raster->light_twoside = ctx->VertexProgram._TwoSideEnabled; 206 raster->point_size_per_vertex = ctx->VertexProgram.PointSizeEnabled; 216 else if (ctx->VertexProgram._Current) 217 last = ctx->VertexProgram._Current;
|
H A D | st_atom.c | 72 struct gl_program *new_vp = ctx->VertexProgram._Current; 125 struct gl_program *vp = st->ctx->VertexProgram._Current;
|
H A D | st_cb_rasterpos.c | 229 if (ctx->VertexProgram._Current == NULL || 230 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) {
|
H A D | st_atom_shader.c | 176 assert(st->ctx->VertexProgram._Current); 177 stvp = st_vertex_program(st->ctx->VertexProgram._Current);
|
/external/mesa3d/src/mesa/swrast_setup/ |
H A D | ss_triangle.c | 250 (ctx->VertexProgram._Current && ctx->VertexProgram.TwoSideEnabled))
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_sf.c | 216 ctx->VertexProgram._TwoSideEnabled);
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | r200_maos_arrays.c | 117 if (ctx->VertexProgram._Enabled)
|