diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2013-03-14 14:01:52 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-18 15:50:55 +0100 |
commit | 3774b52275c59d74571b0e1f87950dcfc257d408 (patch) | |
tree | c87848b7f7c8206554c7a1437c3da77cabffd00f /Source/JavaScriptCore/assembler/ARMAssembler.cpp | |
parent | fa9f68ec24fee49e30d22d0d911853de15a86624 (diff) | |
download | qtwebkit-3774b52275c59d74571b0e1f87950dcfc257d408.tar.gz |
[Qt] Enable tiled shadow blur for inset box shadows
https://bugs.webkit.org/show_bug.cgi?id=111736
Reviewed by Noam Rosenthal.
Paint inset box-shadows using the optimized tiled shadow blur, instead of
applying shadow blur to the entire painted rect.
This optimizes the default CSS on common pastebin sites.
Tested by existing tests.
* platform/graphics/GraphicsContext.cpp:
* platform/graphics/ShadowBlur.cpp:
(WebCore::ShadowBlur::drawInsetShadowWithTiling):
Must set fill color before calling clearShadow, as that might clear m_color.
(WebCore::ShadowBlur::drawLayerPieces):
Ditto.
* platform/graphics/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContext::fillPath):
(WebCore::GraphicsContext::fillRectWithRoundedHole):
Change-Id: Idc563ff997f8150ef9553d8fe3d164e488f16e9f
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145366 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/assembler/ARMAssembler.cpp')
0 files changed, 0 insertions, 0 deletions