summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2016-05-03 21:02:43 -0500
committerEmil Velikov <emil.l.velikov@gmail.com>2016-05-23 12:07:46 +0100
commita0f06f168fd951d5b50b892786f041b58e9554ae (patch)
tree0f98c10b3f415ac6fdd023ad53bcfccb0777bf48 /src
parentbdfa635f726d77457db9ab6298c7910138befbcd (diff)
downloadexternal_mesa3d-a0f06f168fd951d5b50b892786f041b58e9554ae.zip
external_mesa3d-a0f06f168fd951d5b50b892786f041b58e9554ae.tar.gz
external_mesa3d-a0f06f168fd951d5b50b892786f041b58e9554ae.tar.bz2
DRI: Add DRIimage map and unmap functions
Add mapImage and unmapImage functions to DRIimage extension for mapping and unmapping DRIimages for CPU access. The caller provides the region of the image to map and is returned a pointer to the beginning of the region and the stride (which could be different from the original). Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions