st/nine: Upload managed textures only at draw using them
authorAxel Davy <davyaxel0@gmail.com>
Thu, 4 Apr 2019 21:01:08 +0000 (23:01 +0200)
committerAxel Davy <davyaxel0@gmail.com>
Tue, 30 Apr 2019 17:18:50 +0000 (19:18 +0200)
commit5df96995efc37260b2675f61804c94a1a632609f
tree4a725e0985860ac2b953866b6ce4a791dd435ae8
parent394420ebb3eec6d8956588ee13380d5059e14bea
st/nine: Upload managed textures only at draw using them

When a draw call is emited, textures in the
device->update_textures list are uploaded.

This patch removes textures from the list if they
are not bound anymore.

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