st/nine: Upload on secondary context for Draw*Up
authorAxel Davy <axel.davy@ens.fr>
Sun, 18 Dec 2016 18:21:08 +0000 (19:21 +0100)
committerAxel Davy <axel.davy@ens.fr>
Tue, 20 Dec 2016 22:47:08 +0000 (23:47 +0100)
commit123e947228241e743a4d0fdb8a911f57a3dd4ef9
tree18162a7872e44fd4462fba8a5f8e53e0b94b294c
parent0ec4e5f630ed68ece3f176b174cfd66eff023904
st/nine: Upload on secondary context for Draw*Up

Avoid synchronization by using the secondary context
for uploading the vertex data for Draw*Up.

v2: Rely on u_upload_mgr to use persistent coherent
buffers. Do not flush.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/device9.c