Add Servo_ComposeAnimationSegment which composes an animation segment.

This commit is contained in:
Boris Chiou 2017-10-27 21:08:22 +02:00
parent 1f5551c397
commit 52c81a0a84
2 changed files with 185 additions and 114 deletions

View file

@ -2776,9 +2776,22 @@ extern "C" {
RawGeckoAnimationPropertySegmentBorrowed,
computed_timing:
RawGeckoComputedTimingBorrowed,
iteration_composite:
iter_composite:
IterationCompositeOperation);
}
extern "C" {
pub fn Servo_ComposeAnimationSegment(animation_segment:
RawGeckoAnimationPropertySegmentBorrowed,
underlying_value:
RawServoAnimationValueBorrowedOrNull,
last_value:
RawServoAnimationValueBorrowedOrNull,
iter_composite:
IterationCompositeOperation,
progress: f64,
current_iteration: u64)
-> RawServoAnimationValueStrong;
}
extern "C" {
pub fn Servo_DeclarationBlock_PropertyIsSet(declarations:
RawServoDeclarationBlockBorrowed,