Incase of Brew, the EGLNativeWindowType is pMe->pDIB (applet's Device Independent Bitmap pointer). I had passed this pointer in the eglCreateWindowSurface() call. When eglSwapBuffers() is called, I'm able to see all the 3d rendering by the gl library.
But I would like to integrate the native BREW 2d renderign along with EGL 3d rendering(for example to display a red-filled square using native 2d and display a small green colour cube rotating(using egl lib) on top of the red square.
In my device , Pixmap surface is not supported as per the config I got through eglgetConfig() call.
Is it feasible to achieve the above using window surface ? Or should I go for Pixmap or Pbuffer surface ?