diff options
author | Adam Jackson <[email protected]> | 2013-05-29 01:36:43 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2013-05-31 20:21:05 +0200 |
commit | e881c9a5dc5457f0b096a3c583c5b1450beb89e9 (patch) | |
tree | d4f859954289a482301de16477cd1429fb28005b /src/gallium/drivers/llvmpipe/lp_scene.h | |
parent | eb4c992ea5e69083d2bc705d2460ce956c5063a7 (diff) |
llvmpipe: Remove x/y from cmd_bin
These were mostly just a waste of memory and cache pressure, and were
really only used for debugging.
This change reduces instruction count (as measured by callgrind's Ir
event) of gnome-shell-perf-tool on Ivybridge by 3.5% ± 0.015% (n=20).
Signed-off-by: Adam Jackson <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_scene.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_scene.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_scene.h b/src/gallium/drivers/llvmpipe/lp_scene.h index 1d0cd0e0e6b..fa5bbcaf013 100644 --- a/src/gallium/drivers/llvmpipe/lp_scene.h +++ b/src/gallium/drivers/llvmpipe/lp_scene.h @@ -94,8 +94,6 @@ struct data_block { * For each screen tile we have one of these bins. */ struct cmd_bin { - ushort x; - ushort y; const struct lp_rast_state *last_state; /* most recent state set in bin */ struct cmd_block *head; struct cmd_block *tail; @@ -375,7 +373,7 @@ void lp_scene_bin_iter_begin( struct lp_scene *scene ); struct cmd_bin * -lp_scene_bin_iter_next( struct lp_scene *scene ); +lp_scene_bin_iter_next( struct lp_scene *scene, int *x, int *y ); |