From: Chia-I Wu <ol...@gm...> - 2009-08-12 14:25:04
|
On Wed, Aug 12, 2009 at 05:43:02PM +0530, vinit bansal wrote: > I have little doubt. > How EGL and OpenGL are binded together? > I mean is, before making any gl calls , i have created eglsurface,eglcontext > etc... > After that i'll call lots of openGL functions. > Why openGL is rendering into that egl surface? > where is the binding of openGL and EGL happening? libEGL.so may call functions in libGL.so, which are not part of OpenGL API. For example, when you call eglCreateWindowSurface to create an EGLSurface, libEGL.so might in turn call st_create_framebuffer in libGL.so to create the real surface. Because of this, you can not take libEGL.so from vendor A and take libGL.so from vendor B, and expect them to work together. -- Regards, olv |