HomeSort by relevance Sort by last modified time
    Searched refs:_Current (Results 1 - 25 of 73) sorted by null

1 2 3

  /external/mesa3d/src/mesa/tnl/
t_vp_build.c 44 const struct gl_vertex_program *prev = ctx->VertexProgram._Current;
46 if (!ctx->VertexProgram._Current ||
47 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) {
48 ctx->VertexProgram._Current
56 if (ctx->VertexProgram._Current != prev && ctx->Driver.BindProgram) {
58 (struct gl_program *) ctx->VertexProgram._Current);
t_context.c 128 const struct gl_vertex_program *vp = ctx->VertexProgram._Current;
129 const struct gl_fragment_program *fp = ctx->FragmentProgram._Current;
224 || !tnl->AllowPixelFog) && !ctx->FragmentProgram._Current;
234 || !tnl->AllowPixelFog) && !ctx->FragmentProgram._Current;
t_vb_program.c 202 ctx->Texture.Unit[unit]._Current,
234 if (ctx->VertexProgram._Current->IsNVProgram) {
263 machine->Samplers = ctx->VertexProgram._Current->Base.SamplerUnits;
279 /* Note: _Current *should* correspond to the target indicated
282 _swrast_map_texture(ctx, ctx->Texture.Unit[u]._Current);
298 /* Note: _Current *should* correspond to the target indicated
301 _swrast_unmap_texture(ctx, ctx->Texture.Unit[u]._Current);
316 struct gl_vertex_program *program = ctx->VertexProgram._Current;
558 if (ctx->VertexProgram._Current) {
t_vb_points.c 52 if (ctx->Point._Attenuated && !ctx->VertexProgram._Current) {
t_vb_texmat.c 63 if (!ctx->Texture._TexMatEnabled || ctx->VertexProgram._Current)
t_vb_normals.c 96 if (ctx->VertexProgram._Current ||
  /external/mesa3d/src/mesa/main/
state.h 62 if (ctx->VertexProgram._Current &&
63 (ctx->VertexProgram._Current != ctx->VertexProgram._TnlProgram) &&
64 (ctx->VertexProgram._Current->Base.InputsRead & VERT_BIT_COLOR1))
67 if (ctx->FragmentProgram._Current &&
68 (ctx->FragmentProgram._Current != ctx->FragmentProgram._TexEnvProgram) &&
69 (ctx->FragmentProgram._Current->Base.InputsRead & FRAG_BIT_COL1))
state.c 90 * Update the ctx->Vertex/Geometry/FragmentProgram._Current pointers to point
109 const struct gl_vertex_program *prevVP = ctx->VertexProgram._Current;
110 const struct gl_fragment_program *prevFP = ctx->FragmentProgram._Current;
111 const struct gl_geometry_program *prevGP = ctx->GeometryProgram._Current;
115 * Set the ctx->VertexProgram._Current and ctx->FragmentProgram._Current
136 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._Current,
146 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._Current,
158 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._Current,
165 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._Current, NULL)
    [all...]
samplerobj.h 36 else if (ctx->Texture.Unit[unit]._Current)
37 return &ctx->Texture.Unit[unit]._Current->Sampler;
arrayobj.c 316 if (!ctx->VertexProgram._Current ||
317 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) {
319 } else if (ctx->VertexProgram._Current->IsNVProgram) {
  /external/mesa3d/src/mesa/state_tracker/
st_atom_shader.c 79 assert(st->ctx->FragmentProgram._Current);
80 stfp = st_fragment_program(st->ctx->FragmentProgram._Current);
131 assert(st->ctx->VertexProgram._Current);
132 stvp = st_vertex_program(st->ctx->VertexProgram._Current);
180 if (!st->ctx->GeometryProgram._Current) {
185 stgp = st_geometry_program(st->ctx->GeometryProgram._Current);
st_atom_texture.c 202 texObj = ctx->Texture.Unit[texUnit]._Current;
320 &ctx->VertexProgram._Current->Base,
335 &ctx->FragmentProgram._Current->Base,
347 if (ctx->GeometryProgram._Current) {
350 &ctx->GeometryProgram._Current->Base,
393 struct gl_fragment_program *fprog = ctx->FragmentProgram._Current;
403 = ctx->Texture.Unit[texUnit]._Current;
st_atom_sampler.c 135 texobj = ctx->Texture.Unit[texUnit]._Current;
260 &ctx->FragmentProgram._Current->Base,
267 &ctx->VertexProgram._Current->Base,
272 if (ctx->GeometryProgram._Current) {
275 &ctx->GeometryProgram._Current->Base,
st_atom.c 119 if (ctx->VertexProgram._Current != &st->vp->Base)
122 if (ctx->FragmentProgram._Current != &st->fp->Base)
125 if (ctx->GeometryProgram._Current != &st->gp->Base)
st_atom_rasterizer.c 62 const struct gl_vertex_program *vertProg = ctx->VertexProgram._Current;
63 const struct gl_fragment_program *fragProg = ctx->FragmentProgram._Current;
  /external/mesa3d/src/mesa/drivers/dri/intel/
intel_span.c 119 tex_obj = intel_texture_object(ctx->Texture.Unit[i]._Current);
159 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current;
184 if (ctx->VertexProgram._Current == NULL)
189 ctx->VertexProgram._Current->Base.TexturesUsed[i] != 0) {
190 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current;
204 if (ctx->VertexProgram._Current == NULL)
209 ctx->VertexProgram._Current->Base.TexturesUsed[i] != 0) {
210 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current;
  /external/mesa3d/src/mesa/vbo/
vbo_context.h 107 if (!ctx->VertexProgram._Current)
109 else if (ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram)
111 else if (ctx->VertexProgram._Current->IsNVProgram)
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nouveau_span.c 72 _swrast_map_texture(ctx, ctx->Texture.Unit[i]._Current);
74 _swrast_unmap_texture(ctx, ctx->Texture.Unit[i]._Current);
nv04_state_tex.c 69 struct gl_texture_object *t = ctx->Texture.Unit[i]._Current;
  /external/mesa3d/src/mesa/swrast/
s_fragprog.c 43 struct gl_fragment_program *fp = ctx->FragmentProgram._Current;
82 const struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current;
91 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current,
116 const struct gl_texture_object *texObj = texUnit->_Current;
140 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current,
218 const struct gl_fragment_program *program = ctx->FragmentProgram._Current;
277 const struct gl_fragment_program *program = ctx->FragmentProgram._Current;
s_texture.c 300 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current;
320 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current;
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_span.c 129 ctx->Texture.Unit[i]._Current);
130 radeon_swrast_map_texture_images(ctx, ctx->Texture.Unit[i]._Current);
147 radeon_swrast_unmap_texture_images(ctx, ctx->Texture.Unit[i]._Current);
radeon_texstate.c 276 /* texUnit->_Current can be NULL if and only if the texture unit is
280 || (texUnit->_Current != NULL) );
321 if (texUnit->_Current->Image[0][0]->_BaseFormat == GL_ALPHA)
345 if (ctx->Texture.Unit[txunit]._Current->Image[0][0]->_BaseFormat == GL_ALPHA)
366 if (texUnit->_Current->Image[0][0]->_BaseFormat == GL_LUMINANCE)
390 if (ctx->Texture.Unit[txunit]._Current->Image[0][0]->_BaseFormat == GL_LUMINANCE)
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_state_upload.c 452 if (brw->fragment_program != ctx->FragmentProgram._Current) {
453 brw->fragment_program = ctx->FragmentProgram._Current;
457 if (brw->vertex_program != ctx->VertexProgram._Current) {
458 brw->vertex_program = ctx->VertexProgram._Current;
  /external/mesa3d/src/mesa/swrast_setup/
ss_context.c 115 GLboolean intColors = !ctx->FragmentProgram._Current
142 const GLint emit = ctx->FragmentProgram._Current ? EMIT_4F : EMIT_1F;

Completed in 200 milliseconds

1 2 3