[Webkit-unassigned] [Bug 151829] New: Remove the use of GraphicsContextStateSaver from RenderLayer::paintLayerByApplyingTransform
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 3 15:10:00 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=151829
Bug ID: 151829
Summary: Remove the use of GraphicsContextStateSaver from
RenderLayer::paintLayerByApplyingTransform
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sabouhallawa at apple.com
CC: simon.fraser at apple.com
Saving/Restoring the GraphicsContext is an expensive operation. It should be used when the number to save/restore options in the context is large. But when only one option is set and later is restored, it is a lot cheaper to do that save/restore explicitly.
Here are some results:
When using GraphicsContextStateSaver in RenderLayer::paintLayerByApplyingTransform:
Test Name Score Complexity FPS
Avg. W.5% Std. % Avg. W.5% Std. %
CSS bouncing circles 419.84 444.72 396.34 25.86 5.82 49.53 44.73 2.30 4.65
When removing GraphicsContextStateSaver from RenderLayer::paintLayerByApplyingTransform:
Test Name Score Complexity FPS
Avg. W.5% Std. % Avg. W.5% Std. %
CSS bouncing circles 491.74 532.11 454.44 38.40 7.22 48.66 43.87 2.84 5.83
--
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/20151203/b87a2975/attachment.html>
More information about the webkit-unassigned
mailing list