[Webkit-unassigned] [Bug 158523] New: [Threaded Compositor] Remove ThreadedCompositor::setNeedsDisplay()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 8 06:46:06 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=158523
Bug ID: 158523
Summary: [Threaded Compositor] Remove
ThreadedCompositor::setNeedsDisplay()
Classification: Unclassified
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Keywords: Gtk
Severity: Normal
Priority: P2
Component: WebKit2
Assignee: webkit-unassigned at lists.webkit.org
Reporter: cgarcia at igalia.com
CC: bugs-noreply at webkitgtk.org, yoon at igalia.com,
zan at falconsigh.net
ThreadedCompositor::setNeedsDisplay() is always called from the main thread and schedules a task to the compositing thread to schedule an immediate update. But RunLoop::Timer is thread-safe so we don't really need to schedule a task to the update the timer in the compositing thread, we can do that directly in the main thread. And that's exactly what scheduleDisplayImmediately() do, so we can use that instead of setNeedsDisplay().
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160608/71544924/attachment.html>
More information about the webkit-unassigned
mailing list