Update animation benchmark and tests
authorjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 27 Feb 2016 04:33:30 +0000 (04:33 +0000)
committerjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 27 Feb 2016 04:33:30 +0000 (04:33 +0000)
commite360a7ff618daa25edb4a7ba172b6c8cb279a235
treeaeaa39c83c680012140acb0ebcec1a57ca9fe78f
parent667fcc8070ea75e3a1eb5f7ca7da1e6a66fe520f
Update animation benchmark and tests
https://bugs.webkit.org/show_bug.cgi?id=154673

Reviewed by Dean Jackson.

Update test visuals.

* Animometer/tests/master/resources/canvas-tests.js:
(CanvasLineSegment.Utilities.createClass): Line segments near the edge of the stage get clipped.
Update circle position and radius to minimize impact.
* Animometer/tests/master/resources/particles.js: Get rid of rotating gradient background, and
have 3 locations for emitting particles.
* Animometer/tests/master/resources/multiply.js: Update distance metric so that fringe tiles get
more color.
(initialize): Fix some of the math for laying out the tiles.
(animate): When a tile isn't used, set visibility: hidden.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@197230 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/Animometer/tests/master/resources/canvas-tests.js
PerformanceTests/Animometer/tests/master/resources/multiply.js
PerformanceTests/Animometer/tests/master/resources/particles.js
PerformanceTests/ChangeLog