[webkit-dev] Implement threaded model of Coordinated Graphics

noam.rosenthal at nokia.com noam.rosenthal at nokia.com
Fri Nov 16 10:29:40 PST 2012


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<mailto:ostap73 at gmail.com>>
Date: Friday, November 16, 2012 10:12 AM
To: Jae Hyun Park <jae.park at company100.net<mailto:jae.park at company100.net>>
Cc: "webkit-dev at lists.webkit.org<mailto:webkit-dev at lists.webkit.org>" <webkit-dev at lists.webkit.org<mailto: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<mailto: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<mailto: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/20121116/9d4e1f0f/attachment.html>


More information about the webkit-dev mailing list