diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-11-21 18:41:00 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-11-21 18:42:24 +0000 |
commit | d3a49f36395d737698616fe8ba9da7b74cd2d89a (patch) | |
tree | 2a2beaf0273e0c3ff9942035711450b5844e3f03 /uxa/uxa-render.c | |
parent | 1c57a52a1f46e8401429955d8c96fd5095c9012a (diff) |
sna/gen3+: Clear the render.vbo when replacing it for vertex upload
As we may trigger a flush and a retire when searching for a vertex
buffer for the new vertices, we need to be careful to decouple the
destroyed vbo in order to avoid a use-after-free when inspecting the
state.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'uxa/uxa-render.c')
0 files changed, 0 insertions, 0 deletions