st/nine: Simplify Surface9 Managed resources implementation
authorAxel Davy <axel.davy@ens.fr>
Thu, 19 Feb 2015 16:34:45 +0000 (17:34 +0100)
committerAxel Davy <axel.davy@ens.fr>
Wed, 29 Apr 2015 06:28:11 +0000 (08:28 +0200)
commit520e36f89cb9048258d9c1ca42de68564ad876a9
tree7e7927cb89fd9f81423ca18018a83ff6e452898e
parent4c2247ac60f426a6441f964f2204af9f8dc04dc5
st/nine: Simplify Surface9 Managed resources implementation

Remove the Surface9 code for dirty rects, used only for Managed
resources. Instead convey the information to the parent texture.

According to documentation, this seems to be the expected behaviour,
and if documentation is wrong there, that's not a problem since it can
only leads to more texture updates in corner cases.

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