[Mesa-dev] [PATCH] egl_dri2: fix aux buffer leak in drm platform

2012-04-10 Thread mandeep . baines
From: Mandeep Singh Baines Keep a reference to any newly allocated aux buffers to avoid re-allocating for every st_framebuffer_validate() (i.e. leaking). Signed-off-by: Mandeep Singh Baines Cc: Ander Conselvan de Oliveira Cc: Benjamin Franzke Cc: Kristian Hogsberg Cc: David Reveman Cc: Step

Re: [Mesa-dev] [PATCH] egl_dri2: fix aux buffer leak in drm platform

2012-04-10 Thread Mandeep Baines
Attached is the test case I've been using. On Tue, Apr 10, 2012 at 3:26 PM, wrote: > From: Mandeep Singh Baines > > Keep a reference to any newly allocated aux buffers to avoid > re-allocating for every st_framebuffer_validate() (i.e. leaking). > > Signed-off-by: Mandeep Singh Baines > Cc: And

Re: [Mesa-dev] [PATCH] egl_dri2: drm: make sure back buffer is validated before making current

2012-04-13 Thread Mandeep Baines
On Fri, Apr 13, 2012 at 7:36 AM, Mandeep Singh Baines wrote: > Guarantee that the back buffer is validated by calling flush before > assigning the back buffer to current. > Attached is an app which reproduces the bug. > Signed-off-by: Mandeep Singh Baines > Cc: Ander Conselvan de Oliveira > Cc

Re: [Mesa-dev] [PATCH] gbm: Add gbm_bo_write entry point

2012-05-03 Thread Mandeep Baines
2012/5/2 Kristian Høgsberg : > This new gbm entry point allows writing data into a gbm bo.  The bo has > to be created with the GBM_BO_USE_WRITE flag, and it's only required to > work for GBM_BO_USE_CURSOR_64X64 bos. > > The gbm API is designed to be the glue layer between EGL and KMS, but there >