/external/mesa3d/src/mesa/main/ |
D | state.c | 109 const struct gl_vertex_program *prevVP = ctx->VertexProgram._Current; in update_program() 110 const struct gl_fragment_program *prevFP = ctx->FragmentProgram._Current; in update_program() 111 const struct gl_geometry_program *prevGP = ctx->GeometryProgram._Current; in update_program() 136 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._Current, in update_program() 146 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._Current, in update_program() 158 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._Current, in update_program() 165 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._Current, NULL); in update_program() 173 _mesa_reference_geomprog(ctx, &ctx->GeometryProgram._Current, in update_program() 177 _mesa_reference_geomprog(ctx, &ctx->GeometryProgram._Current, NULL); in update_program() 187 _mesa_reference_vertprog(ctx, &ctx->VertexProgram._Current, in update_program() [all …]
|
D | state.h | 62 if (ctx->VertexProgram._Current && in _mesa_need_secondary_color() 63 (ctx->VertexProgram._Current != ctx->VertexProgram._TnlProgram) && in _mesa_need_secondary_color() 64 (ctx->VertexProgram._Current->Base.InputsRead & VERT_BIT_COLOR1)) in _mesa_need_secondary_color() 67 if (ctx->FragmentProgram._Current && in _mesa_need_secondary_color() 68 (ctx->FragmentProgram._Current != ctx->FragmentProgram._TexEnvProgram) && in _mesa_need_secondary_color() 69 (ctx->FragmentProgram._Current->Base.InputsRead & FRAG_BIT_COL1)) in _mesa_need_secondary_color()
|
D | samplerobj.h | 36 else if (ctx->Texture.Unit[unit]._Current) in _mesa_get_samplerobj() 37 return &ctx->Texture.Unit[unit]._Current->Sampler; in _mesa_get_samplerobj()
|
D | arrayobj.c | 316 if (!ctx->VertexProgram._Current || in _mesa_update_array_object_max_element() 317 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) { in _mesa_update_array_object_max_element() 319 } else if (ctx->VertexProgram._Current->IsNVProgram) { in _mesa_update_array_object_max_element()
|
D | texstate.c | 394 if (texUnit->_Current->Target == GL_TEXTURE_BUFFER) in update_tex_combine() 406 const struct gl_texture_object *texObj = texUnit->_Current; in update_tex_combine() 584 _mesa_reference_texobj(&texUnit->_Current, texObj); in update_texture_state() 610 _mesa_reference_texobj(&texUnit->_Current, texObj); in update_texture_state() 837 _mesa_reference_texobj(&ctx->Texture.Unit[u]._Current, NULL); in _mesa_free_texture_data()
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vp_build.c | 44 const struct gl_vertex_program *prev = ctx->VertexProgram._Current; in _tnl_UpdateFixedFunctionProgram() 46 if (!ctx->VertexProgram._Current || in _tnl_UpdateFixedFunctionProgram() 47 ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) { in _tnl_UpdateFixedFunctionProgram() 48 ctx->VertexProgram._Current in _tnl_UpdateFixedFunctionProgram() 56 if (ctx->VertexProgram._Current != prev && ctx->Driver.BindProgram) { in _tnl_UpdateFixedFunctionProgram() 58 (struct gl_program *) ctx->VertexProgram._Current); in _tnl_UpdateFixedFunctionProgram()
|
D | t_context.c | 128 const struct gl_vertex_program *vp = ctx->VertexProgram._Current; in _tnl_InvalidateState() 129 const struct gl_fragment_program *fp = ctx->FragmentProgram._Current; in _tnl_InvalidateState() 224 || !tnl->AllowPixelFog) && !ctx->FragmentProgram._Current; in _tnl_allow_vertex_fog() 234 || !tnl->AllowPixelFog) && !ctx->FragmentProgram._Current; in _tnl_allow_pixel_fog()
|
D | t_vb_program.c | 202 ctx->Texture.Unit[unit]._Current, in vp_fetch_texel() 234 if (ctx->VertexProgram._Current->IsNVProgram) { in init_machine() 263 machine->Samplers = ctx->VertexProgram._Current->Base.SamplerUnits; in init_machine() 282 _swrast_map_texture(ctx, ctx->Texture.Unit[u]._Current); in map_textures() 301 _swrast_unmap_texture(ctx, ctx->Texture.Unit[u]._Current); in unmap_textures() 316 struct gl_vertex_program *program = ctx->VertexProgram._Current; in run_vp() 558 if (ctx->VertexProgram._Current) { in validate_vp_stage()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_span.c | 119 tex_obj = intel_texture_object(ctx->Texture.Unit[i]._Current); in intel_span_map_buffers() 159 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; in intelSpanRenderFinish() 184 if (ctx->VertexProgram._Current == NULL) in intel_map_vertex_shader_textures() 189 ctx->VertexProgram._Current->Base.TexturesUsed[i] != 0) { in intel_map_vertex_shader_textures() 190 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; in intel_map_vertex_shader_textures() 204 if (ctx->VertexProgram._Current == NULL) in intel_unmap_vertex_shader_textures() 209 ctx->VertexProgram._Current->Base.TexturesUsed[i] != 0) { in intel_unmap_vertex_shader_textures() 210 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; in intel_unmap_vertex_shader_textures()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_span.c | 119 tex_obj = intel_texture_object(ctx->Texture.Unit[i]._Current); in intel_span_map_buffers() 159 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; in intelSpanRenderFinish() 184 if (ctx->VertexProgram._Current == NULL) in intel_map_vertex_shader_textures() 189 ctx->VertexProgram._Current->Base.TexturesUsed[i] != 0) { in intel_map_vertex_shader_textures() 190 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; in intel_map_vertex_shader_textures() 204 if (ctx->VertexProgram._Current == NULL) in intel_unmap_vertex_shader_textures() 209 ctx->VertexProgram._Current->Base.TexturesUsed[i] != 0) { in intel_unmap_vertex_shader_textures() 210 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; in intel_unmap_vertex_shader_textures()
|
D | brw_state_upload.c | 452 if (brw->fragment_program != ctx->FragmentProgram._Current) { in brw_upload_state() 453 brw->fragment_program = ctx->FragmentProgram._Current; in brw_upload_state() 457 if (brw->vertex_program != ctx->VertexProgram._Current) { in brw_upload_state() 458 brw->vertex_program = ctx->VertexProgram._Current; in brw_upload_state()
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_span.c | 119 tex_obj = intel_texture_object(ctx->Texture.Unit[i]._Current); in intel_span_map_buffers() 159 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; in intelSpanRenderFinish() 184 if (ctx->VertexProgram._Current == NULL) in intel_map_vertex_shader_textures() 189 ctx->VertexProgram._Current->Base.TexturesUsed[i] != 0) { in intel_map_vertex_shader_textures() 190 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; in intel_map_vertex_shader_textures() 204 if (ctx->VertexProgram._Current == NULL) in intel_unmap_vertex_shader_textures() 209 ctx->VertexProgram._Current->Base.TexturesUsed[i] != 0) { in intel_unmap_vertex_shader_textures() 210 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; in intel_unmap_vertex_shader_textures()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_shader.c | 79 assert(st->ctx->FragmentProgram._Current); in update_fp() 80 stfp = st_fragment_program(st->ctx->FragmentProgram._Current); in update_fp() 131 assert(st->ctx->VertexProgram._Current); in update_vp() 132 stvp = st_vertex_program(st->ctx->VertexProgram._Current); in update_vp() 180 if (!st->ctx->GeometryProgram._Current) { in update_gp() 185 stgp = st_geometry_program(st->ctx->GeometryProgram._Current); in update_gp()
|
D | st_atom_texture.c | 202 texObj = ctx->Texture.Unit[texUnit]._Current; in update_single_texture() 320 &ctx->VertexProgram._Current->Base, in update_vertex_textures() 335 &ctx->FragmentProgram._Current->Base, in update_fragment_textures() 347 if (ctx->GeometryProgram._Current) { in update_geometry_textures() 350 &ctx->GeometryProgram._Current->Base, in update_geometry_textures() 393 struct gl_fragment_program *fprog = ctx->FragmentProgram._Current; in finalize_textures() 403 = ctx->Texture.Unit[texUnit]._Current; in finalize_textures()
|
D | st_atom_sampler.c | 135 texobj = ctx->Texture.Unit[texUnit]._Current; in convert_sampler() 260 &ctx->FragmentProgram._Current->Base, in update_samplers() 267 &ctx->VertexProgram._Current->Base, in update_samplers() 272 if (ctx->GeometryProgram._Current) { in update_samplers() 275 &ctx->GeometryProgram._Current->Base, in update_samplers()
|
D | st_atom.c | 119 if (ctx->VertexProgram._Current != &st->vp->Base) in check_program_state() 122 if (ctx->FragmentProgram._Current != &st->fp->Base) in check_program_state() 125 if (ctx->GeometryProgram._Current != &st->gp->Base) in check_program_state()
|
D | st_atom_rasterizer.c | 62 const struct gl_vertex_program *vertProg = ctx->VertexProgram._Current; in update_raster_state() 63 const struct gl_fragment_program *fragProg = ctx->FragmentProgram._Current; in update_raster_state()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_fragprog.c | 43 struct gl_fragment_program *fp = ctx->FragmentProgram._Current; in _swrast_use_fragment_program() 82 const struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current; in fetch_texel_lod() 91 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current, in fetch_texel_lod() 116 const struct gl_texture_object *texObj = texUnit->_Current; in fetch_texel_deriv() 140 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current, in fetch_texel_deriv() 218 const struct gl_fragment_program *program = ctx->FragmentProgram._Current; in run_program() 277 const struct gl_fragment_program *program = ctx->FragmentProgram._Current; in _swrast_exec_fragment_program()
|
D | s_context.c | 226 = ctx->FragmentProgram._Current; in _swrast_update_deferred_texture() 252 const struct gl_fragment_program *fp = ctx->FragmentProgram._Current; in _swrast_update_fog_state() 275 ctx->FragmentProgram._Current->Base.Parameters); in _swrast_update_fragment_program() 479 struct gl_texture_object *tObj = ctx->Texture.Unit[u]._Current; in _swrast_update_texture_samplers() 506 attribsMask = ctx->FragmentProgram._Current->Base.InputsRead; in _swrast_update_active_attribs()
|
D | s_texture.c | 300 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current; in _swrast_map_textures() 320 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current; in _swrast_unmap_textures()
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_context.h | 107 if (!ctx->VertexProgram._Current) in get_program_mode() 109 else if (ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) in get_program_mode() 111 else if (ctx->VertexProgram._Current->IsNVProgram) in get_program_mode()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_span.c | 129 ctx->Texture.Unit[i]._Current); in radeonSpanRenderStart() 130 radeon_swrast_map_texture_images(ctx, ctx->Texture.Unit[i]._Current); in radeonSpanRenderStart() 147 radeon_swrast_unmap_texture_images(ctx, ctx->Texture.Unit[i]._Current); in radeonSpanRenderFinish()
|
D | radeon_texstate.c | 280 || (texUnit->_Current != NULL) ); in radeonUpdateTextureEnv() 321 if (texUnit->_Current->Image[0][0]->_BaseFormat == GL_ALPHA) in radeonUpdateTextureEnv() 345 if (ctx->Texture.Unit[txunit]._Current->Image[0][0]->_BaseFormat == GL_ALPHA) in radeonUpdateTextureEnv() 366 if (texUnit->_Current->Image[0][0]->_BaseFormat == GL_LUMINANCE) in radeonUpdateTextureEnv() 390 if (ctx->Texture.Unit[txunit]._Current->Image[0][0]->_BaseFormat == GL_LUMINANCE) in radeonUpdateTextureEnv() 1116 if (!radeon_validate_texture(ctx, ctx->Texture.Unit[unit]._Current, unit)) { in radeonUpdateTextureUnit() 1123 rmesa->state.texture.unit[unit].texobj = radeon_tex_obj(ctx->Texture.Unit[unit]._Current); in radeonUpdateTextureUnit()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_span.c | 129 ctx->Texture.Unit[i]._Current); in radeonSpanRenderStart() 130 radeon_swrast_map_texture_images(ctx, ctx->Texture.Unit[i]._Current); in radeonSpanRenderStart() 147 radeon_swrast_unmap_texture_images(ctx, ctx->Texture.Unit[i]._Current); in radeonSpanRenderFinish()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_span.c | 72 _swrast_map_texture(ctx, ctx->Texture.Unit[i]._Current); in span_map_unmap() 74 _swrast_unmap_texture(ctx, ctx->Texture.Unit[i]._Current); in span_map_unmap()
|