Thank you very much, I'll try it.

-----Original Message-----
From: Tomasz Olszak [mailto:[email protected]] 
Sent: Wednesday, June 18, 2014 7:27 PM
To: Jacky (ZhiJun) Ni
Cc: [email protected]
Subject: Re: Is there any way could transform the QT window to the struct 
“wl_egl_window”?

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

CONFIDENTIALITY NOTICE: The information contained in this message may be 
privileged and/or confidential. If you are not the intended recipient, or 
responsible for delivering this message to the intended recipient, any review, 
forwarding, dissemination, distribution or copying of this communication or any 
attachment(s) is strictly prohibited. If you have received this message in 
error, please notify the sender immediately, and delete it and all attachments 
from your computer and network.
_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi

Reply via email to