[PATCH] Make VBO size run-time settable
"Bryce W. Harrington" <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
The default VBO size was reduced from 256k to 16k last year in commit 90860241 due to problems with larger VBOs on embedded hardware. However, that change resulted in a 5% performance impact to the firefox-fishbowl benchmark when using the spans or traps compositors. This patch doesn't change the VBO size, but does permit it to be altered via an environment variable, to facilitate testing. For graphs and a bunch more blather about this study, see my blog: http://www.bryceharrington.org/wordpress/2013/08/vbo-size/ Bryce Harrington (1): cairo-gl: Make VBO size run-time settable src/cairo-gl-composite.c | 2 +- src/cairo-gl-device.c | 2 +- src/cairo-gl-info.c | 22 ++++++++++++++++++++++ src/cairo-gl-private.h | 8 ++++++-- 4 files changed, 30 insertions(+), 4 deletions(-) -- 1.7.9.5 -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo