New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 597477 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Mar 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Feature

Blocking:
issue 557194



Sign in to add a comment

Determine if a layer is inside replica without walking up the layer tree.

Project Member Reported by jaydasika@chromium.org, Mar 24 2016

Issue description

To determine if a layer is inside replica we walk up the layer tree (jumping from target to target) and see if any of the targets has a replica. 

Possible solutions :
1) Walk up the effect tree instead.
2) cache inside_replica on effect_tree.

1) has the issue that we will end up doing more work than before (num effect nodes > num targets). This computation happens in LayerTreeImpl::UpdateDrawProperties 
 
Owner: jaydasika@chromium.org
Status: Started (was: Available)
Another possibility is to add a "is_replica"/"has_replica" on layers, so this relationship is no longer hierarchical. 
Status: Fixed (was: Started)

Sign in to add a comment