Bug 1518389 - Update webrender to commit 9019124fdccab50096ef5af76d1acbd251c1ad07 (WR PR #3484). r=kats
authorWR Updater Bot <graphics-team@mozilla.staktrace.com>
Tue, 08 Jan 2019 21:24:03 +0000
changeset 510064 e64d57b541e483c6464435158bf5ff6fdc35ff8e
parent 510063 8268418fa2528e228a503e74a1a2f71272f257a3
child 510065 54b628e16c5c87cecadbc246838e72fb1c9b4d54
push id10547
push userffxbld-merge
push dateMon, 21 Jan 2019 13:03:58 +0000
treeherdermozilla-beta@24ec1916bffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1518389
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1518389 - Update webrender to commit 9019124fdccab50096ef5af76d1acbd251c1ad07 (WR PR #3484). r=kats https://github.com/servo/webrender/pull/3484 Differential Revision: https://phabricator.services.mozilla.com/D15977
gfx/webrender_bindings/revision.txt
gfx/wr/webrender_api/src/api.rs
gfx/wr/webrender_api/src/display_item.rs
--- a/gfx/webrender_bindings/revision.txt
+++ b/gfx/webrender_bindings/revision.txt
@@ -1,1 +1,1 @@
-ca28ae618d249976a755db5419e5ec7c36bbfd1c
+9019124fdccab50096ef5af76d1acbd251c1ad07
--- a/gfx/wr/webrender_api/src/api.rs
+++ b/gfx/wr/webrender_api/src/api.rs
@@ -1276,16 +1276,17 @@ impl ZoomFactor {
     }
 
     /// Get the zoom factor as an untyped float.
     pub fn get(&self) -> f32 {
         self.0
     }
 }
 
+#[repr(C)]
 #[derive(Clone, Copy, Debug, Deserialize, PartialEq, Serialize, Eq, Hash)]
 pub struct PropertyBindingId {
     namespace: IdNamespace,
     uid: u32,
 }
 
 impl PropertyBindingId {
     pub fn new(value: u64) -> Self {
@@ -1293,16 +1294,17 @@ impl PropertyBindingId {
             namespace: IdNamespace((value >> 32) as u32),
             uid: value as u32,
         }
     }
 }
 
 /// A unique key that is used for connecting animated property
 /// values to bindings in the display list.
+#[repr(C)]
 #[derive(Clone, Copy, Debug, Deserialize, PartialEq, Serialize)]
 pub struct PropertyBindingKey<T> {
     pub id: PropertyBindingId,
     _phantom: PhantomData<T>,
 }
 
 /// Construct a property value from a given key and value.
 impl<T: Copy> PropertyBindingKey<T> {
@@ -1321,16 +1323,17 @@ impl<T> PropertyBindingKey<T> {
 }
 
 /// A binding property can either be a specific value
 /// (the normal, non-animated case) or point to a binding location
 /// to fetch the current value from.
 /// Note that Binding has also a non-animated value, the value is
 /// used for the case where the animation is still in-delay phase
 /// (i.e. the animation doesn't produce any animation values).
+#[repr(C)]
 #[derive(Clone, Copy, Debug, Deserialize, PartialEq, Serialize)]
 pub enum PropertyBinding<T> {
     Value(T),
     Binding(PropertyBindingKey<T>, T),
 }
 
 impl<T> From<T> for PropertyBinding<T> {
     fn from(value: T) -> PropertyBinding<T> {
--- a/gfx/wr/webrender_api/src/display_item.rs
+++ b/gfx/wr/webrender_api/src/display_item.rs
@@ -601,16 +601,17 @@ pub enum MixBlendMode {
     Difference = 10,
     Exclusion = 11,
     Hue = 12,
     Saturation = 13,
     Color = 14,
     Luminosity = 15,
 }
 
+#[repr(C)]
 #[derive(Clone, Copy, Debug, PartialEq, Deserialize, Serialize)]
 pub enum FilterOp {
     /// Filter that does no transformation of the colors, needed for
     /// debug purposes only.
     Identity,
     Blur(f32),
     Brightness(f32),
     Contrast(f32),