v3d: Allow the UIF modifier with renderonly.
authorEric Anholt <eric@anholt.net>
Mon, 18 Mar 2019 21:19:36 +0000 (14:19 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 19 Mar 2019 15:54:46 +0000 (08:54 -0700)
commitbf6973199d186c93da35becc695db58fd3d1b4e5
tree1eced23ba28707140c1d9617531b5e6f9ea7dd97
parenteb5903a90857e767233fc818c2c07abd92d79521
v3d: Allow the UIF modifier with renderonly.

We ask the other side to make a buffer with the right number of pages, and
then just store the UIF in it.  This avoids an extra silent copy of the
buffer from linear to UIF if it gets used for texturing (X11 copy-based
swapbuffers, GL compositors).
src/gallium/drivers/v3d/v3d_resource.c