Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Issue 1270303002: Composited Animations: Introduce pixel-ref layout tests. (Closed)

Created:
5 years, 4 months ago by loyso (OOO)
Modified:
5 years, 2 months ago
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, Eric Willigers, rjwright, shans
Base URL:
https://chromium.googlesource.com/chromium/blink.git@disable
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Composited Animations: Introduce pixel-ref layout tests. We get the animation to effectively start paused at the time fraction we care about. In order to test a number of time fractions with a single pixel result, we're creating a new element for each sample so we can check them simultaneously. BUG=509482

Patch Set 1 #

Total comments: 27

Patch Set 2 : Fix some codereview issues. #

Patch Set 3 : Add NeedsRebaseline for skew-notsequential-compositor test #

Patch Set 4 : Clean up. #

Patch Set 5 : Use CSS styles instead of custom flags. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+614 lines, -120 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/VirtualTestSuites View 1 1 chunk +2 lines, -1 line 0 comments Download
A LayoutTests/animations/resources/composited-animation-test.js View 1 2 3 4 1 chunk +204 lines, -0 lines 0 comments Download
A LayoutTests/animations/resources/composited-animations-data/rotate-zero-degrees.js View 1 2 3 4 1 chunk +72 lines, -0 lines 0 comments Download
A LayoutTests/animations/resources/composited-animations-data/simple.js View 1 2 3 4 1 chunk +95 lines, -0 lines 0 comments Download
A LayoutTests/animations/resources/composited-animations-data/timing-function.js View 1 2 3 4 1 chunk +72 lines, -0 lines 0 comments Download
A LayoutTests/animations/resources/composited-animations-data/translate-rotate-scale.js View 1 2 3 4 1 chunk +71 lines, -0 lines 0 comments Download
A LayoutTests/virtual/threaded/animations/composited-animations-rotate-zero-degrees.html View 1 1 chunk +12 lines, -0 lines 0 comments Download
A LayoutTests/virtual/threaded/animations/composited-animations-rotate-zero-degrees-expected.html View 1 1 chunk +12 lines, -0 lines 0 comments Download
A LayoutTests/virtual/threaded/animations/composited-animations-simple.html View 1 1 chunk +12 lines, -0 lines 0 comments Download
A LayoutTests/virtual/threaded/animations/composited-animations-simple-expected.html View 1 1 chunk +12 lines, -0 lines 0 comments Download
A LayoutTests/virtual/threaded/animations/composited-animations-timing-function.html View 1 1 chunk +12 lines, -0 lines 0 comments Download
A LayoutTests/virtual/threaded/animations/composited-animations-timing-function-expected.html View 1 1 chunk +12 lines, -0 lines 0 comments Download
A LayoutTests/virtual/threaded/animations/composited-animations-translate-rotate-scale.html View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
A LayoutTests/virtual/threaded/animations/composited-animations-translate-rotate-scale-expected.html View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
D ManualTests/animation/compositor-animation-steps.html View 1 chunk +0 lines, -119 lines 0 comments Download

Messages

Total messages: 12 (1 generated)
loyso (OOO)
Naming and grouping suggestions are welcome!
5 years, 4 months ago (2015-08-05 07:09:27 UTC) #2
Ian Vollick
https://codereview.chromium.org/1270303002/diff/1/LayoutTests/animations/resources/composited-animation-test.js File LayoutTests/animations/resources/composited-animation-test.js (right): https://codereview.chromium.org/1270303002/diff/1/LayoutTests/animations/resources/composited-animation-test.js#newcode107 LayoutTests/animations/resources/composited-animation-test.js:107: var duration = 1000 * 1.0 / (kBezierEpsilon * ...
5 years, 4 months ago (2015-08-05 13:58:46 UTC) #3
dstockwell
https://codereview.chromium.org/1270303002/diff/1/LayoutTests/VirtualTestSuites File LayoutTests/VirtualTestSuites (right): https://codereview.chromium.org/1270303002/diff/1/LayoutTests/VirtualTestSuites#newcode37 LayoutTests/VirtualTestSuites:37: "--disable-composited-antialiasing"] Add a comment about why this flag is ...
5 years, 4 months ago (2015-08-06 00:23:20 UTC) #4
loyso (OOO)
I'm answering fundamental questions only for now since they can affect the design. https://codereview.chromium.org/1270303002/diff/1/LayoutTests/animations/resources/composited-animation-test.js File ...
5 years, 4 months ago (2015-08-06 06:44:18 UTC) #5
loyso (OOO)
https://codereview.chromium.org/1270303002/diff/1/LayoutTests/virtual/threaded/animations/composited-animations-rotate-scale.html File LayoutTests/virtual/threaded/animations/composited-animations-rotate-scale.html (right): https://codereview.chromium.org/1270303002/diff/1/LayoutTests/virtual/threaded/animations/composited-animations-rotate-scale.html#newcode7 LayoutTests/virtual/threaded/animations/composited-animations-rotate-scale.html:7: var test = new CompositedAnimationTest(false); On 2015/08/05 13:58:46, vollick ...
5 years, 4 months ago (2015-08-06 07:03:33 UTC) #6
loyso (OOO)
https://codereview.chromium.org/1270303002/diff/1/LayoutTests/VirtualTestSuites File LayoutTests/VirtualTestSuites (right): https://codereview.chromium.org/1270303002/diff/1/LayoutTests/VirtualTestSuites#newcode37 LayoutTests/VirtualTestSuites:37: "--disable-composited-antialiasing"] On 2015/08/06 00:23:19, dstockwell wrote: > Add a ...
5 years, 3 months ago (2015-09-14 06:19:08 UTC) #7
loyso (OOO)
PTAL, everyone! https://codereview.chromium.org/1270303002/diff/1/LayoutTests/animations/resources/composited-animation-test.js File LayoutTests/animations/resources/composited-animation-test.js (right): https://codereview.chromium.org/1270303002/diff/1/LayoutTests/animations/resources/composited-animation-test.js#newcode65 LayoutTests/animations/resources/composited-animation-test.js:65: if (test.data.vertical == null || !test.data.vertical) On ...
5 years, 3 months ago (2015-09-15 07:50:52 UTC) #8
loyso (OOO)
On 2015/09/15 07:50:52, loyso wrote: > Done. Note that I want to keep tests grouped ...
5 years, 3 months ago (2015-09-15 07:51:59 UTC) #9
loyso (OOO)
PTAL!
5 years, 3 months ago (2015-09-22 00:14:58 UTC) #10
loyso (OOO)
Migrated to this chromium CL: https://codereview.chromium.org/1360233004/
5 years, 3 months ago (2015-09-24 03:24:31 UTC) #11
Ian Vollick
5 years, 2 months ago (2015-09-30 21:29:54 UTC) #12
On 2015/09/24 03:24:31, loyso wrote:
> Migrated to this chromium CL:
> https://codereview.chromium.org/1360233004/

I'm so sorry for slow reply. Thank you for the updates. This lgtm % dstockwell.

Powered by Google App Engine
This is Rietveld 408576698