Commit 069a6d17 authored by Committed by Eric Anholt
glamor_composite: Allocate VBO on demand.
Use a fixed VBO is not efficient. Some times we may only has less than 100 verts, and some times we may have larger than 4K verts. We change it to allocate VBO buffer dynamically, and this can bring about 10% performance gain for both aa10text/rgb10text and some cairo benchmarks. Signed-off-by: Zhigang Gong <email@example.com>
Showing with 88 additions and 94 deletions