Home
last modified time | relevance | path

Searched refs:lp_count (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_perf.c34 struct lp_counters lp_count; variable
40 memset(&lp_count, 0, sizeof(lp_count)); in lp_reset_counters()
51 debug_printf("llvmpipe: nr_triangles: %9u\n", lp_count.nr_tris); in lp_print_counters()
52 debug_printf("llvmpipe: nr_culled_triangles: %9u\n", lp_count.nr_culled_tris); in lp_print_counters()
54 total_64 = (lp_count.nr_empty_64 + in lp_print_counters()
55 lp_count.nr_fully_covered_64 + in lp_print_counters()
56 lp_count.nr_partially_covered_64); in lp_print_counters()
58 p1 = 100.0 * (float) lp_count.nr_empty_64 / (float) total_64; in lp_print_counters()
59 p2 = 100.0 * (float) lp_count.nr_fully_covered_64 / (float) total_64; in lp_print_counters()
60 p3 = 100.0 * (float) lp_count.nr_partially_covered_64 / (float) total_64; in lp_print_counters()
[all …]
Dlp_perf.h68 extern struct lp_counters lp_count;
73 #define LP_COUNT(counter) lp_count.counter++
74 #define LP_COUNT_ADD(counter, incr) lp_count.counter += (incr)
75 #define LP_COUNT_GET(counter) (lp_count.counter)