Bug 1496171. Update blob renderer for newly exposed priority
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Thu, 04 Oct 2018 23:18:20 -0400
changeset 495506 e91146cb4ee45cb2c0dfdfa5cce64394404467c3
parent 495505 b58765f52e8a93acabb6d48ed1ffc16365832759
child 495507 d36c0c30cc03af21ff3b5f24c1a8bb8bcaa6926e
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1496171
milestone64.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 1496171. Update blob renderer for newly exposed priority
gfx/webrender_bindings/src/moz2d_renderer.rs
--- a/gfx/webrender_bindings/src/moz2d_renderer.rs
+++ b/gfx/webrender_bindings/src/moz2d_renderer.rs
@@ -341,17 +341,17 @@ struct BlobFont {
 
 struct Moz2dBlobRasterizer {
     workers: Arc<ThreadPool>,
     blob_commands: HashMap<ImageKey, (Arc<BlobImageData>, Option<TileSize>)>,
 }
 
 impl AsyncBlobImageRasterizer for Moz2dBlobRasterizer {
 
-    fn rasterize(&mut self, requests: &[BlobImageParams]) -> Vec<(BlobImageRequest, BlobImageResult)> {
+    fn rasterize(&mut self, requests: &[BlobImageParams], _low_priority: bool) -> Vec<(BlobImageRequest, BlobImageResult)> {
         struct Job {
             request: BlobImageRequest,
             descriptor: BlobImageDescriptor,
             commands: Arc<BlobImageData>,
             dirty_rect: Option<DeviceUintRect>,
             tile_size: Option<TileSize>,
         }