Re: [PATCH] glamor: Fix GLES2 non-VBO temporary memory allocation.

2014-06-23 Thread Keith Packard
Eric Anholt writes: > We'd get a request for like 16 bytes, claim to have allocated > GLAMOR_VBO_SIZE, and then not reallocate when something a request > bigger than 16 came along. The intent was to always allocate at least > GLAMOR_VBO_SIZE. > > Fixes segfaults with Xephyr -glamor_gles2 and run

[PATCH] glamor: Fix GLES2 non-VBO temporary memory allocation.

2014-06-16 Thread Eric Anholt
We'd get a request for like 16 bytes, claim to have allocated GLAMOR_VBO_SIZE, and then not reallocate when something a request bigger than 16 came along. The intent was to always allocate at least GLAMOR_VBO_SIZE. Fixes segfaults with Xephyr -glamor_gles2 and running gnome-terminal. Signed-off-