diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-12-23 13:23:27 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-12-23 13:23:27 +0000 |
commit | 2f35ab22e92c7e0d9211cd62d9e57904c69940a0 (patch) | |
tree | 12557676961b424bdb47ec97baf072a809dd5828 /lib/mesa/src/egl/drivers | |
parent | 6aafc20001973c4e22a7d3e8ab33bb5bd3d69982 (diff) |
Import Mesa 11.0.8
This seems to fix some of the problems with clutter/gnome reported to
occur on r600 with 11.0.6
Diffstat (limited to 'lib/mesa/src/egl/drivers')
-rw-r--r-- | lib/mesa/src/egl/drivers/dri2/platform_wayland.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/lib/mesa/src/egl/drivers/dri2/platform_wayland.c b/lib/mesa/src/egl/drivers/dri2/platform_wayland.c index dbc64ba2d..27fa93522 100644 --- a/lib/mesa/src/egl/drivers/dri2/platform_wayland.c +++ b/lib/mesa/src/egl/drivers/dri2/platform_wayland.c @@ -703,18 +703,10 @@ dri2_wl_swap_buffers_with_damage(_EGLDriver *drv, dri2_surf->dx = 0; dri2_surf->dy = 0; - if (n_rects == 0) { - wl_surface_damage(dri2_surf->wl_win->surface, - 0, 0, INT32_MAX, INT32_MAX); - } else { - for (i = 0; i < n_rects; i++) { - const int *rect = &rects[i * 4]; - wl_surface_damage(dri2_surf->wl_win->surface, - rect[0], - dri2_surf->base.Height - rect[1] - rect[3], - rect[2], rect[3]); - } - } + /* We deliberately ignore the damage region and post maximum damage, due to + * https://bugs.freedesktop.org/78190 */ + wl_surface_damage(dri2_surf->wl_win->surface, + 0, 0, INT32_MAX, INT32_MAX); if (dri2_dpy->is_different_gpu) { _EGLContext *ctx = _eglGetCurrentContext(); |