[Webkit-unassigned] [Bug 67499] [chromium] Support CCHeadsUpDisplay in threaded compositing mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 27 17:19:04 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=67499





--- Comment #1 from James Robinson <jamesr at chromium.org>  2012-02-27 17:19:04 PST ---
Today the chromium compositor HUD doesn't work in threaded mode.  Here are some of the issues:

1.) The FPS counter and layer tree displays both display string values. This is currently implemented by instantiating a WebCore::Font (actually a pair of them, small and medium) and then using these to format and draw the text runs. The WebCore Font code manipulates several static caches and is definitely not safe to create/destroy from a non-main thread, and possibly not safe to use at all.

2.) The layer tree display in debug mode prints out descriptive layer name for some sets of layers. Currently this is propagated from GraphicsLayerChromium as a WTF::String and is copied to the impl tree in a non-threadsafe manner.  For this to be safe, we have to make an explicit copy of the string using WTF::String::isolatedCopy() whenever crossing a thread boundary.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list