[Mesa-dev] [PATCH 6/6] egl: more define fixes for EGL_MESA_image_dma_buf_export
Marek Olšák
maraeo at gmail.com
Mon May 11 16:03:51 PDT 2015
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Marek
On Tue, May 12, 2015 at 12:43 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> From: Marc-André Lureau <marcandre.lureau at gmail.com>
>
> s/EGL_MESA_dma_buf_image_export/EGL_MESA_image_dma_buf_export as defined by the spec
> ---
> src/egl/main/eglapi.c | 2 +-
> src/egl/main/eglfallbacks.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c
> index 9e6cb2f..e4d098c 100644
> --- a/src/egl/main/eglapi.c
> +++ b/src/egl/main/eglapi.c
> @@ -1747,7 +1747,7 @@ eglGetProcAddress(const char *procname)
> { "eglCreatePlatformWindowSurfaceEXT", (_EGLProc) eglCreatePlatformWindowSurfaceEXT },
> { "eglCreatePlatformPixmapSurfaceEXT", (_EGLProc) eglCreatePlatformPixmapSurfaceEXT },
> { "eglGetSyncValuesCHROMIUM", (_EGLProc) eglGetSyncValuesCHROMIUM },
> -#ifdef EGL_MESA_dma_buf_image_export
> +#ifdef EGL_MESA_image_dma_buf_export
> { "eglExportDMABUFImageQueryMESA", (_EGLProc) eglExportDMABUFImageQueryMESA },
> { "eglExportDMABUFImageMESA", (_EGLProc) eglExportDMABUFImageMESA },
> #endif
> diff --git a/src/egl/main/eglfallbacks.c b/src/egl/main/eglfallbacks.c
> index d12b849..c44ec6c 100644
> --- a/src/egl/main/eglfallbacks.c
> +++ b/src/egl/main/eglfallbacks.c
> @@ -102,7 +102,7 @@ _eglInitDriverFallbacks(_EGLDriver *drv)
> drv->API.SwapBuffersRegionNOK = NULL;
> #endif
>
> -#ifdef EGL_MESA_dma_buf_image_export
> +#ifdef EGL_MESA_image_dma_buf_export
> drv->API.ExportDMABUFImageQueryMESA = NULL;
> drv->API.ExportDMABUFImageMESA = NULL;
> #endif
> --
> 2.3.5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list