[webkit-dev] Implement threaded model of Coordinated Graphics

Vyacheslav Ostapenko ostap73 at gmail.com
Fri Nov 16 10:12:07 PST 2012

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.

So, the only thing that needs to be implemented for GTK is replacement for
Qt paint node and sync point similar to QQuickItem::updatePaintNode .


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/20121116/ef2f717c/attachment.html>

More information about the webkit-dev mailing list