st/nine: Optimize surface upload with conversion
authorAxel Davy <davyaxel0@gmail.com>
Wed, 10 Apr 2019 20:16:54 +0000 (22:16 +0200)
committerAxel Davy <davyaxel0@gmail.com>
Tue, 30 Apr 2019 17:18:50 +0000 (19:18 +0200)
commitfac3f993772edc9be1682b439b45ddbe3463bd4f
tree7bc63b05b2a14c8a1ece6f99967049d974afe9a0
parent4ca6b1dfd1055f7eb1679deb3e7194c19e4584e8
st/nine: Optimize surface upload with conversion

Use nine_context_box_upload instead of locking the pipe
for surface upload with format conversion.
nine_context_box_upload already handles format
conversion.

Signed-off-by: Axel Davy <davyaxel0@gmail.com>
src/gallium/state_trackers/nine/surface9.c