[meta-freescale] imx-gpu-viv GLESv2 version

Prabhu S prabhusundar at gmail.com
Wed Jun 3 11:03:44 PDT 2015


try after eglMakeCurrent, it should provide correct value.

On Wed, Jun 3, 2015 at 12:21 PM, Andreas Müller <
schnitzeltony at googlemail.com> wrote:

> On Thu, May 7, 2015 at 8:24 AM, Andreas Müller
> <schnitzeltony at googlemail.com> wrote:
> > On Wed, May 6, 2015 at 6:38 PM, Prabhu S <prabhusundar at gmail.com> wrote:
> >> There is no option to report to as ES 2.0. ES 2.0 is subset of ES3.0.
> Can
> >> you able to patch kwin?
> >>
> > I will try that - see how far I get.
> >
> OK I would like to come back to this: Shouldn't eglCreateContext with
> EGL_CONTEXT_CLIENT_VERSION = 2 create an Open GL ES 2.0 compatible
> context?
>
> On my machine this seems broken somehow. Steps to verify this:
>
> Build mesa-demos and start es2tri. It stops with
>
> | x_window: Assertion `val == 2` failed.
>
> The code is creating a context for 2.0 and checks if the desired
> version was accepted:
>
>    static const EGLint ctx_attribs[] = {
>       EGL_CONTEXT_CLIENT_VERSION, 2,
>       EGL_NONE
>    };
> <...>
>    ctx = eglCreateContext(egl_dpy, config, EGL_NO_CONTEXT, ctx_attribs );
> <...>
>
>       EGLint val;
>       eglQueryContext(egl_dpy, ctx, EGL_CONTEXT_CLIENT_VERSION, &val);
>       assert(val == 2);
>
> For me this seems to turn into a serious issue - suggestions?
>
> Andreas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20150603/b7474239/attachment.html>


More information about the meta-freescale mailing list