• Home
  • Raw
  • Download

Lines Matching refs:tnl

41    TNLcontext *tnl = TNL_CONTEXT(ctx);  in _tnl_install_pipeline()  local
44 tnl->pipeline.new_state = ~0; in _tnl_install_pipeline()
49 struct tnl_pipeline_stage *s = &tnl->pipeline.stages[i]; in _tnl_install_pipeline()
55 tnl->pipeline.nr_stages = i; in _tnl_install_pipeline()
60 TNLcontext *tnl = TNL_CONTEXT(ctx); in _tnl_destroy_pipeline() local
63 for (i = 0 ; i < tnl->pipeline.nr_stages ; i++) { in _tnl_destroy_pipeline()
64 struct tnl_pipeline_stage *s = &tnl->pipeline.stages[i]; in _tnl_destroy_pipeline()
69 tnl->pipeline.nr_stages = 0; in _tnl_destroy_pipeline()
76 TNLcontext *tnl = TNL_CONTEXT(ctx); in check_input_changes() local
80 if (tnl->vb.AttribPtr[i]->size != tnl->pipeline.last_attrib_size[i] || in check_input_changes()
81 tnl->vb.AttribPtr[i]->stride != tnl->pipeline.last_attrib_stride[i]) { in check_input_changes()
82 tnl->pipeline.last_attrib_size[i] = tnl->vb.AttribPtr[i]->size; in check_input_changes()
83 tnl->pipeline.last_attrib_stride[i] = tnl->vb.AttribPtr[i]->stride; in check_input_changes()
84 tnl->pipeline.input_changes |= 1<<i; in check_input_changes()
88 return tnl->pipeline.input_changes; in check_input_changes()
95 TNLcontext *tnl = TNL_CONTEXT(ctx); in check_output_changes()
98 if (tnl->vb.ResultPtr[i]->size != tnl->last_result_size[i] || in check_output_changes()
99 tnl->vb.ResultPtr[i]->stride != tnl->last_result_stride[i]) { in check_output_changes()
100 tnl->last_result_size[i] = tnl->vb.ResultPtr[i]->size; in check_output_changes()
101 tnl->last_result_stride[i] = tnl->vb.ResultPtr[i]->stride; in check_output_changes()
102 tnl->pipeline.output_changes |= 1<<i; in check_output_changes()
106 if (tnl->pipeline.output_changes) in check_output_changes()
107 tnl->Driver.NotifyOutputChanges( ctx, tnl->pipeline.output_changes ); in check_output_changes()
109 return tnl->pipeline.output_changes; in check_output_changes()
196 TNLcontext *tnl = TNL_CONTEXT(ctx); in _tnl_run_pipeline() local
200 if (!tnl->vb.Count) in _tnl_run_pipeline()
206 if (check_input_changes( ctx ) || tnl->pipeline.new_state) { in _tnl_run_pipeline()
210 for (i = 0; i < tnl->pipeline.nr_stages ; i++) { in _tnl_run_pipeline()
211 struct tnl_pipeline_stage *s = &tnl->pipeline.stages[i]; in _tnl_run_pipeline()
216 tnl->pipeline.new_state = 0; in _tnl_run_pipeline()
217 tnl->pipeline.input_changes = 0; in _tnl_run_pipeline()
239 for (i = 0; i < tnl->pipeline.nr_stages ; i++) { in _tnl_run_pipeline()
240 struct tnl_pipeline_stage *s = &tnl->pipeline.stages[i]; in _tnl_run_pipeline()