vc4: Implement texture_subdata() to directly upload tiled data.
authorEric Anholt <eric@anholt.net>
Thu, 9 Aug 2018 00:34:42 +0000 (17:34 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 9 Aug 2018 01:14:31 +0000 (18:14 -0700)
commitfdfb689a48b11954f35fe39ad49cbe2108f2e279
tree0c02305db9c104c82a385dfc1f53351f330bcbc4
parent25bee5ef9ea923bf0d99f5f8eb19082c449f3e53
vc4: Implement texture_subdata() to directly upload tiled data.

This avoids a memcpy into a temporary in the upload path.

Improves x11perf -putimage100 performance by 12.1586% +/- 1.38155% (n=145)
src/gallium/drivers/vc4/vc4_resource.c