Uh oh!
There was an error while loading. Please reload this page.
Windowless - #40
Conversation
Adding RenderingBackend.h for windowless support
philn
commented
Apr 13, 2016
What is the use-case for this? |
psivasubramanian
commented
Apr 13, 2016
Windowless backend support with Keyboard and Mouse events |
zdobersek
commented
Apr 13, 2016
"Windowless" in what way? Why enabling PLATFORM(WAYLAND) then? What's the point of this backend? |
psivasubramanian
commented
Apr 15, 2016
It's Wayland backend only and the name windowless is since webprocess itself is used for rendering. |
kraj
commented
Apr 16, 2016
is windowless'ness related to compositor here since you are using wayland backend so it can be another backend I hope. |
psivasubramanian
commented
May 3, 2016
Thanks @zdobersek for taking pain to answer. Here are some of the questions
|
zdobersek
commented
May 6, 2016
Input events are are problematic in this setup, because they must be piped to the client that ViewBackend provides in setInputClient() -- that's set in stone, and can't be changed or worked around. But the Wayland client is now running in the WebProcess so you have to somehow pipe the events back to the client that's in the UIProcess. |
psivasubramanian
commented
May 10, 2016
@zdobersek@kraj
|
zdobersek
commented
May 12, 2016
1, 2, and 5 are fine. I recommend doing these first. In the next two weeks I expect to switch over various ViewBackend and RenderingBackend implementations to the new WPE library: This infrastructure would allow constructing additional IPC channels between the ViewBackend (in the future wpe_view_backend) and the RenderingBackend (in the future wpe_renderer_backend_egl), not being limited only to WK2 IPC. It's through these additional IPCs that buffer management will be done, and it would also be possible to communicate events from the WebProcess to the UIProcess through there. So I'd recommend holding off 3 and 4 until that work is completed (I hope to be done in 2 weeks), after which point the event routing will be possible outside of WebKit. |
psivasubramanian
commented
May 13, 2016
Thanks @zdobersek |
psivasubramanian
commented
May 20, 2016
@zdobersek@kraj & others |
psivasubramanian
commented
May 26, 2016
Closing this as new review #57 is merged to mainstream. Thanks @zdobersek@kraj and others. |
No description provided.