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

12345

/xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl/
H A Dt_vp_build.c43 if (!ctx->VertexProgram._Current ||
44 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) {
45 ctx->VertexProgram._Current
46 = ctx->VertexProgram._TnlProgram
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;
180 if (ctx->Point._Attenuated || ctx->VertexProgram.PointSizeEnabled)
H A Dt_vb_normals.c95 if (ctx->VertexProgram._Current ||
H A Dt_vb_program.c170 ctx->VertexProgram.Current->arb.IsPositionInvariant)) {
244 machine->Samplers = ctx->VertexProgram._Current->SamplerUnits;
297 struct gl_program *program = ctx->VertexProgram._Current;
518 if (ctx->VertexProgram._Current) {
/xsrc/external/mit/MesaLib/dist/src/mesa/tnl/
H A Dt_vp_build.c43 if (!ctx->VertexProgram._Current ||
44 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) {
45 ctx->VertexProgram._Current
46 = ctx->VertexProgram._TnlProgram
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.c69 if (ctx->VertexProgram._MaintainTnlProgram) {
133 const struct gl_program *vp = ctx->VertexProgram._Current;
182 if (ctx->Point._Attenuated || ctx->VertexProgram.PointSizeEnabled)
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dstate.h50 * Update ctx->VertexProgram._VertexProgramMode.
84 if (ctx->VertexProgram._Current &&
85 (ctx->VertexProgram._Current != ctx->VertexProgram._TnlProgram) &&
86 (ctx->VertexProgram._Current->info.inputs_read & VERT_BIT_COLOR1))
103 return ctx->VertexProgram.Enabled &&
104 ctx->VertexProgram.Current->arb.Instructions;
113 return ctx->VertexProgram.TwoSideEnabled;
H A Dstate.c87 const struct gl_program *prevVP = ctx->VertexProgram._Current;
95 * Set the ctx->VertexProgram._Current and ctx->FragmentProgram._Current
180 assert(VP_MODE_SHADER == ctx->VertexProgram._VPMode);
181 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, vsProg);
185 assert(VP_MODE_SHADER == ctx->VertexProgram._VPMode);
186 _mesa_reference_program(ctx, &ctx->VertexProgram._Current,
187 ctx->VertexProgram.Current);
189 else if (ctx->VertexProgram._MaintainTnlProgram) {
191 assert(VP_MODE_FF == ctx->VertexProgram._VPMode);
192 _mesa_reference_program(ctx, &ctx->VertexProgram
[all...]
H A Darbprogram.c75 curProg = ctx->VertexProgram.Current;
131 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, newProg);
140 assert(ctx->VertexProgram.Current);
173 if (ctx->VertexProgram.Current &&
174 ctx->VertexProgram.Current->Id == ids[i]) {
271 prog = ctx->VertexProgram.Current;
321 *param = ctx->VertexProgram.Parameters[index];
366 prog = ctx->VertexProgram.Current;
533 dest = ctx->VertexProgram.Parameters[index];
686 prog = ctx->VertexProgram
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dstate.h49 * Update ctx->VertexProgram._VPMode.
78 if (ctx->VertexProgram._Current &&
79 (ctx->VertexProgram._Current != ctx->VertexProgram._TnlProgram) &&
80 (ctx->VertexProgram._Current->info.inputs_read & VERT_BIT_COLOR1))
97 return ctx->VertexProgram.Enabled &&
98 ctx->VertexProgram.Current->arb.Instructions;
107 return ctx->VertexProgram.TwoSideEnabled;
H A Dstate.c178 const struct gl_program *prevVP = ctx->VertexProgram._Current;
186 * Set the ctx->VertexProgram._Current and ctx->FragmentProgram._Current
271 assert(VP_MODE_SHADER == ctx->VertexProgram._VPMode);
272 _mesa_reference_program(ctx, &ctx->VertexProgram._Current, vsProg);
276 assert(VP_MODE_SHADER == ctx->VertexProgram._VPMode);
277 _mesa_reference_program(ctx, &ctx->VertexProgram._Current,
278 ctx->VertexProgram.Current);
280 else if (ctx->VertexProgram._MaintainTnlProgram) {
282 assert(VP_MODE_FF == ctx->VertexProgram._VPMode);
283 _mesa_reference_program(ctx, &ctx->VertexProgram
[all...]
H A Darbprogram.c112 curProg = ctx->VertexProgram.Current;
145 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, newProg);
155 assert(ctx->VertexProgram.Current);
188 if (ctx->VertexProgram.Current &&
189 ctx->VertexProgram.Current->Id == ids[i]) {
276 return ctx->VertexProgram.Current;
349 *param = ctx->VertexProgram.Parameters[index];
467 set_program_string(ctx->VertexProgram.Current, target, format, len, string);
589 dest = ctx->VertexProgram.Parameters[index];
662 if ((target == GL_VERTEX_PROGRAM_ARB && prog == ctx->VertexProgram
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_util.h107 const struct gl_program *vertProg = ctx->VertexProgram._Current;
118 return ctx->VertexProgram.PointSizeEnabled;
128 else if (ctx->VertexProgram._Current)
129 last = 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.c210 assert(st->ctx->VertexProgram._Current);
211 stvp = st_program(st->ctx->VertexProgram._Current);
261 update_gl_clamp(st, st->ctx->VertexProgram._Current, key.gl_clamp);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/program/
H A Dprogram.c89 ctx->VertexProgram.Enabled = GL_FALSE;
90 ctx->VertexProgram.PointSizeEnabled =
92 ctx->VertexProgram.TwoSideEnabled = GL_FALSE;
93 _mesa_reference_program(ctx, &ctx->VertexProgram.Current,
95 assert(ctx->VertexProgram.Current);
96 ctx->VertexProgram.Cache = _mesa_new_program_cache();
103 ctx->VertexProgram._VPMode = VP_MODE_FF;
119 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, NULL);
120 _mesa_delete_program_cache(ctx, ctx->VertexProgram.Cache);
144 _mesa_reference_program(ctx, &ctx->VertexProgram
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_atom_rasterizer.c70 const struct gl_program *vertProg = ctx->VertexProgram._Current;
211 raster->point_size_per_vertex = ctx->VertexProgram.PointSizeEnabled;
221 else if (ctx->VertexProgram._Current)
222 last = ctx->VertexProgram._Current;
H A Dst_cb_rasterpos.c231 if (ctx->VertexProgram._Current == NULL ||
232 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) {
/xsrc/external/mit/MesaLib/dist/src/mesa/program/
H A Dprogram.c90 ctx->VertexProgram.Enabled = GL_FALSE;
91 ctx->VertexProgram.PointSizeEnabled =
93 ctx->VertexProgram.TwoSideEnabled = GL_FALSE;
94 _mesa_reference_program(ctx, &ctx->VertexProgram.Current,
96 assert(ctx->VertexProgram.Current);
97 ctx->VertexProgram.Cache = _mesa_new_program_cache();
120 _mesa_reference_program(ctx, &ctx->VertexProgram.Current, NULL);
121 _mesa_delete_program_cache(ctx, ctx->VertexProgram.Cache);
145 _mesa_reference_program(ctx, &ctx->VertexProgram.Current,
147 assert(ctx->VertexProgram
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/vbo/
H A Dvbo_save_draw.c127 const gl_vertex_processing_mode mode = ctx->VertexProgram._VPMode;
201 if ((ctx->VertexProgram.Enabled &&
/xsrc/external/mit/MesaLib/dist/src/mesa/vbo/
H A Dvbo_save_draw.c140 const gl_vertex_processing_mode mode = ctx->VertexProgram._VPMode;
199 const gl_vertex_processing_mode mode = ctx->VertexProgram._VPMode;
220 struct gl_program *vp = ctx->VertexProgram._Current;

Completed in 16 milliseconds

12345