Use TypedArrayView's setRange() in FETurbulence
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 19 Nov 2017 21:57:13 +0000 (21:57 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 19 Nov 2017 21:57:13 +0000 (21:57 +0000)
commit0b4d62de24e87e7808019ea40d0806e55607b328
tree380e73d4702c94aa0bb8518a354bf700e21dfd04
parentebc18461f73499af1082239bf98411ead9a10ab9
Use TypedArrayView's setRange() in FETurbulence
https://bugs.webkit.org/show_bug.cgi?id=179878

Reviewed by Sam Weinig.

Writing the 4 component values at once makes the function about 10% faster.

* platform/graphics/filters/FETurbulence.cpp:
(WebCore::FETurbulence::fillRegion const):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/filters/FETurbulence.cpp