[Mesa-dev] [PATCH 4/7] egl/x11: Implement dri3 support with loader's dri3 helper

Matt Turner mattst88 at gmail.com
Fri Oct 30 09:17:27 PDT 2015


On Fri, Oct 30, 2015 at 9:03 AM, Martin Peres
<martin.peres at linux.intel.com> wrote:
> diff --git a/src/egl/Makefile.am b/src/egl/Makefile.am
> index 5c2ba30..cdf2216 100644
> --- a/src/egl/Makefile.am
> +++ b/src/egl/Makefile.am
> @@ -47,12 +47,18 @@ libEGL_la_LDFLAGS = \
>         $(LD_NO_UNDEFINED)
>
>  dri2_backend_FILES =
> +dri3_backend_FILES =
>
>  if HAVE_EGL_PLATFORM_X11
>  AM_CFLAGS += -DHAVE_X11_PLATFORM
>  AM_CFLAGS += $(XCB_DRI2_CFLAGS)
>  libEGL_la_LIBADD += $(XCB_DRI2_LIBS)
>  dri2_backend_FILES += drivers/dri2/platform_x11.c
> +
> +if HAVE_DRI3
> +dri3_backend_FILES += \
> +               drivers/dri2/platform_x11_dri3.c

Only one tab needed to indent.

> +endif
>  endif
>
>  if HAVE_EGL_PLATFORM_WAYLAND


More information about the mesa-dev mailing list