/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_context.c | 68 (struct i915_fragment_program *) ctx->FragmentProgram._Current; in i915InvalidateState() 237 ctx->Const.FragmentProgram.MaxNativeTemps = I915_MAX_TEMPORARY; in i915CreateContext() 238 ctx->Const.FragmentProgram.MaxNativeAttribs = 11; /* 8 tex, 2 color, fog */ in i915CreateContext() 239 ctx->Const.FragmentProgram.MaxNativeParameters = I915_MAX_CONSTANT; in i915CreateContext() 240 ctx->Const.FragmentProgram.MaxNativeAluInstructions = I915_MAX_ALU_INSN; in i915CreateContext() 241 ctx->Const.FragmentProgram.MaxNativeTexInstructions = I915_MAX_TEX_INSN; in i915CreateContext() 242 ctx->Const.FragmentProgram.MaxNativeInstructions = (I915_MAX_ALU_INSN + in i915CreateContext() 244 ctx->Const.FragmentProgram.MaxNativeTexIndirections = in i915CreateContext() 246 ctx->Const.FragmentProgram.MaxNativeAddressRegs = 0; /* I don't think we have one */ in i915CreateContext() 247 ctx->Const.FragmentProgram.MaxEnvParams = in i915CreateContext() [all …]
|
D | intel_pixel.c | 64 if (ctx->FragmentProgram._Enabled) { in intel_check_blit_fragment_ops()
|
D | intel_pixel_copy.c | 68 ctx->FragmentProgram._Enabled || in intel_check_copypixel_blit_fragment_ops()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_context.c | 249 ctx->Const.FragmentProgram.MaxNativeInstructions = (16 * 1024); in brwCreateContext() 250 ctx->Const.FragmentProgram.MaxNativeAluInstructions = (16 * 1024); in brwCreateContext() 251 ctx->Const.FragmentProgram.MaxNativeTexInstructions = (16 * 1024); in brwCreateContext() 252 ctx->Const.FragmentProgram.MaxNativeTexIndirections = (16 * 1024); in brwCreateContext() 253 ctx->Const.FragmentProgram.MaxNativeAttribs = 12; in brwCreateContext() 254 ctx->Const.FragmentProgram.MaxNativeTemps = 256; in brwCreateContext() 255 ctx->Const.FragmentProgram.MaxNativeAddressRegs = 0; in brwCreateContext() 256 ctx->Const.FragmentProgram.MaxNativeParameters = 1024; in brwCreateContext() 257 ctx->Const.FragmentProgram.MaxEnvParams = in brwCreateContext() 258 MIN2(ctx->Const.FragmentProgram.MaxNativeParameters, in brwCreateContext() [all …]
|
D | intel_pixel.c | 64 if (ctx->FragmentProgram._Enabled) { in intel_check_blit_fragment_ops()
|
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()
|
D | intel_pixel_copy.c | 68 ctx->FragmentProgram._Enabled || in intel_check_copypixel_blit_fragment_ops()
|
/external/mesa3d/src/mesa/main/ |
D | state.c | 82 ctx->FragmentProgram._Enabled = ctx->FragmentProgram.Enabled in update_program_enables() 83 && ctx->FragmentProgram.Current->Base.Instructions; in update_program_enables() 110 const struct gl_fragment_program *prevFP = ctx->FragmentProgram._Current; in update_program() 136 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._Current, in update_program() 138 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._TexEnvProgram, in update_program() 141 else if (ctx->FragmentProgram._Enabled) { in update_program() 146 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._Current, in update_program() 147 ctx->FragmentProgram.Current); in update_program() 148 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._TexEnvProgram, in update_program() 151 else if (ctx->FragmentProgram._MaintainTexEnvProgram) { in update_program() [all …]
|
D | arbprogram.c | 89 curProg = &ctx->FragmentProgram.Current->Base; in _mesa_BindProgram() 145 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram.Current, in _mesa_BindProgram() 151 ASSERT(ctx->FragmentProgram.Current); in _mesa_BindProgram() 194 if (ctx->FragmentProgram.Current && in _mesa_DeletePrograms() 195 ctx->FragmentProgram.Current->Base.Id == ids[i]) { in _mesa_DeletePrograms() 286 prog = &(ctx->FragmentProgram.Current->Base); in get_local_param_pointer() 287 maxParams = ctx->Const.FragmentProgram.MaxLocalParams; in get_local_param_pointer() 291 prog = &(ctx->FragmentProgram.Current->Base); in get_local_param_pointer() 316 if (index >= ctx->Const.FragmentProgram.MaxEnvParams) { in get_env_param_pointer() 320 *param = ctx->FragmentProgram.Parameters[index]; in get_env_param_pointer() [all …]
|
D | state.h | 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 | context.c | 605 init_program_limits(ctx, GL_FRAGMENT_PROGRAM_ARB, &ctx->Const.FragmentProgram); in _mesa_init_constants() 693 (8 * sizeof(ctx->FragmentProgram._Current->Base.InputsRead))); in check_context_limits() 698 assert(ctx->Const.FragmentProgram.MaxLocalParams <= MAX_PROGRAM_LOCAL_PARAMS); in check_context_limits() 990 ctx->FragmentProgram._MaintainTexEnvProgram in _mesa_initialize_context() 997 ctx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE; in _mesa_initialize_context() 1038 ctx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE; in _mesa_initialize_context() 1119 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram.Current, NULL); in _mesa_free_context_data() 1120 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._Current, NULL); in _mesa_free_context_data() 1121 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram._TexEnvProgram, NULL); in _mesa_free_context_data() 1839 if (ctx->FragmentProgram.Enabled && !ctx->FragmentProgram._Enabled) { in _mesa_valid_to_render()
|
D | enable.c | 916 if (ctx->FragmentProgram.Enabled == state) in _mesa_set_enable() 919 ctx->FragmentProgram.Enabled = state; in _mesa_set_enable() 954 if (ctx->FragmentProgram.Enabled == state) in _mesa_set_enable() 957 ctx->FragmentProgram.Enabled = state; in _mesa_set_enable() 1640 return ctx->FragmentProgram.Enabled; in _mesa_IsEnabled() 1661 return ctx->FragmentProgram.Enabled; in _mesa_IsEnabled()
|
/external/mesa3d/src/mesa/program/ |
D | program.c | 63 ASSERT(ctx->Const.FragmentProgram.MaxUniformComponents / 4 in _mesa_init_program() 68 ASSERT(ctx->Const.FragmentProgram.MaxTemps <= (1 << INST_INDEX_BITS)); in _mesa_init_program() 69 ASSERT(ctx->Const.FragmentProgram.MaxLocalParams <= (1 << INST_INDEX_BITS)); in _mesa_init_program() 72 ASSERT(ctx->Const.FragmentProgram.MaxUniformComponents <= 4 * MAX_UNIFORMS); in _mesa_init_program() 75 ASSERT(ctx->Const.FragmentProgram.MaxAddressOffset <= (1 << INST_INDEX_BITS)); in _mesa_init_program() 106 ctx->FragmentProgram.Enabled = GL_FALSE; in _mesa_init_program() 107 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram.Current, in _mesa_init_program() 109 assert(ctx->FragmentProgram.Current); in _mesa_init_program() 110 ctx->FragmentProgram.Cache = _mesa_new_program_cache(); in _mesa_init_program() 142 _mesa_reference_fragprog(ctx, &ctx->FragmentProgram.Current, NULL); in _mesa_free_program_data() [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_fragprog.c | 43 struct gl_fragment_program *fp = ctx->FragmentProgram._Current; in _swrast_use_fragment_program() 44 return fp && !(fp == ctx->FragmentProgram._TexEnvProgram in _swrast_use_fragment_program() 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() 506 attribsMask = ctx->FragmentProgram._Current->Base.InputsRead; in _swrast_update_active_attribs() 802 init_program_native_limits(&ctx->Const.FragmentProgram); in _swrast_CreateContext()
|
/external/mesa3d/src/mesa/tnl/ |
D | t_context.c | 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()
|
/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()
|
D | st_atom_texture.c | 335 &ctx->FragmentProgram._Current->Base, in update_fragment_textures() 393 struct gl_fragment_program *fprog = ctx->FragmentProgram._Current; in finalize_textures()
|
D | st_atom.c | 122 if (ctx->FragmentProgram._Current != &st->fp->Base) in check_program_state()
|
D | st_atom_rasterizer.c | 63 const struct gl_fragment_program *fragProg = ctx->FragmentProgram._Current; in update_raster_state()
|
/external/mesa3d/src/mesa/swrast_setup/ |
D | ss_context.c | 115 GLboolean intColors = !ctx->FragmentProgram._Current in setup_vertex_format() 142 const GLint emit = ctx->FragmentProgram._Current ? EMIT_4F : EMIT_1F; in setup_vertex_format()
|
/external/mesa3d/src/glsl/ |
D | standalone_scaffolding.cpp | 98 ctx->Const.FragmentProgram.MaxUniformComponents = 64; in initialize_context_to_defaults()
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_save_draw.c | 307 (ctx->FragmentProgram.Enabled && !ctx->FragmentProgram._Enabled)) { in vbo_save_playback_vertex_list()
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
D | intel_pixel.c | 64 if (ctx->FragmentProgram._Enabled) { in intel_check_blit_fragment_ops()
|
D | intel_pixel_copy.c | 68 ctx->FragmentProgram._Enabled || in intel_check_copypixel_blit_fragment_ops()
|