projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r300g: add RGBA16F colorbuffer support
[mesa.git]
/
src
/
gallium
/
drivers
/
llvmpipe
/
lp_perf.h
diff --git
a/src/gallium/drivers/llvmpipe/lp_perf.h
b/src/gallium/drivers/llvmpipe/lp_perf.h
index 9886088c38ec7960a0e0337a9b7beac154e508b8..a9629dae3c7882d4c1f1c94de7b643bf34e18a3b 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_perf.h
+++ b/
src/gallium/drivers/llvmpipe/lp_perf.h
@@
-49,6
+49,12
@@
struct lp_counters
unsigned nr_partially_covered_16;
unsigned nr_empty_4;
unsigned nr_non_empty_4;
unsigned nr_partially_covered_16;
unsigned nr_empty_4;
unsigned nr_non_empty_4;
+ unsigned nr_llvm_compiles;
+ int64_t llvm_compile_time; /**< total, in microseconds */
+
+ unsigned nr_color_tile_clear;
+ unsigned nr_color_tile_load;
+ unsigned nr_color_tile_store;
};
};
@@
-58,8
+64,10
@@
extern struct lp_counters lp_count;
/** Increment the named counter (only for debug builds) */
#ifdef DEBUG
#define LP_COUNT(counter) lp_count.counter++
/** Increment the named counter (only for debug builds) */
#ifdef DEBUG
#define LP_COUNT(counter) lp_count.counter++
+#define LP_COUNT_ADD(counter, incr) lp_count.counter += (incr)
#else
#define LP_COUNT(counter)
#else
#define LP_COUNT(counter)
+#define LP_COUNT_ADD(counter, incr) (void) incr
#endif
#endif