<div dir="ltr">Can someone help me push this please?<br><div class="gmail_extra"><br><div class="gmail_quote">2015-06-13 17:25 GMT+08:00 Marek Olšák <span dir="ltr"><<a href="mailto:maraeo@gmail.com" target="_blank">maraeo@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Reviewed-by: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>><br>
<br>
Marek<br>
<div><div class="h5"><br>
On Sat, Jun 13, 2015 at 9:36 AM, Boyan Ding <<a href="mailto:boyan.j.ding@gmail.com">boyan.j.ding@gmail.com</a>> wrote:<br>
> Signed-off-by: Boyan Ding <<a href="mailto:boyan.j.ding@gmail.com">boyan.j.ding@gmail.com</a>><br>
> ---<br>
> src/egl/drivers/dri2/egl_dri2.c | 10 +++++-----<br>
> src/egl/drivers/dri2/egl_dri2.h | 6 +++---<br>
> src/egl/drivers/dri2/platform_wayland.c | 8 ++++----<br>
> src/egl/drivers/dri2/platform_x11.c | 2 +-<br>
> 4 files changed, 13 insertions(+), 13 deletions(-)<br>
><br>
> diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c<br>
> index 44a6c96..e590db6 100644<br>
> --- a/src/egl/drivers/dri2/egl_dri2.c<br>
> +++ b/src/egl/drivers/dri2/egl_dri2.c<br>
> @@ -139,7 +139,7 @@ dri2_add_config(_EGLDisplay *disp, const __DRIconfig *dri_config, int id,<br>
><br>
> dri2_dpy = disp->DriverData;<br>
> _eglInitConfig(&base, disp, id);<br>
> -<br>
> +<br>
> i = 0;<br>
> double_buffer = 0;<br>
> bind_to_texture_rgb = 0;<br>
> @@ -155,7 +155,7 @@ dri2_add_config(_EGLDisplay *disp, const __DRIconfig *dri_config, int id,<br>
> else<br>
> return NULL;<br>
> _eglSetConfigKey(&base, EGL_COLOR_BUFFER_TYPE, value);<br>
> - break;<br>
> + break;<br>
><br>
> case __DRI_ATTRIB_CONFIG_CAVEAT:<br>
> if (value & __DRI_ATTRIB_NON_CONFORMANT_CONFIG)<br>
> @@ -365,7 +365,7 @@ dri2_bind_extensions(struct dri2_egl_display *dri2_dpy,<br>
> }<br>
> }<br>
> }<br>
> -<br>
> +<br>
> for (j = 0; matches[j].name; j++) {<br>
> field = ((char *) dri2_dpy + matches[j].offset);<br>
> if (*(const __DRIextension **) field == NULL) {<br>
> @@ -624,7 +624,7 @@ dri2_create_screen(_EGLDisplay *disp)<br>
> dri2_dpy->own_dri_screen = 1;<br>
><br>
> extensions = dri2_dpy->core->getExtensions(dri2_dpy->dri_screen);<br>
> -<br>
> +<br>
> if (dri2_dpy->dri2) {<br>
> if (!dri2_bind_extensions(dri2_dpy, dri2_core_extensions, extensions))<br>
> goto cleanup_dri_screen;<br>
> @@ -1963,7 +1963,7 @@ dri2_create_drm_image_mesa(_EGLDriver *drv, _EGLDisplay *disp,<br>
> if (attrs.DRMBufferUseMESA & EGL_DRM_BUFFER_USE_CURSOR_MESA)<br>
> dri_use |= __DRI_IMAGE_USE_CURSOR;<br>
><br>
> - dri2_img->dri_image =<br>
> + dri2_img->dri_image =<br>
> dri2_dpy->image->createImage(dri2_dpy->dri_screen,<br>
> attrs.Width, attrs.Height,<br>
> format, dri_use, dri2_img);<br>
> diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h<br>
> index adade3d..22d1ac5 100644<br>
> --- a/src/egl/drivers/dri2/egl_dri2.h<br>
> +++ b/src/egl/drivers/dri2/egl_dri2.h<br>
> @@ -120,9 +120,9 @@ struct dri2_egl_display_vtbl {<br>
> EGLBoolean (*swap_buffers)(_EGLDriver *drv, _EGLDisplay *dpy,<br>
> _EGLSurface *surf);<br>
><br>
> - EGLBoolean (*swap_buffers_with_damage)(_EGLDriver *drv, _EGLDisplay *dpy,<br>
> - _EGLSurface *surface,<br>
> - const EGLint *rects, EGLint n_rects);<br>
> + EGLBoolean (*swap_buffers_with_damage)(_EGLDriver *drv, _EGLDisplay *dpy,<br>
> + _EGLSurface *surface,<br>
> + const EGLint *rects, EGLint n_rects);<br>
><br>
> EGLBoolean (*swap_buffers_region)(_EGLDriver *drv, _EGLDisplay *dpy,<br>
> _EGLSurface *surf, EGLint numRects,<br>
> diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c<br>
> index ea2f9f2..61aaaf2 100644<br>
> --- a/src/egl/drivers/dri2/platform_wayland.c<br>
> +++ b/src/egl/drivers/dri2/platform_wayland.c<br>
> @@ -138,7 +138,7 @@ dri2_wl_create_surface(_EGLDriver *drv, _EGLDisplay *disp,<br>
> _eglError(EGL_BAD_ALLOC, "dri2_create_surface");<br>
> return NULL;<br>
> }<br>
> -<br>
> +<br>
> if (!_eglInitSurface(&dri2_surf->base, disp, EGL_WINDOW_BIT, conf, attrib_list))<br>
> goto cleanup_surf;<br>
><br>
> @@ -157,7 +157,7 @@ dri2_wl_create_surface(_EGLDriver *drv, _EGLDisplay *disp,<br>
> dri2_surf->base.Width = -1;<br>
> dri2_surf->base.Height = -1;<br>
><br>
> - dri2_surf->dri_drawable =<br>
> + dri2_surf->dri_drawable =<br>
> (*dri2_dpy->dri2->createNewDrawable) (dri2_dpy->dri_screen,<br>
> dri2_conf->dri_double_config,<br>
> dri2_surf);<br>
> @@ -361,7 +361,7 @@ get_back_bo(struct dri2_egl_surface *dri2_surf)<br>
> }<br>
><br>
> if (dri2_surf->back->dri_image == NULL) {<br>
> - dri2_surf->back->dri_image =<br>
> + dri2_surf->back->dri_image =<br>
> dri2_dpy->image->createImage(dri2_dpy->dri_screen,<br>
> dri2_surf->base.Width,<br>
> dri2_surf->base.Height,<br>
> @@ -1229,7 +1229,7 @@ dri2_initialize_wayland_drm(_EGLDriver *drv, _EGLDisplay *disp)<br>
> wl_event_queue_destroy(dri2_dpy->wl_queue);<br>
> cleanup_dpy:<br>
> free(dri2_dpy);<br>
> -<br>
> +<br>
> return EGL_FALSE;<br>
> }<br>
><br>
> diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers/dri2/platform_x11.c<br>
> index c8f6113..f1101d6 100644<br>
> --- a/src/egl/drivers/dri2/platform_x11.c<br>
> +++ b/src/egl/drivers/dri2/platform_x11.c<br>
> @@ -55,7 +55,7 @@ swrastCreateDrawable(struct dri2_egl_display * dri2_dpy,<br>
> uint32_t mask;<br>
> const uint32_t function = GXcopy;<br>
> uint32_t valgc[2];<br>
> -<br>
> +<br>
> /* create GC's */<br>
> dri2_surf->gc = xcb_generate_id(dri2_dpy->conn);<br>
> mask = XCB_GC_FUNCTION;<br>
> --<br>
> 2.4.1<br>
><br>
</div></div>> _______________________________________________<br>
> mesa-dev mailing list<br>
> <a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div><br></div></div>