[Mesa-dev] [PATCH mesa] egl: fix helper function name

Tapani Pälli tapani.palli at intel.com
Thu Nov 17 07:38:14 UTC 2016


thanks, pushed!

On 11/17/2016 12:29 AM, Eric Engestrom wrote:
> I introduced this code last month, but didn't follow the naming
> convention. Fix this.
>
> Fixes: 0a606a400fe382a9bc72 ("egl: add eglSwapBuffersWithDamageKHR")
> Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
> Signed-off-by: Eric Engestrom <eric at engestrom.ch>
> ---
>  src/egl/main/eglapi.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c
> index 53340bf..934d585 100644
> --- a/src/egl/main/eglapi.c
> +++ b/src/egl/main/eglapi.c
> @@ -1195,7 +1195,7 @@ eglSwapBuffers(EGLDisplay dpy, EGLSurface surface)
>
>
>  static EGLBoolean
> -eglSwapBuffersWithDamageCommon(_EGLDisplay *disp, _EGLSurface *surf,
> -                               EGLint *rects, EGLint n_rects)
> +_eglSwapBuffersWithDamageCommon(_EGLDisplay *disp, _EGLSurface *surf,
> +                                EGLint *rects, EGLint n_rects)
>  {
>     _EGLContext *ctx = _eglGetCurrentContext();
> @@ -1224,7 +1224,7 @@ eglSwapBuffersWithDamageEXT(EGLDisplay dpy, EGLSurface surface,
>     _EGLDisplay *disp = _eglLockDisplay(dpy);
>     _EGLSurface *surf = _eglLookupSurface(surface, disp);
>     _EGL_FUNC_START(disp, EGL_OBJECT_SURFACE_KHR, surf, EGL_FALSE);
> -   return eglSwapBuffersWithDamageCommon(disp, surf, rects, n_rects);
> +   return _eglSwapBuffersWithDamageCommon(disp, surf, rects, n_rects);
>  }
>
>  static EGLBoolean EGLAPIENTRY
> @@ -1234,7 +1234,7 @@ eglSwapBuffersWithDamageKHR(EGLDisplay dpy, EGLSurface surface,
>     _EGLDisplay *disp = _eglLockDisplay(dpy);
>     _EGLSurface *surf = _eglLookupSurface(surface, disp);
>     _EGL_FUNC_START(disp, EGL_OBJECT_SURFACE_KHR, surf, EGL_FALSE);
> -   return eglSwapBuffersWithDamageCommon(disp, surf, rects, n_rects);
> +   return _eglSwapBuffersWithDamageCommon(disp, surf, rects, n_rects);
>  }
>
>  EGLBoolean EGLAPIENTRY
>


More information about the mesa-dev mailing list