sna: Utilise existing cached upload for promoting to GPU bo
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 4 Jul 2014 10:02:39 +0000 (11:02 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 4 Jul 2014 10:25:28 +0000 (11:25 +0100)
commit64bcb91f58fba3956f2c66fa37707b9e496da936
tree14574fbf608ce24de0973a8a77abdd69d8212555
parent821ef20b27f84cc26aec266b0f616a7f39ba9e3d
sna: Utilise existing cached upload for promoting to GPU bo

If we already have a buffer that represents the data on the GPU, we can
simply use that when we need to promote the pixmap onto the GPU.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_accel.c
src/sna/sna_damage.h