st/nine: Create pipe_surfaces on resource creation.
authorAxel Davy <axel.davy@ens.fr>
Fri, 4 Nov 2016 21:39:14 +0000 (22:39 +0100)
committerAxel Davy <axel.davy@ens.fr>
Tue, 20 Dec 2016 22:44:22 +0000 (23:44 +0100)
commite068d3afe17cb7e26d8229ee279c71a09e9a20af
treeff94bd54e5a5895b7803c70677a146a9a3abf57f
parentbb666b0297cb81fc1b8192ba91efd2e0a69835c5
st/nine: Create pipe_surfaces on resource creation.

Create the pipe_surfaces on renderable resources creation.

This enables to avoid creating them on the fly.

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