• Home
  • Raw
  • Download

Lines Matching refs:llvmpipe

192    struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe );  in llvmpipe_begin_query()  local
206 lp_setup_begin_query(llvmpipe->setup, pq); in llvmpipe_begin_query()
210 pq->num_primitives_written = llvmpipe->so_stats.num_primitives_written; in llvmpipe_begin_query()
213 pq->num_primitives_generated = llvmpipe->so_stats.primitives_storage_needed; in llvmpipe_begin_query()
216 pq->num_primitives_written = llvmpipe->so_stats.num_primitives_written; in llvmpipe_begin_query()
217 pq->num_primitives_generated = llvmpipe->so_stats.primitives_storage_needed; in llvmpipe_begin_query()
221 pq->num_primitives_written = llvmpipe->so_stats.num_primitives_written; in llvmpipe_begin_query()
222 pq->num_primitives_generated = llvmpipe->so_stats.primitives_storage_needed; in llvmpipe_begin_query()
226 if (llvmpipe->active_statistics_queries == 0) { in llvmpipe_begin_query()
227 memset(&llvmpipe->pipeline_statistics, 0, in llvmpipe_begin_query()
228 sizeof(llvmpipe->pipeline_statistics)); in llvmpipe_begin_query()
230 memcpy(&pq->stats, &llvmpipe->pipeline_statistics, sizeof(pq->stats)); in llvmpipe_begin_query()
231 llvmpipe->active_statistics_queries++; in llvmpipe_begin_query()
236 llvmpipe->active_occlusion_queries++; in llvmpipe_begin_query()
237 llvmpipe->dirty |= LP_NEW_OCCLUSION_QUERY; in llvmpipe_begin_query()
249 struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); in llvmpipe_end_query() local
252 lp_setup_end_query(llvmpipe->setup, pq); in llvmpipe_end_query()
258 llvmpipe->so_stats.num_primitives_written - pq->num_primitives_written; in llvmpipe_end_query()
262 llvmpipe->so_stats.primitives_storage_needed - pq->num_primitives_generated; in llvmpipe_end_query()
266 llvmpipe->so_stats.num_primitives_written - pq->num_primitives_written; in llvmpipe_end_query()
268 llvmpipe->so_stats.primitives_storage_needed - pq->num_primitives_generated; in llvmpipe_end_query()
273 llvmpipe->so_stats.num_primitives_written - pq->num_primitives_written; in llvmpipe_end_query()
275 llvmpipe->so_stats.primitives_storage_needed - pq->num_primitives_generated; in llvmpipe_end_query()
279 llvmpipe->pipeline_statistics.ia_vertices - pq->stats.ia_vertices; in llvmpipe_end_query()
281 llvmpipe->pipeline_statistics.ia_primitives - pq->stats.ia_primitives; in llvmpipe_end_query()
283 llvmpipe->pipeline_statistics.vs_invocations - pq->stats.vs_invocations; in llvmpipe_end_query()
285 llvmpipe->pipeline_statistics.gs_invocations - pq->stats.gs_invocations; in llvmpipe_end_query()
287 llvmpipe->pipeline_statistics.gs_primitives - pq->stats.gs_primitives; in llvmpipe_end_query()
289 llvmpipe->pipeline_statistics.c_invocations - pq->stats.c_invocations; in llvmpipe_end_query()
291 llvmpipe->pipeline_statistics.c_primitives - pq->stats.c_primitives; in llvmpipe_end_query()
293 llvmpipe->pipeline_statistics.ps_invocations - pq->stats.ps_invocations; in llvmpipe_end_query()
295 llvmpipe->active_statistics_queries--; in llvmpipe_end_query()
300 assert(llvmpipe->active_occlusion_queries); in llvmpipe_end_query()
301 llvmpipe->active_occlusion_queries--; in llvmpipe_end_query()
302 llvmpipe->dirty |= LP_NEW_OCCLUSION_QUERY; in llvmpipe_end_query()
336 void llvmpipe_init_query_funcs(struct llvmpipe_context *llvmpipe ) in llvmpipe_init_query_funcs() argument
338 llvmpipe->pipe.create_query = llvmpipe_create_query; in llvmpipe_init_query_funcs()
339 llvmpipe->pipe.destroy_query = llvmpipe_destroy_query; in llvmpipe_init_query_funcs()
340 llvmpipe->pipe.begin_query = llvmpipe_begin_query; in llvmpipe_init_query_funcs()
341 llvmpipe->pipe.end_query = llvmpipe_end_query; in llvmpipe_init_query_funcs()
342 llvmpipe->pipe.get_query_result = llvmpipe_get_query_result; in llvmpipe_init_query_funcs()
343 llvmpipe->pipe.set_active_query_state = llvmpipe_set_active_query_state; in llvmpipe_init_query_funcs()