Bug 1373381 - Update webrender_bindings version numbers and generated header. r=jrmuizel
authorKartikaya Gupta <kgupta@mozilla.com>
Tue, 20 Jun 2017 09:37:08 -0400
changeset 365082 41de8a2dbb94c994682c467f42fc36d70d1412b1
parent 365081 9d23ec0ef50a71aa635cfa3b9652ae6924bf495f
child 365083 30e895051542b949bbcca68d5adf26f6f9817050
push id91680
push userkwierso@gmail.com
push dateWed, 21 Jun 2017 01:32:01 +0000
treeherdermozilla-inbound@f7b9dc31956c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel
bugs1373381
milestone56.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 1373381 - Update webrender_bindings version numbers and generated header. r=jrmuizel MozReview-Commit-ID: IVHRPGJedSq
gfx/webrender_bindings/Cargo.toml
gfx/webrender_bindings/webrender_ffi_generated.h
--- a/gfx/webrender_bindings/Cargo.toml
+++ b/gfx/webrender_bindings/Cargo.toml
@@ -1,18 +1,18 @@
 [package]
 name = "webrender_bindings"
 version = "0.1.0"
 authors = ["The Mozilla Project Developers"]
 license = "MPL-2.0"
 
 [dependencies]
-webrender_traits = {path = "../webrender_traits", version = "0.40.0"}
+webrender_traits = {path = "../webrender_traits", version = "0.43.0"}
 rayon = "0.8"
 thread_profiler = "0.1.1"
-euclid = "0.14.4"
-app_units = "0.4"
+euclid = "0.15"
+app_units = "0.5"
 gleam = "0.4"
 
 [dependencies.webrender]
 path = "../webrender"
-version = "0.40.0"
+version = "0.43.0"
 default-features = false
--- a/gfx/webrender_bindings/webrender_ffi_generated.h
+++ b/gfx/webrender_bindings/webrender_ffi_generated.h
@@ -71,17 +71,17 @@ enum class WrGradientExtendMode : uint32
 
   Sentinel /* this must be last for serialization purposes. */
 };
 
 enum class WrImageFormat : uint32_t {
   Invalid = 0,
   A8 = 1,
   RGB8 = 2,
-  RGBA8 = 3,
+  BGRA8 = 3,
   RGBAF32 = 4,
   RG8 = 5,
 
   Sentinel /* this must be last for serialization purposes. */
 };
 
 enum class WrImageRendering : uint32_t {
   Auto = 0,
@@ -222,23 +222,21 @@ struct WrSize {
 
   bool operator==(const WrSize& aOther) const {
     return width == aOther.width &&
            height == aOther.height;
   }
 };
 
 struct WrBuiltDisplayListDescriptor {
-  size_t display_list_items_size;
   uint64_t builder_start_time;
   uint64_t builder_finish_time;
 
   bool operator==(const WrBuiltDisplayListDescriptor& aOther) const {
-    return display_list_items_size == aOther.display_list_items_size &&
-           builder_start_time == aOther.builder_start_time &&
+    return builder_start_time == aOther.builder_start_time &&
            builder_finish_time == aOther.builder_finish_time;
   }
 };
 
 struct WrVecU8 {
   uint8_t *data;
   size_t length;
   size_t capacity;