st/nine: Only update dirty rect for UpdateTexture
authorAxel Davy <axel.davy@ens.fr>
Tue, 5 May 2015 18:40:12 +0000 (20:40 +0200)
committerAxel Davy <axel.davy@ens.fr>
Fri, 21 Aug 2015 20:21:46 +0000 (22:21 +0200)
commit41f54040e20d40e5e2ecbf73c09dcb4a154c4577
treece17a1e3e52edbf983c675462b7680f7336d7419
parent43d5c5a11b35dc09f369b08ff7066ccc8ab34e82
st/nine: Only update dirty rect for UpdateTexture

UpdateTexture is supposed to optimise by uploading only for the
dirty region of the source (d3d9 doc, wine tests).
This patch adds the behaviour for surfaces, but not entirely for
volumes.

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