/third_party/mesa3d/src/mesa/main/ |
D | state.c | 182 const struct gl_program *prevFP = ctx->FragmentProgram._Current; in update_program() 207 _mesa_reference_program(ctx, &ctx->FragmentProgram._Current, fsProg); in update_program() 208 _mesa_reference_program(ctx, &ctx->FragmentProgram._TexEnvProgram, in update_program() 213 _mesa_reference_program(ctx, &ctx->FragmentProgram._Current, in update_program() 214 ctx->FragmentProgram.Current); in update_program() 215 _mesa_reference_program(ctx, &ctx->FragmentProgram._TexEnvProgram, in update_program() 221 _mesa_reference_program(ctx, &ctx->FragmentProgram._Current, in update_program() 223 _mesa_reference_program(ctx, &ctx->FragmentProgram._TexEnvProgram, in update_program() 230 _mesa_reference_program(ctx, &ctx->FragmentProgram._Current, in update_program() 232 _mesa_reference_program(ctx, &ctx->FragmentProgram._TexEnvProgram, in update_program() [all …]
|
D | state.h | 83 if (ctx->FragmentProgram._Current && in _mesa_need_secondary_color() 84 (ctx->FragmentProgram._Current != ctx->FragmentProgram._TexEnvProgram) && in _mesa_need_secondary_color() 85 (ctx->FragmentProgram._Current->info.inputs_read & VARYING_BIT_COL1)) in _mesa_need_secondary_color() 125 return ctx->FragmentProgram.Enabled && in _mesa_arb_fragment_program_enabled() 126 ctx->FragmentProgram.Current->arb.Instructions; in _mesa_arb_fragment_program_enabled()
|
D | arbprogram.c | 118 curProg = ctx->FragmentProgram.Current; in _mesa_BindProgramARB() 150 _mesa_reference_program(ctx, &ctx->FragmentProgram.Current, newProg); in _mesa_BindProgramARB() 158 assert(ctx->FragmentProgram.Current); in _mesa_BindProgramARB() 197 if (ctx->FragmentProgram.Current && in _mesa_DeleteProgramsARB() 198 ctx->FragmentProgram.Current->Id == ids[i]) { in _mesa_DeleteProgramsARB() 282 return ctx->FragmentProgram.Current; in get_current_program() 342 *param = ctx->FragmentProgram.Parameters[index]; in get_env_param_pointer() 476 set_program_string(ctx->FragmentProgram.Current, target, format, len, string); in _mesa_ProgramStringARB() 586 dest = ctx->FragmentProgram.Parameters[index]; in _mesa_ProgramEnvParameters4fvEXT() 668 (target == GL_FRAGMENT_PROGRAM_ARB && prog == ctx->FragmentProgram.Current)) { in _mesa_NamedProgramLocalParameter4fEXT() [all …]
|
D | context.c | 628 (8 * sizeof(ctx->FragmentProgram._Current->info.inputs_read))); in check_context_limits() 1126 _mesa_reference_program(ctx, &ctx->FragmentProgram.Current, NULL); in _mesa_free_context_data() 1127 _mesa_reference_program(ctx, &ctx->FragmentProgram._Current, NULL); in _mesa_free_context_data() 1128 _mesa_reference_program(ctx, &ctx->FragmentProgram._TexEnvProgram, NULL); in _mesa_free_context_data()
|
D | draw_validate.c | 151 if (ctx->FragmentProgram.Enabled && in _mesa_update_valid_to_render_state()
|
D | attrib.c | 202 attr->FragmentProgram = ctx->FragmentProgram.Enabled; in _mesa_PushAttrib() 476 TEST_AND_UPDATE(ctx->FragmentProgram.Enabled, in pop_enable_group() 477 enable->FragmentProgram, in pop_enable_group()
|
D | ff_fragment_shader.cpp | 1131 _mesa_search_program_cache(ctx->FragmentProgram.Cache, in _mesa_get_fixed_func_fragment_program() 1137 _mesa_shader_cache_insert(ctx, ctx->FragmentProgram.Cache, in _mesa_get_fixed_func_fragment_program()
|
D | enable.c | 1135 if (ctx->FragmentProgram.Enabled == state) in _mesa_set_enable() 1138 ctx->FragmentProgram.Enabled = state; in _mesa_set_enable() 1880 return ctx->FragmentProgram.Enabled; in _mesa_IsEnabled()
|
D | mtypes.h | 3175 GLboolean FragmentProgram; member 3437 struct gl_fragment_program_state FragmentProgram; member
|
D | texstate.c | 903 prog[MESA_SHADER_FRAGMENT] = ctx->FragmentProgram.Current; in _mesa_update_texture_state()
|
D | ffvertex_prog.c | 156 const struct gl_program *fp = ctx->FragmentProgram._Current; in make_state_key()
|
/third_party/mesa3d/src/mesa/program/ |
D | program.c | 101 ctx->FragmentProgram.Enabled = GL_FALSE; in _mesa_init_program() 102 _mesa_reference_program(ctx, &ctx->FragmentProgram.Current, in _mesa_init_program() 104 assert(ctx->FragmentProgram.Current); in _mesa_init_program() 105 ctx->FragmentProgram.Cache = _mesa_new_program_cache(); in _mesa_init_program() 124 _mesa_reference_program(ctx, &ctx->FragmentProgram.Current, NULL); in _mesa_free_program_data() 125 _mesa_delete_shader_cache(ctx, ctx->FragmentProgram.Cache); in _mesa_free_program_data() 151 _mesa_reference_program(ctx, &ctx->FragmentProgram.Current, in _mesa_update_default_objects_program() 153 assert(ctx->FragmentProgram.Current); in _mesa_update_default_objects_program()
|
D | prog_statevars.c | 472 COPY_4V(value, ctx->FragmentProgram.Parameters[idx]); in fetch_state() 478 memcpy(value, ctx->FragmentProgram.Parameters[idx], bytes); in fetch_state() 482 float (*params)[4] = ctx->FragmentProgram.Current->arb.LocalParams; in fetch_state() 499 float (*params)[4] = ctx->FragmentProgram.Current->arb.LocalParams; in fetch_state()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom_shader.c | 117 assert(st->ctx->FragmentProgram._Current); in st_update_fp() 118 fp = st->ctx->FragmentProgram._Current; in st_update_fp() 173 update_gl_clamp(st, st->ctx->FragmentProgram._Current, key.gl_clamp); in st_update_fp()
|
D | st_context.c | 81 struct gl_program *fp = ctx->FragmentProgram._Current; in st_get_active_states() 202 if (ctx->FragmentProgram._Current) { in st_invalidate_state() 203 struct gl_program *fp = ctx->FragmentProgram._Current; in st_invalidate_state()
|
D | st_atom.c | 90 struct gl_program *new_fp = ctx->FragmentProgram._Current; in check_program_state()
|
D | st_atom_sampler.c | 338 ctx->FragmentProgram._Current, in st_update_fragment_samplers()
|
D | st_atom_rasterizer.c | 69 const struct gl_program *fragProg = ctx->FragmentProgram._Current; in st_update_rasterizer()
|
D | st_atom_texture.c | 294 ctx->FragmentProgram._Current); in st_update_fragment_textures()
|
D | st_cb_drawtex.c | 182 if (ctx->FragmentProgram._Current->info.inputs_read & VARYING_BIT_COL0) in st_DrawTex()
|
D | st_cb_bitmap.c | 248 ctx->FragmentProgram._Current, sampler_views); in setup_render_state()
|
D | st_cb_drawpixels.c | 875 ctx->FragmentProgram._Current, sampler_views); in draw_textured_quad() 1545 !ctx->FragmentProgram.Enabled && in blit_copy_pixels()
|