Test clip cull change. try: -b do -p linux64 -u all[linux64-qr] -t none
Test clip cull change. try: -b do -p linux64 -u all[linux64-qr] -t none
--- a/gfx/webrender/src/prim_store.rs
+++ b/gfx/webrender/src/prim_store.rs
@@ -1466,17 +1466,17 @@ impl PrimitiveStore {
for run in runs {
// TODO(gw): Perhaps we can restructure this to not need to create
// a new primitive context for every run (if the hash
// lookups ever show up in a profile).
let scroll_node = &clip_scroll_tree.nodes[&run.clip_and_scroll.scroll_node_id];
let clip_node = &clip_scroll_tree.nodes[&run.clip_and_scroll.clip_node_id()];
- if !clip_node.is_visible() {
+ if perform_culling && !clip_node.is_visible() {
debug!("{:?} of clipped out {:?}", run.base_prim_index, pipeline_id);
continue;
}
let parent_relative_transform = parent_prim_context
.scroll_node
.world_content_transform
.inverse()