[Mesa-dev] [PATCH v2 6/9] st/dri: Add support for DRIimage extension mapImage/unmapImage

Eric Anholt eric at anholt.net
Fri May 6 17:43:43 UTC 2016


Rob Herring <robh at kernel.org> writes:

> Implement support for mapImage/unmapImage functions in version 12 of the
> DRIimage extension.
>
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
> v2:
> - Make READ flag optional
>
>  src/gallium/state_trackers/dri/dri2.c | 43 ++++++++++++++++++++++++++++++++++-
>  1 file changed, 42 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c
> index ab4208e..2b021313 100644
> --- a/src/gallium/state_trackers/dri/dri2.c
> +++ b/src/gallium/state_trackers/dri/dri2.c

> @@ -1266,6 +1305,8 @@ static __DRIimageExtension dri2ImageExtension = {
>      .createImageFromDmaBufs       = NULL,
>      .blitImage                    = dri2_blit_image,
>      .getCapabilities              = dri2_get_capabilities,
> +    .mapImage                    = dri2_map_image,
> +    .unmapImage                  = dri2_unmap_image,

Whitespace misalignment, it looks like.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160506/a3f148d9/attachment.sig>


More information about the mesa-dev mailing list