PDA

View Full Version : Want to implement EGL APIs



vinit
07-15-2009, 09:15 PM
Hi All,
I am looking forward to implement all approx 34 Apis of EGL.
I am facing some problem.
Can anybody help me in that.

First problem is what to return from eglcreatewindowsurface api?
I have created one native window, how native window and egl surfaces are associated to each other.

Looking forward some help guys.

Thanks
Vinit

niallm
07-23-2009, 02:18 PM
I would assume that that value is dependent on the EGL implementation. If you're implementing your own version of EGL, then you can define how that value is used internally however you like. For instance, you could have eglCreateWindowSurface() return a pointer to some surface object that you've created, but is just cast into an EGLSurface handle.

vinit
07-23-2009, 07:50 PM
I got this idea after posting it on forum.
I m doing that only :)
anyways thnx for replying :)