Searched refs:VertexProgram (Results 1 - 25 of 63) sorted by relevance

123

/external/mesa3d/src/mesa/tnl/
H A Dt_vp_build.c43 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 Dt_vb_points.c53 if (ctx->Point._Attenuated && !ctx->VertexProgram._Current) {
H A Dt_vb_texmat.c62 if (!ctx->Texture._TexMatEnabled || ctx->VertexProgram._Current)
H A Dt_context.c68 if (ctx->VertexProgram._MaintainTnlProgram) {
134 const struct gl_program *vp = ctx->VertexProgram._Current;
179 if (ctx->Point._Attenuated || ctx->VertexProgram.PointSizeEnabled)
H A Dt_vb_program.c165 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 Dt_vb_normals.c95 if (ctx->VertexProgram._Current ||
H A Dt_vb_light.c337 if (!ctx->Light.Enabled || ctx->VertexProgram._Current)
391 if (!ctx->Light.Enabled || ctx->VertexProgram._Current)
/external/mesa3d/src/mesa/main/
H A Dstate.h62 if (ctx->VertexProgram._Current &&
63 (ctx->VertexProgram._Current != ctx->VertexProgram._TnlProgram) &&
64 (ctx->VertexProgram._Current->info.inputs_read & VERT_BIT_COLOR1))
H A Dstate.c60 * 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 Darbprogram.c57 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 Denable.c108 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 Dcontext.c747 (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 Dvbo_context.h101 if (!ctx->VertexProgram._Current)
103 else if (ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram)
H A Dvbo_save_draw.c177 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 Dprogram.c87 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 Dprog_statevars.c402 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 DVertexProgram.cpp15 #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 DVertexProgram.hpp30 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 Dst_atom_rasterizer.c65 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 Dst_atom.c72 struct gl_program *new_vp = ctx->VertexProgram._Current;
125 struct gl_program *vp = st->ctx->VertexProgram._Current;
H A Dst_cb_rasterpos.c229 if (ctx->VertexProgram._Current == NULL ||
230 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) {
H A Dst_atom_shader.c176 assert(st->ctx->VertexProgram._Current);
177 stvp = st_vertex_program(st->ctx->VertexProgram._Current);
/external/mesa3d/src/mesa/swrast_setup/
H A Dss_triangle.c250 (ctx->VertexProgram._Current && ctx->VertexProgram.TwoSideEnabled))
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_sf.c216 ctx->VertexProgram._TwoSideEnabled);
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dr200_maos_arrays.c117 if (ctx->VertexProgram._Enabled)

Completed in 2686 milliseconds

123