/external/mesa3d/src/mesa/main/ |
D | state.c | 179 const struct gl_program *prevFP = ctx->FragmentProgram._Current; in update_program() 204 _mesa_reference_program(ctx, &ctx->FragmentProgram._Current, fsProg); in update_program() 205 _mesa_reference_program(ctx, &ctx->FragmentProgram._TexEnvProgram, in update_program() 210 _mesa_reference_program(ctx, &ctx->FragmentProgram._Current, in update_program() 211 ctx->FragmentProgram.Current); in update_program() 212 _mesa_reference_program(ctx, &ctx->FragmentProgram._TexEnvProgram, in update_program() 218 _mesa_reference_program(ctx, &ctx->FragmentProgram._Current, in update_program() 220 _mesa_reference_program(ctx, &ctx->FragmentProgram._TexEnvProgram, in update_program() 223 else if (ctx->FragmentProgram._MaintainTexEnvProgram) { in update_program() 227 _mesa_reference_program(ctx, &ctx->FragmentProgram._Current, in update_program() [all …]
|
D | state.h | 88 if (ctx->FragmentProgram._Current && in _mesa_need_secondary_color() 89 (ctx->FragmentProgram._Current != ctx->FragmentProgram._TexEnvProgram) && in _mesa_need_secondary_color() 90 (ctx->FragmentProgram._Current->info.inputs_read & VARYING_BIT_COL1)) in _mesa_need_secondary_color() 130 return ctx->FragmentProgram.Enabled && in _mesa_arb_fragment_program_enabled() 131 ctx->FragmentProgram.Current->arb.Instructions; in _mesa_arb_fragment_program_enabled()
|
D | arbprogram.c | 115 curProg = ctx->FragmentProgram.Current; in _mesa_BindProgramARB() 147 _mesa_reference_program(ctx, &ctx->FragmentProgram.Current, newProg); in _mesa_BindProgramARB() 154 assert(ctx->FragmentProgram.Current); in _mesa_BindProgramARB() 193 if (ctx->FragmentProgram.Current && in _mesa_DeleteProgramsARB() 194 ctx->FragmentProgram.Current->Id == ids[i]) { in _mesa_DeleteProgramsARB() 278 return ctx->FragmentProgram.Current; in get_current_program() 327 *param = ctx->FragmentProgram.Parameters[index]; in get_env_param_pointer() 457 set_program_string(ctx->FragmentProgram.Current, target, format, len, string); in _mesa_ProgramStringARB() 567 dest = ctx->FragmentProgram.Parameters[index]; in _mesa_ProgramEnvParameters4fvEXT() 649 (target == GL_FRAGMENT_PROGRAM_ARB && prog == ctx->FragmentProgram.Current)) { in _mesa_NamedProgramLocalParameter4fEXT() [all …]
|
D | context.c | 771 (8 * sizeof(ctx->FragmentProgram._Current->info.inputs_read))); in check_context_limits() 1245 ctx->FragmentProgram._MaintainTexEnvProgram in _mesa_initialize_context() 1252 ctx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE; in _mesa_initialize_context() 1291 ctx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE; in _mesa_initialize_context() 1340 _mesa_reference_program(ctx, &ctx->FragmentProgram.Current, NULL); in _mesa_free_context_data() 1341 _mesa_reference_program(ctx, &ctx->FragmentProgram._Current, NULL); in _mesa_free_context_data() 1342 _mesa_reference_program(ctx, &ctx->FragmentProgram._TexEnvProgram, NULL); in _mesa_free_context_data()
|
D | draw_validate.c | 102 const struct gl_program *prog = ctx->FragmentProgram._Current; in check_blend_func_error() 145 if (ctx->FragmentProgram.Enabled && in _mesa_valid_to_render()
|
D | attrib.c | 135 GLboolean FragmentProgram; member 400 attr->FragmentProgram = ctx->FragmentProgram.Enabled; in _mesa_PushAttrib() 747 TEST_AND_UPDATE(ctx->FragmentProgram.Enabled, in pop_enable_group() 748 enable->FragmentProgram, in pop_enable_group()
|
/external/mesa3d/src/mesa/program/ |
D | program.c | 98 ctx->FragmentProgram.Enabled = GL_FALSE; in _mesa_init_program() 99 _mesa_reference_program(ctx, &ctx->FragmentProgram.Current, in _mesa_init_program() 101 assert(ctx->FragmentProgram.Current); in _mesa_init_program() 102 ctx->FragmentProgram.Cache = _mesa_new_program_cache(); in _mesa_init_program() 121 _mesa_reference_program(ctx, &ctx->FragmentProgram.Current, NULL); in _mesa_free_program_data() 122 _mesa_delete_shader_cache(ctx, ctx->FragmentProgram.Cache); in _mesa_free_program_data() 148 _mesa_reference_program(ctx, &ctx->FragmentProgram.Current, in _mesa_update_default_objects_program() 150 assert(ctx->FragmentProgram.Current); in _mesa_update_default_objects_program()
|
D | prog_statevars.c | 373 COPY_4V(value, ctx->FragmentProgram.Parameters[idx]); in fetch_state() 376 if (!ctx->FragmentProgram.Current->arb.LocalParams) { in fetch_state() 377 ctx->FragmentProgram.Current->arb.LocalParams = in fetch_state() 378 rzalloc_array_size(ctx->FragmentProgram.Current, in fetch_state() 381 if (!ctx->FragmentProgram.Current->arb.LocalParams) in fetch_state() 386 ctx->FragmentProgram.Current->arb.LocalParams[idx]); in fetch_state()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_fragprog.c | 44 struct gl_program *fp = ctx->FragmentProgram._Current; in _swrast_use_fragment_program() 45 return fp && !(fp == ctx->FragmentProgram._TexEnvProgram in _swrast_use_fragment_program() 206 const struct gl_program *program = ctx->FragmentProgram._Current; in run_program() 265 const struct gl_program *program = ctx->FragmentProgram._Current; in _swrast_exec_fragment_program()
|
D | s_context.c | 220 const struct gl_program *fprog = ctx->FragmentProgram._Current; in _swrast_update_deferred_texture() 247 const struct gl_program *fp = ctx->FragmentProgram._Current; in _swrast_update_fog_state() 269 ctx->FragmentProgram._Current->Parameters); in _swrast_update_fragment_program() 500 attribsMask = ctx->FragmentProgram._Current->info.inputs_read; in _swrast_update_active_attribs()
|
/external/mesa3d/src/mesa/tnl/ |
D | t_context.c | 136 const struct gl_program *fp = ctx->FragmentProgram._Current; in _tnl_InvalidateState() 240 || !tnl->AllowPixelFog) && !ctx->FragmentProgram._Current; in _tnl_allow_vertex_fog() 250 || !tnl->AllowPixelFog) && !ctx->FragmentProgram._Current; in _tnl_allow_pixel_fog()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_context.c | 75 (struct i915_fragment_program *) ctx->FragmentProgram._Current; in i915InvalidateState() 257 ctx->FragmentProgram._MaintainTexEnvProgram = true; in i915CreateContext()
|
/external/mesa3d/src/mesa/swrast_setup/ |
D | ss_context.c | 116 GLboolean intColors = !ctx->FragmentProgram._Current in setup_vertex_format() 143 const GLint emit = ctx->FragmentProgram._Current ? EMIT_4F : EMIT_1F; in setup_vertex_format()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_shader.c | 103 assert(st->ctx->FragmentProgram._Current); in st_update_fp() 104 stfp = st_program(st->ctx->FragmentProgram._Current); in st_update_fp()
|
D | st_context.c | 155 st_program(ctx->FragmentProgram._Current); in st_get_active_states() 274 if (ctx->FragmentProgram._Current) { in st_invalidate_state() 275 struct st_program *stfp = st_program(ctx->FragmentProgram._Current); in st_invalidate_state() 642 ctx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE; in st_create_context_priv()
|
D | st_atom.c | 80 struct gl_program *new_fp = ctx->FragmentProgram._Current; in check_program_state()
|
D | st_atom_rasterizer.c | 69 const struct gl_program *fragProg = ctx->FragmentProgram._Current; in st_update_rasterizer()
|
D | st_atom_texture.c | 290 ctx->FragmentProgram._Current, in st_update_fragment_textures()
|
D | st_atom_sampler.c | 411 ctx->FragmentProgram._Current, in st_update_fragment_samplers()
|
D | st_cb_drawtex.c | 182 if (ctx->FragmentProgram._Current->info.inputs_read & VARYING_BIT_COL0) in st_DrawTex()
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_save_draw.c | 203 (ctx->FragmentProgram.Enabled && in vbo_save_playback_vertex_list()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_draw.c | 508 mark_textures_used_for_txf(used_for_txf, ctx->FragmentProgram._Current); in brw_predraw_resolve_inputs() 644 ctx->FragmentProgram._Current && in brw_predraw_resolve_framebuffer() 645 ctx->FragmentProgram._Current->info.outputs_read) { in brw_predraw_resolve_framebuffer() 854 util_last_bit(ctx->FragmentProgram._Current->info.textures_used); in brw_prepare_drawing()
|
D | brw_state_upload.c | 631 ctx->FragmentProgram._Current) { in brw_upload_pipeline_state() 632 brw->programs[MESA_SHADER_FRAGMENT] = ctx->FragmentProgram._Current; in brw_upload_pipeline_state()
|
/external/mesa3d/src/mesa/drivers/common/ |
D | meta.h | 126 struct gl_program *FragmentProgram; member
|
D | meta.c | 612 save->FragmentProgramEnabled = ctx->FragmentProgram.Enabled; in _mesa_meta_begin() 613 _mesa_reference_program(ctx, &save->FragmentProgram, in _mesa_meta_begin() 614 ctx->FragmentProgram.Current); in _mesa_meta_begin() 986 _mesa_reference_program(ctx, &ctx->FragmentProgram.Current, in _mesa_meta_end() 987 save->FragmentProgram); in _mesa_meta_end() 988 _mesa_reference_program(ctx, &save->FragmentProgram, NULL); in _mesa_meta_end()
|