Skip to content

async scene building breaks tile decomposition rawtests #2689

@jrmuizel

Description

@jrmuizel

Running the rawtests with a patch like this:

diff --git a/webrender_api/src/api.rs b/webrender_api/src/api.rs
index 35a123bc..115534ba 100644
--- a/webrender_api/src/api.rs
+++ b/webrender_api/src/api.rs
@@ -151,21 +151,21 @@ pub struct Transaction {
     generate_frame: bool,
 }

 impl Transaction {
     pub fn new() -> Self {
         Transaction {
             scene_ops: Vec::new(),
             frame_ops: Vec::new(),
             resource_updates: ResourceUpdates::new(),
             payloads: Vec::new(),
-            use_scene_builder_thread: false, // TODO: make this true by default.
+            use_scene_builder_thread: true, // TODO: make this true by default.
             generate_frame: false,
         }
     }

gives

Shader override path: None
	hit testing test...
	retained blob images test...
	blob update test...
	blob update epoch test...
	tile decomposition...
thread 'WRRenderBackend#0' panicked at 'called `Option::unwrap()` on a `None` value', libcore/option.rs:335:21
note: Run with `RUST_BACKTRACE=1` for a backtrace.

@nical @staktrace

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions