Re: [Mesa-dev] [PATCH] st/mesa: do not call update_framebuffer_size with NULL pointer

2018-09-22 Thread Guillaume Charifi
Reviewed-by: Guillaume Charifi Le 20/09/2018 à 10:27, Erik Faye-Lund a écrit : In st_renderbuffer_alloc_storage, we avoid allocating storage for zero-sized buffers, leading to this pointer being NULL. We already take care to avoid dereferencing these pointers for color-buffers, but not for

[Mesa-dev] [PATCH] st/mesa: Factorize duplicate code in st_BlitFramebuffer()

2018-02-20 Thread Guillaume Charifi
--- src/mesa/state_tracker/st_cb_blit.c | 76 + 1 file changed, 26 insertions(+), 50 deletions(-) diff --git a/src/mesa/state_tracker/st_cb_blit.c b/src/mesa/state_tracker/st_cb_blit.c index 8aa849b3fc..564ad5 100644 --- a/src/mesa/state_tracker/st_cb_blit

[Mesa-dev] [PATCH] st/mesa: Factorize duplicate code for atomic buffer binding

2018-02-20 Thread Guillaume Charifi
Signed-off-by: Guillaume Charifi --- src/mesa/state_tracker/st_atom_atomicbuf.c | 67 +- 1 file changed, 29 insertions(+), 38 deletions(-) diff --git a/src/mesa/state_tracker/st_atom_atomicbuf.c b/src/mesa/state_tracker/st_atom_atomicbuf.c index eda9e51b58

[Mesa-dev] [PATCH] st/mesa: Factorize duplicate code in st_update_framebuffer_state()

2018-01-05 Thread Guillaume Charifi
Signed-off-by: Guillaume Charifi --- src/mesa/state_tracker/st_atom_framebuffer.c | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/src/mesa/state_tracker/st_atom_framebuffer.c b/src/mesa/state_tracker/st_atom_framebuffer.c index acbe980903..35d0fad37a

[Mesa-dev] [PATCH] egl: Fix the bad surface attributes combination checking for pbuffers. (v2)

2016-06-20 Thread Guillaume Charifi
intended behaviour. v2: Full commit hash, remove useless variables. Signed-off-by: Guillaume Charifi Reviewed-by: Frank Binns --- src/egl/main/eglsurface.c | 36 +++- 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/src/egl/main/eglsurface.c b/src/egl

[Mesa-dev] [PATCH] egl: Fix the bad surface attributes combination checking for pbuffers.

2016-06-17 Thread Guillaume Charifi
: Guillaume Charifi --- src/egl/main/eglsurface.c | 34 +++--- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/src/egl/main/eglsurface.c b/src/egl/main/eglsurface.c index 99e24dd..61e7d47 100644 --- a/src/egl/main/eglsurface.c +++ b/src/egl/main/eglsurface.c

[Mesa-dev] freedreno: Enable a305 (better with the patch)

2015-10-30 Thread Guillaume Charifi
It seems to work without much changes (a simple kernel patch is needed for it to work on the tested device though) freedreno.add_305.patch Description: ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listin

[Mesa-dev] freedreno: Enable a305

2015-10-30 Thread Guillaume Charifi
It seems to work without much changes (a simple kernel patch is needed for it to work on the tested device though) Message d'origine De : Guillaume Charifi Date :31/10/2015 06:37 (GMT+01:00) À : d...@lists.freedesktop.org Cc : freedr...@lists.freedesktop.org