[Mesa-dev] [RFC PATCH] GBM: Add map/unmap functions

Axel Davy axel.davy at ens.fr
Thu Mar 31 07:50:46 UTC 2016


On 31/03/2016 05:21, Rob Herring wrote :
>      int (*getCapabilities)(__DRIscreen *screen);
> +
> +   /**
> +    * Lock a part of a __DRIimage for specified usage
> +    *
> +    * flush_flag:
> +    *    0:                  no flush
> +    *    __BLIT_FLAG_FLUSH:  flush after the blit operation
> +    *    __BLIT_FLAG_FINISH: flush and wait the blit finished
> +    *
> +    * \since 11
> +    */
> +   void *(*lockImage)(__DRIcontext *context, __DRIimage *image,
> +                     int x0, int y0, int width, int height,
> +                     unsigned int usage);
> +
Hi,

I guess this is a bad copy/paste and you meant to describe the usage flags ?

Axel


More information about the mesa-dev mailing list