Re: [Mesa-dev] [PATCH] egl/dri: Don't invoke dri2_dpy->flush if it's NULL.

2013-02-07 Thread Kristian Høgsberg
On Thu, Feb 7, 2013 at 3:37 AM, Jose Fonseca wrote: > > > - Original Message - >> On Wed, Feb 6, 2013 at 4:30 PM, Kristian Høgsberg >> wrote: >> > On Tue, Feb 5, 2013 at 8:43 AM, wrote: >> >> From: José Fonseca >> >> >> >> I'd like to test Mesa OpenGL ES along side with NVIDIA libGL >>

Re: [Mesa-dev] [PATCH] egl/dri: Don't invoke dri2_dpy->flush if it's NULL.

2013-02-07 Thread Jose Fonseca
- Original Message - > On Wed, Feb 6, 2013 at 4:30 PM, Kristian Høgsberg > wrote: > > On Tue, Feb 5, 2013 at 8:43 AM, wrote: > >> From: José Fonseca > >> > >> I'd like to test Mesa OpenGL ES along side with NVIDIA libGL > >> drivers. But > >> without this change, I get a NULL pointer

Re: [Mesa-dev] [PATCH] egl/dri: Don't invoke dri2_dpy->flush if it's NULL.

2013-02-06 Thread Kristian Høgsberg
On Wed, Feb 6, 2013 at 4:30 PM, Kristian Høgsberg wrote: > On Tue, Feb 5, 2013 at 8:43 AM, wrote: >> From: José Fonseca >> >> I'd like to test Mesa OpenGL ES along side with NVIDIA libGL drivers. But >> without this change, I get a NULL pointer dereference. > > Which DRI driver doesn't support

Re: [Mesa-dev] [PATCH] egl/dri: Don't invoke dri2_dpy->flush if it's NULL.

2013-02-06 Thread Kristian Høgsberg
On Tue, Feb 5, 2013 at 8:43 AM, wrote: > From: José Fonseca > > I'd like to test Mesa OpenGL ES along side with NVIDIA libGL drivers. But > without this change, I get a NULL pointer dereference. Which DRI driver doesn't support the flush extension? EGL is expected to flush before swap buffer (

Re: [Mesa-dev] [PATCH] egl/dri: Don't invoke dri2_dpy->flush if it's NULL.

2013-02-05 Thread Jose Fonseca
- Original Message - > On 02/05/2013 06:43 AM, jfons...@vmware.com wrote: > > From: José Fonseca > > > > I'd like to test Mesa OpenGL ES along side with NVIDIA libGL > > drivers. But > > without this change, I get a NULL pointer dereference. > > --- > > src/egl/drivers/dri2/egl_dri2.c |

Re: [Mesa-dev] [PATCH] egl/dri: Don't invoke dri2_dpy->flush if it's NULL.

2013-02-05 Thread Brian Paul
On 02/05/2013 06:43 AM, jfons...@vmware.com wrote: From: José Fonseca I'd like to test Mesa OpenGL ES along side with NVIDIA libGL drivers. But without this change, I get a NULL pointer dereference. --- src/egl/drivers/dri2/egl_dri2.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[Mesa-dev] [PATCH] egl/dri: Don't invoke dri2_dpy->flush if it's NULL.

2013-02-05 Thread jfonseca
From: José Fonseca I'd like to test Mesa OpenGL ES along side with NVIDIA libGL drivers. But without this change, I get a NULL pointer dereference. --- src/egl/drivers/dri2/egl_dri2.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/e