Bug 1517742 - Update webrender to commit e8ef39b4499aa93e008a25e851c01f4dff36b301 (WR PR #3470). r=kats
authorWR Updater Bot <graphics-team@mozilla.staktrace.com>
Fri, 04 Jan 2019 16:02:16 +0000
changeset 452555 88b380a9493b93fcdc0532fff6910b7e0760a761
parent 452554 7bb587c935d11d28f5e2720dc6a4a3ef199d6a0d
child 452568 d7e5ed9d73e634c954aa8753c3b499ec2f2a67c5
push id75484
push userkgupta@mozilla.com
push dateFri, 04 Jan 2019 16:02:48 +0000
treeherderautoland@88b380a9493b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1517742
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 1517742 - Update webrender to commit e8ef39b4499aa93e008a25e851c01f4dff36b301 (WR PR #3470). r=kats https://github.com/servo/webrender/pull/3470 Differential Revision: https://phabricator.services.mozilla.com/D15735
gfx/webrender_bindings/revision.txt
gfx/wr/wrench/src/rawtest.rs
--- a/gfx/webrender_bindings/revision.txt
+++ b/gfx/webrender_bindings/revision.txt
@@ -1,1 +1,1 @@
-12250134e710e8a0435b1b678fa4fb056e11fecc
+e8ef39b4499aa93e008a25e851c01f4dff36b301
--- a/gfx/wr/wrench/src/rawtest.rs
+++ b/gfx/wr/wrench/src/rawtest.rs
@@ -529,16 +529,20 @@ impl<'a> RawtestHarness<'a> {
 
         // use png;
         // png::save_flipped("out1.png", &pixels_first, window_rect.size);
         // png::save_flipped("out2.png", &pixels_second, window_rect.size);
 
         assert!(pixels_first != pixels_second);
 
         // cleanup
+        txn = Transaction::new();
+        txn.delete_blob_image(blob_img);
+        self.wrench.api.update_resources(txn.resource_updates);
+
         *self.wrench.callbacks.lock().unwrap() = blob::BlobCallbacks::new();
     }
 
     fn test_blob_update_epoch_test(&mut self) {
         println!("\tblob update epoch test...");
         let (blob_img, blob_img2);
         let window_size = self.window.get_inner_size();
 
@@ -657,16 +661,21 @@ impl<'a> RawtestHarness<'a> {
         let _pixels_third = self.render_and_get_pixels(window_rect);
 
         // the first image should be requested 3 times
         assert_eq!(img1_requested.load(Ordering::SeqCst), 3);
         // the second image should've been requested twice
         assert_eq!(img2_requested.load(Ordering::SeqCst), 2);
 
         // cleanup
+        txn = Transaction::new();
+        txn.delete_blob_image(blob_img);
+        txn.delete_blob_image(blob_img2);
+        self.wrench.api.update_resources(txn.resource_updates);
+
         *self.wrench.callbacks.lock().unwrap() = blob::BlobCallbacks::new();
     }
 
     fn test_blob_update_test(&mut self) {
         println!("\tblob update test...");
         let window_size = self.window.get_inner_size();
 
         let test_size = DeviceIntSize::new(400, 400);
@@ -755,16 +764,21 @@ impl<'a> RawtestHarness<'a> {
             ColorF::WHITE,
         );
 
         self.submit_dl(&mut epoch, layout_size, builder, &txn.resource_updates);
         let pixels_third = self.render_and_get_pixels(window_rect);
 
         assert!(pixels_first == pixels_second);
         assert!(pixels_first != pixels_third);
+
+        // cleanup
+        txn = Transaction::new();
+        txn.delete_blob_image(blob_img);
+        self.wrench.api.update_resources(txn.resource_updates);
     }
 
     // Ensures that content doing a save-restore produces the same results as not
     fn test_save_restore(&mut self) {
         println!("\tsave/restore...");
         let window_size = self.window.get_inner_size();
 
         let test_size = DeviceIntSize::new(400, 400);