QWS in Qt for Embedded Linux screen driver
-
Hi! I'm trying to create my own screen driver for Qt for Embedded Linux. There is something I don't understand about how it works: in case I create, when requested for a QGLWidget a EGL window with the same geometry (my EGL library allows to do this on the framebuffer), should I expect to see something outside that window? Should I expect to see the rest of my window as drawn by the QWS?
I read about the bit blit which seems to be available in Qt. Shouldn't this place Qt windows outside my EGL surface?
Thanks for any information you may provide!
-
Hi Luc,
I have worked for same kind of thing. I have created screen driver for FPGA based screen linux driver. I will be happy if it helps you to fulfill your task.
You can take care following things;- Take care about control APIs provided in linux driver to handle in Qt screen driver
- Take care about exposeRegion function in Qt lower layer driver
- Take care about depth, Physical, cache and screen size
- You can refer qscreen_qws.cpp
Tell me if this is not cleared to your or you have any confusion
-
Hi! Thanks for the answer. Currently I'm able to mix QWS and OpenGL on the framebuffer. What I still cannot do is place Qt widgets over an EGL surface. I suppose I'll have to extend my EGL implementation to do that. A good reference seems to be the PowerVR implementation. I haven't tried this already, but it seems not trivial. How did you accomplish this?
Thanks for your help! -
Hello Brijesh,
[quote author="brijeshvpatel" date="1305106737"]Hi Luc,
I have worked for same kind of thing. I have created screen driver for FPGA based screen linux driver. I will be happy if it helps you to fulfill your task.
[/quote]Is this available as a source code example?
Regards,
Leon.