2014-06-18 12:39 GMT+02:00 Tomasz Olszak <[email protected]>: > 2014-06-18 12:14 GMT+02:00 Jacky (ZhiJun) Ni <[email protected]>: >> Thanks again, I’ve solved the issue that GLES will load X11 backend on >> tizen-ivi, by recompiling the mesa only with wayland, or “export >> EGL_PLATFORM=wayland” without recompiling. >> >> But the new problem comes, my application crash again, in the application, >> all the egl initialize steps finished, like “eglGetDisplay ok, eglInitialize >> ok, eglChooseConfig ok, eglCreateContext ok,” but aftet call the >> “eglCreateWindowSurface”, my application crashed, analyze the mesa’s egl >> codes, I find out that “dri2_wl_create_window_surface” will be called via >> eglCreateWindowSurface. The below is two key functions, parameter “window” >> and “native_window” is the same one. Qt Wayland maintainer(Giulio Camuffo) pointed out that I unfortunately misled you. QWaylandWindow inherits QtWayland::wl_surface which is something different. However you can get surface pointer using QPlatformNativeInterface::nativeResourceForWindow("surface", QWindow *)
-- regards, Tomasz Olszak Qt for Tizen | http://qt-project.org/wiki/Tizen _______________________________________________ IVI mailing list [email protected] https://lists.tizen.org/listinfo/ivi
