Re: How to develop an application based on opengles

2014-06-23 Thread Boyan Ding
Hi, I think you can refer to this example code [1] in weston for ideas about how to initialize EGL in wayland, which I think is quite easy to understand. Regards, Boyan Ding [1] http://cgit.freedesktop.org/wayland/weston/tree/clients/simple-egl.c#n318 On Mon, 2014-06-23 at 11:13 +0800, Jacky

How to develop an application based on opengles

2014-06-22 Thread Jacky (ZhiJun) Ni
Hi all, I'm now porting my opengles application to wayland platform, what do I need to prepare while I'm calling "eglGetDisplay" and "eglCreateWindowSurface"? I've tryied the following codes in my program, Step1: wl_display_connect(NULL) à return a global g_nativeDisplay objec