OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013, Google Inc. All rights reserved. | 2 * Copyright (c) 2013, Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 double scaledDuration; | 54 double scaledDuration; |
55 double scaledTimeOffset; | 55 double scaledTimeOffset; |
56 double adjustedIterationCount; | 56 double adjustedIterationCount; |
57 double playbackRate; | 57 double playbackRate; |
58 Timing::FillMode fillMode; | 58 Timing::FillMode fillMode; |
59 double iterationStart; | 59 double iterationStart; |
60 }; | 60 }; |
61 | 61 |
62 static bool convertTimingForCompositor(const Timing&, double timeOffset, Com
positorTiming& out, double playerPlaybackRate); | 62 static bool convertTimingForCompositor(const Timing&, double timeOffset, Com
positorTiming& out, double playerPlaybackRate); |
63 | 63 |
64 static void getAnimationOnCompositor(const Timing&, int group, double startT
ime, double timeOffset, const KeyframeEffectModelBase&, Vector<OwnPtr<WebComposi
torAnimation> >& animations, double playerPlaybackRate); | 64 static void getAnimationOnCompositor(const Timing&, int group, double startT
ime, double timeOffset, const KeyframeEffectModelBase&, Vector<OwnPtr<WebComposi
torAnimation>>& animations, double playerPlaybackRate); |
65 | 65 |
66 static void addKeyframesToCurve(WebCompositorAnimationCurve&, const Animatab
leValuePropertySpecificKeyframeVector&, const Timing&); | 66 static void addKeyframesToCurve(WebCompositorAnimationCurve&, const Animatab
leValuePropertySpecificKeyframeVector&, const Timing&); |
67 | 67 |
68 friend class CompositorAnimations; | 68 friend class CompositorAnimations; |
69 friend class AnimationCompositorAnimationsTest; | 69 friend class AnimationCompositorAnimationsTest; |
70 }; | 70 }; |
71 | 71 |
72 } // namespace blink | 72 } // namespace blink |
OLD | NEW |