Re: [Mesa-dev] [PATCH 7/8] egl/wayland: Implement EGL_EXT_buffer_age

2013-01-03 Thread Kristian Høgsberg
On Thu, Dec 20, 2012 at 02:59:09PM -0200, Ander Conselvan de Oliveira wrote: > The age of the buffers is not reset on dri2_release_buffers() or > anywhere else, so after a resize the buffer age is not zero. I think > we should set age to zero on get_back_bo() when the new buffer is > allocated. Sam

Re: [Mesa-dev] [PATCH 7/8] egl/wayland: Implement EGL_EXT_buffer_age

2012-12-20 Thread Ander Conselvan de Oliveira
The age of the buffers is not reset on dri2_release_buffers() or anywhere else, so after a resize the buffer age is not zero. I think we should set age to zero on get_back_bo() when the new buffer is allocated. Same thing for the gbm backend, although there this would be only for clarity, since

[Mesa-dev] [PATCH 7/8] egl/wayland: Implement EGL_EXT_buffer_age

2012-12-13 Thread Kristian Høgsberg
--- src/egl/drivers/dri2/platform_wayland.c | 21 + 1 file changed, 21 insertions(+) diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index 3c6bdd9..6f8f3b0 100644 --- a/src/egl/drivers/dri2/platform_wayland.c +++ b/src/egl/driv