summaryrefslogtreecommitdiff
path: root/src/gallium/tests/trivial/compute.c
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2018-01-15 22:29:04 +0100
committerNicolai Hähnle <nicolai.haehnle@amd.com>2018-03-14 09:04:05 +0100
commitea43de5df05e7aaad74c8ef8b756230a7e882b2d (patch)
tree2e8305ada1a6be948fcb1f47401704f39198098d /src/gallium/tests/trivial/compute.c
parenta8c0eb215b496817e2262104c800b2e0d6a2105e (diff)
dri_interface: add __DRI_IMAGE_TRANSFER_USER_STRIDE
Allow the caller to specify the row stride (in bytes) with which an image should be mapped. Note that completely ignoring USER_STRIDE is a valid implementation of mapImage. This is horrible API design. Unfortunately, cros_gralloc does indeed have a horrible API design -- in that arbitrary images should be allowed to be mapped with the stride that a linear image of the same width would have. There is no separate capability bit because it's unclear how stricter requirements should be defined.
Diffstat (limited to 'src/gallium/tests/trivial/compute.c')
0 files changed, 0 insertions, 0 deletions