[cairo] [PATCH] Make VBO size run-time settable

Bryce W. Harrington b.harrington at samsung.com
Wed Aug 28 23:34:11 PDT 2013


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


More information about the cairo mailing list