[Mesa-dev] [PATCH] dri_interface: document loaderPrivate for getCapability

Emil Velikov emil.l.velikov at gmail.com
Mon Jul 31 16:26:43 UTC 2017


On 31 July 2017 at 17:21, Marek Olšák <maraeo at gmail.com> wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> ---
>  include/GL/internal/dri_interface.h | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
> index c314a43..457fc63 100644
> --- a/include/GL/internal/dri_interface.h
> +++ b/include/GL/internal/dri_interface.h
> @@ -1023,20 +1023,24 @@ struct __DRIdri2LoaderExtensionRec {
>       */
>      __DRIbuffer *(*getBuffersWithFormat)(__DRIdrawable *driDrawable,
>                                          int *width, int *height,
>                                          unsigned int *attachments, int count,
>                                          int *out_count, void *loaderPrivate);
>
>      /**
>       * Return a loader capability value. If the loader doesn't know the enum,
>       * it will return 0.
>       *
> +     * \param loaderPrivate The last parameter of createNewScreen or
> +     *                      createNewScreen2.
> +     * \param cap           See the enum.
> +     *
Thank you

Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

-Emil


More information about the mesa-dev mailing list