Re: [Mesa-dev] EGL_BAD_CONTEXT error when creating shared context

2019-07-11 Thread gaoguodong
Hi, Is there a solution to this problem? Because the following problems have arisen now: [ERROR:gl_context_egl.cc(198)] eglCreateContext failed with error EGL_BAD_MATCH [ERROR:gles2_command_buffer_stub.cc(263)] ContextResult::kFatalFailure: Failed to create shared context for

Re: [Mesa-dev] EGL_BAD_CONTEXT error when creating shared context

2013-06-05 Thread Chad Versace
On 05/29/2013 07:17 AM, Brian Paul wrote: On 05/29/2013 12:56 AM, Divick Kishore wrote: Hi Brian, thanks for your reply. On Tue, May 28, 2013 at 9:33 PM, Brian Paul bri...@vmware.com wrote: I took at look at eglCreateContext(). It's basically: EGLContext

Re: [Mesa-dev] EGL_BAD_CONTEXT error when creating shared context

2013-06-05 Thread Divick Kishore
On Wed, Jun 5, 2013 at 10:33 PM, Chad Versace chad.vers...@linux.intel.com wrote: Divick, you created two EGLDisplays. Did you obtain each EGLDisplay by passing the same native display to eglGetDisplay? If so, then EGL should have returned the same EGLDisplay pointer. The EGL spec requires

Re: [Mesa-dev] EGL_BAD_CONTEXT error when creating shared context

2013-05-29 Thread Divick Kishore
Hi Brian, thanks for your reply. On Tue, May 28, 2013 at 9:33 PM, Brian Paul bri...@vmware.com wrote: I took at look at eglCreateContext(). It's basically: EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_list, const EGLint

Re: [Mesa-dev] EGL_BAD_CONTEXT error when creating shared context

2013-05-29 Thread Brian Paul
On 05/29/2013 12:56 AM, Divick Kishore wrote: Hi Brian, thanks for your reply. On Tue, May 28, 2013 at 9:33 PM, Brian Paul bri...@vmware.com wrote: I took at look at eglCreateContext(). It's basically: EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext

Re: [Mesa-dev] EGL_BAD_CONTEXT error when creating shared context

2013-05-28 Thread Divick Kishore
Hi Brian, sorry to send you direct email but I have been trying to find answers to couple of issues that I am facing but so far I have not received any response. Please find below the question that I posted to mesa-dev mailing list. I can send the sample if need be which tries to

Re: [Mesa-dev] EGL_BAD_CONTEXT error when creating shared context

2013-05-28 Thread Brian Paul
On 05/27/2013 02:05 AM, Divick Kishore wrote: Hi, Does anyone know if mesa supports creation of shared context using egl? When I create a shared context with a call to eglCreateContext where the third argument is a valid context, I get EGL_BAD_CONTEXT error. I took at look at

[Mesa-dev] EGL_BAD_CONTEXT error when creating shared context

2013-05-27 Thread Divick Kishore
Hi, Does anyone know if mesa supports creation of shared context using egl? When I create a shared context with a call to eglCreateContext where the third argument is a valid context, I get EGL_BAD_CONTEXT error. Thanks Regards, Divick ___