We don't need any current contents of the buffer, and this allows an implementation to make a temporary BO for a streamed upload if it wants to.
Signed-off-by: Eric Anholt <e...@anholt.net> --- glamor/glamor_render.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glamor/glamor_render.c b/glamor/glamor_render.c index f8d103d..98343c3 100644 --- a/glamor/glamor_render.c +++ b/glamor/glamor_render.c @@ -731,7 +731,8 @@ glamor_setup_composite_vbo(ScreenPtr screen, int n_verts) glamor_priv->vbo_offset, vert_size, GL_MAP_WRITE_BIT | - GL_MAP_UNSYNCHRONIZED_BIT); + GL_MAP_UNSYNCHRONIZED_BIT | + GL_MAP_INVALIDATE_RANGE_BIT); assert(glamor_priv->vb != NULL); glamor_priv->vb -= glamor_priv->vbo_offset; } -- 1.9.0 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel