diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2013-11-19 14:21:16 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-20 15:01:59 +0100 |
commit | cd3b33ac489a22c23d2d0a94c8df2b87a8b34eb9 (patch) | |
tree | d788444c03e1f43f03a278997c41c4b814013ad6 /Source/JavaScriptCore/bytecode/ArrayAllocationProfile.cpp | |
parent | cf6684e9732ed2d262dd22ceaed1940c03be5d75 (diff) | |
download | qtwebkit-cd3b33ac489a22c23d2d0a94c8df2b87a8b34eb9.tar.gz |
Fix performance regression in HTML5 canvas stroke()
To solve corner case of stroking intersecting path with a transparent
color we switched the strokePath implementation to using QPainterPathStroker
in Qt 5. Unfortunately this appears to be 100-1000x slower than using
QPainter::strokePath.
This patch partially reverts the change and now only use QPainterPathStroker
when stroking a transparent outline.
Task-number: QTBUG-34855
Change-Id: I9f5c593b9093a8eb94a76081bbc2e7565c306afd
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/bytecode/ArrayAllocationProfile.cpp')
0 files changed, 0 insertions, 0 deletions