The Khronos Group - a non-profit industry consortium to develop, publish and promote open standard, royalty-free media authoring and acceleration standards for desktop and handheld devices, combined with conformance qualification programs for platform and device interoperability.

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: Open GL and Open VG rendering on the same EGL surface

No one here to answer this? i also came across the same problem recently, so it would be very nice if some one can at least give some hints.

For question #1, no. EGL 1.1 has no way to create an OpenVG context or bind it to a surface.

I don't know about question #2 - someone may have but I'm not aware of it if so. Khronos is talking about doing a sample implementation of EGL and several client APIs working together, as a testbed and example, but we haven't committed to that project yet.

Re: Open GL and Open VG rendering on the same EGL surface

Still no. To render to a surface you have to make a context current to that surface. To make both a VG and an ES context current to a surface, you'll have to call eglBindAPI between the two eglMakeCurrent calls.

Had we expected EGL to have to support multiple client APIs when we originally specified it, it's unlikely we would have done it this way - instead, commands would have added an API selector argument. But when OpenVG support came up, not breaking the existing API meant using the eglBindAPI approach.