Test clip cull change. try: -b do -p linux64 -u all[linux64-qr] -t none
authorGlenn Watson <github@intuitionlibrary.com>
Wed, 15 Nov 2017 17:38:27 +1000
changeset 1351623 86fcc58e7103e13c9a05473f4c13f4b6d6f17338
parent 1351505 25ce618bbbae1dfd643f449cf3307d22e12d3b6e
child 1590642 39c70785a201ae28130fbedc9ea4fc76e4bc9227
push id235499
push usergwatson@mozilla.com
push dateWed, 15 Nov 2017 07:39:24 +0000
treeherdertry@86fcc58e7103 [default view] [failures only]
milestone58.0a1
Test clip cull change. try: -b do -p linux64 -u all[linux64-qr] -t none
gfx/webrender/src/prim_store.rs
--- 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()