[webkit-dev] Implement threaded model of Coordinated Graphics
Jae Hyun Park
jae.park at company100.net
Wed Dec 5 01:49:42 PST 2012
Hi, webkit folks.
As we've already notified, we are currently working on implementing
Threaded Coordinated Graphics in WebKit2 Gtk+.
https://bugs.webkit.org/show_bug.cgi?id=100341
But, to reuse existing Coordinated Graphics code, we have decided to
implement Threaded Coordinated Graphics in WebKit1 Qt first.
https://bugs.webkit.org/show_bug.cgi?id=102994
Then, we will apply Threaded Coordinated Graphics to WebKit1 Gtk+ and
WebKit2 Gtk+.
Our design document for implementing Threaded Coordinated Graphics in
WebKit1 Qt is in the link below.
https://docs.google.com/document/pub?id=1u1Oif9lDmVt_MkJLxaEYbTlOuZWVJcKrM1vAxAvFrZk
Any comments/concerns are appreciated.
Best regards,
Jae Hyun Park
On Sat, Nov 17, 2012 at 3:29 AM, <noam.rosenthal at nokia.com> wrote:
> Slava, I think the new proposal is about threading in the web process,
> not in the UI process like we do in Qt.
> I've posted some comments on the meta bug, thank you for the heads up on
> the mailing list!
> No'am
>
> From: ext Vyacheslav Ostapenko <ostap73 at gmail.com>
> Date: Friday, November 16, 2012 10:12 AM
> To: Jae Hyun Park <jae.park at company100.net>
> Cc: "webkit-dev at lists.webkit.org" <webkit-dev at lists.webkit.org>
> Subject: Re: [webkit-dev] Implement threaded model of Coordinated Graphics
>
>
> Qt WK2 port already runs layer tree painting on separate thread.
> Layer tree renderer is created on main thread, but rendering is performed
> only on paint thread.
> Qt5 creates paint nodes for painting and QQuickWebPage paint node keeps
> threaded reference on LayerTreeRenderer. Messages to LayerTreeRenderer are
> delivered through dispatchUpdate/bind/renderQueue .
> All updates from renderQueue to renderer are applied in
> QQuickWebPage::updatePaintNode call. QQuickItem::updatePaintNode is very
> special call. During this call main thread is locked and it is safe to
> access main thread objects from paint thread.
> http://doc-snapshot.qt-project.org/5.0/qquickitem.html#updatePaintNode
>
> So, the only thing that needs to be implemented for GTK is replacement for
> Qt paint node and sync point similar to QQuickItem::updatePaintNode .
>
> Slava
>
> On Fri, Nov 16, 2012 at 12:44 AM, Jae Hyun Park <jae.park at company100.net>wrote:
>
>> Hi, webkit folks.
>>
>> Our team is currently implementing threaded model of Coordinated
>> Graphics in GTK+ port.
>> https://bugs.webkit.org/show_bug.cgi?id=100341
>> The purpose of sharing is to report our progress and make reviewers
>> easier to understand the overview picture.
>>
>> We have updated the design document in the link below:
>>
>> https://docs.google.com/document/pub?id=1UoI1zk-6nTUFtz8i4evURM8aQIjkDRC8boO1zPdMMBg
>>
>> Our prototype for this implementation is shared in the GitHub.
>> https://github.com/ryumiel/webkit-experimental
>>
>> The prototype is still in development, and only implemented up to step
>> 1 in our design document.
>>
>> Any comments/concerns are appreciated.
>>
>> Best regards,
>> Jae Hyun Park
>>
>> _______________________________________________
>> webkit-dev mailing list
>> webkit-dev at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo/webkit-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20121205/9403a121/attachment.html>
More information about the webkit-dev
mailing list