[Mesa-dev] [PATCH] egl/dri2: Implement swapInterval fallback in a conformant way (v2)

Chad Versace chadversary at chromium.org
Thu Aug 10 18:35:23 UTC 2017


On Thu 10 Aug 2017, Tomasz Figa wrote:
> dri2_fallback_swap_interval() currently used to stub out swap interval
> support in Android backend does nothing besides returning EGL_FALSE.
> This causes at least one known application (Android Snapchat) to fail
> due to an unexpected error and my loose interpretation of the EGL 1.5
> specification justifies it. Relevant quote below:

...

> Signed-off-by: Tomasz Figa <tfiga at chromium.org>
> ---
>  src/egl/drivers/dri2/egl_dri2.c             | 12 ++++++++++++
>  src/egl/drivers/dri2/egl_dri2_fallbacks.h   |  7 -------
>  src/egl/drivers/dri2/platform_android.c     |  1 -
>  src/egl/drivers/dri2/platform_drm.c         |  1 -
>  src/egl/drivers/dri2/platform_surfaceless.c |  1 -
>  src/egl/drivers/dri2/platform_x11.c         |  2 +-
>  6 files changed, 13 insertions(+), 11 deletions(-)

Reviewed-by: Chad Versace <chadversary at chromium.org>



More information about the mesa-dev mailing list