• Home
  • Raw
  • Download

Lines Matching refs:softpipe

92    struct softpipe_context *softpipe = softpipe_context( pipe );  in softpipe_begin_query()  local
99 sq->start = softpipe->occlusion_count; in softpipe_begin_query()
105 sq->so.num_primitives_written = softpipe->so_stats[0].num_primitives_written; in softpipe_begin_query()
106 sq->so.primitives_storage_needed = softpipe->so_stats[0].primitives_storage_needed; in softpipe_begin_query()
110 sq->so.num_primitives_written = softpipe->so_stats[sq->index].num_primitives_written; in softpipe_begin_query()
111 sq->so.primitives_storage_needed = softpipe->so_stats[sq->index].primitives_storage_needed; in softpipe_begin_query()
114 sq->so.num_primitives_written = softpipe->so_stats[sq->index].num_primitives_written; in softpipe_begin_query()
117 sq->so.primitives_storage_needed = softpipe->so_stats[sq->index].primitives_storage_needed; in softpipe_begin_query()
125 if (softpipe->active_statistics_queries == 0) { in softpipe_begin_query()
126 memset(&softpipe->pipeline_statistics, 0, in softpipe_begin_query()
127 sizeof(softpipe->pipeline_statistics)); in softpipe_begin_query()
129 memcpy(&sq->stats, &softpipe->pipeline_statistics, in softpipe_begin_query()
131 softpipe->active_statistics_queries++; in softpipe_begin_query()
137 softpipe->active_query_count++; in softpipe_begin_query()
138 softpipe->dirty |= SP_NEW_QUERY; in softpipe_begin_query()
146 struct softpipe_context *softpipe = softpipe_context( pipe ); in softpipe_end_query() local
149 softpipe->active_query_count--; in softpipe_end_query()
154 sq->end = softpipe->occlusion_count; in softpipe_end_query()
165 softpipe->so_stats[0].num_primitives_written - sq->so.num_primitives_written; in softpipe_end_query()
167 softpipe->so_stats[0].primitives_storage_needed - sq->so.primitives_storage_needed; in softpipe_end_query()
172 softpipe->so_stats[sq->index].num_primitives_written - sq->so.num_primitives_written; in softpipe_end_query()
174 softpipe->so_stats[sq->index].primitives_storage_needed - sq->so.primitives_storage_needed; in softpipe_end_query()
178 softpipe->so_stats[sq->index].num_primitives_written - sq->so.num_primitives_written; in softpipe_end_query()
182 softpipe->so_stats[sq->index].primitives_storage_needed - sq->so.primitives_storage_needed; in softpipe_end_query()
189 softpipe->pipeline_statistics.ia_vertices - sq->stats.ia_vertices; in softpipe_end_query()
191 softpipe->pipeline_statistics.ia_primitives - sq->stats.ia_primitives; in softpipe_end_query()
193 softpipe->pipeline_statistics.vs_invocations - sq->stats.vs_invocations; in softpipe_end_query()
195 softpipe->pipeline_statistics.gs_invocations - sq->stats.gs_invocations; in softpipe_end_query()
197 softpipe->pipeline_statistics.gs_primitives - sq->stats.gs_primitives; in softpipe_end_query()
199 softpipe->pipeline_statistics.c_invocations - sq->stats.c_invocations; in softpipe_end_query()
201 softpipe->pipeline_statistics.c_primitives - sq->stats.c_primitives; in softpipe_end_query()
203 softpipe->pipeline_statistics.ps_invocations - sq->stats.ps_invocations; in softpipe_end_query()
205 softpipe->pipeline_statistics.cs_invocations - sq->stats.cs_invocations; in softpipe_end_query()
207 softpipe->active_statistics_queries--; in softpipe_end_query()
213 softpipe->dirty |= SP_NEW_QUERY; in softpipe_end_query()
305 void softpipe_init_query_funcs(struct softpipe_context *softpipe ) in softpipe_init_query_funcs() argument
307 softpipe->pipe.create_query = softpipe_create_query; in softpipe_init_query_funcs()
308 softpipe->pipe.destroy_query = softpipe_destroy_query; in softpipe_init_query_funcs()
309 softpipe->pipe.begin_query = softpipe_begin_query; in softpipe_init_query_funcs()
310 softpipe->pipe.end_query = softpipe_end_query; in softpipe_init_query_funcs()
311 softpipe->pipe.get_query_result = softpipe_get_query_result; in softpipe_init_query_funcs()
312 softpipe->pipe.set_active_query_state = softpipe_set_active_query_state; in softpipe_init_query_funcs()