Update image test
authorjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Mar 2016 20:26:46 +0000 (20:26 +0000)
committerjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 3 Mar 2016 20:26:46 +0000 (20:26 +0000)
commite9edc81b6c70dd795c83b32edc9d98c97bbe9f1b
treece6a7c33deebc6d4b6b01bc2b6fdc9787d94397d
parentc7b47b0b325ae981e067911ae175bd36874ec57c
Update image test
https://bugs.webkit.org/show_bug.cgi?id=154962

Rubber-stamped by Darin Adler.

* Animometer/tests/master/image-data.html: Make each canvas have a compositing layer.
* Animometer/tests/master/resources/image-data.js:
(initialize): Update to load multiple images serially.
(_loadImage):
(tune): Use display instead of visibility. When showing an element anew, move it somewhere else.
(_createTestElement): Set up the element, refactor out placement of element to _refreshElement.
(_refreshElement): Place element in a tile grid.
(animate):
(_getRandomNeighboringPixelIndex): Use a more conservative distribution to make the effect last a little longer.
* Animometer/tests/master/resources/compass.svg: Added.
* Animometer/tests/master/resources/console.svg: Added.
* Animometer/tests/master/resources/contribute.svg: Added.
* Animometer/tests/master/resources/debugger.svg: Added.
* Animometer/tests/master/resources/inspector.svg: Added.
* Animometer/tests/master/resources/layout.svg: Added.
* Animometer/tests/master/resources/performance.svg: Added.
* Animometer/tests/master/resources/script.svg: Added.
* Animometer/tests/master/resources/shortcuts.svg: Added.
* Animometer/tests/master/resources/standards.svg: Added.
* Animometer/tests/master/resources/storage.svg: Added.
* Animometer/tests/master/resources/styles.svg: Added.
* Animometer/tests/master/resources/timeline.svg: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@197514 268f45cc-cd09-0410-ab3c-d52691b4dbfc
16 files changed:
PerformanceTests/Animometer/tests/master/image-data.html
PerformanceTests/Animometer/tests/master/resources/compass.svg [new file with mode: 0644]
PerformanceTests/Animometer/tests/master/resources/console.svg [new file with mode: 0644]
PerformanceTests/Animometer/tests/master/resources/contribute.svg [new file with mode: 0644]
PerformanceTests/Animometer/tests/master/resources/debugger.svg [new file with mode: 0644]
PerformanceTests/Animometer/tests/master/resources/image-data.js
PerformanceTests/Animometer/tests/master/resources/inspector.svg [new file with mode: 0644]
PerformanceTests/Animometer/tests/master/resources/layout.svg [new file with mode: 0644]
PerformanceTests/Animometer/tests/master/resources/performance.svg [new file with mode: 0644]
PerformanceTests/Animometer/tests/master/resources/script.svg [new file with mode: 0644]
PerformanceTests/Animometer/tests/master/resources/shortcuts.svg [new file with mode: 0644]
PerformanceTests/Animometer/tests/master/resources/standards.svg [new file with mode: 0644]
PerformanceTests/Animometer/tests/master/resources/storage.svg [new file with mode: 0644]
PerformanceTests/Animometer/tests/master/resources/styles.svg [new file with mode: 0644]
PerformanceTests/Animometer/tests/master/resources/timeline.svg [new file with mode: 0644]
PerformanceTests/ChangeLog