Home | History | Annotate | Download | only in trees

Lines Matching refs:stack_

33   DCHECK(!stack_.empty());
34 const StackObject& back = stack_.back();
155 if (!stack_.empty() && stack_.back().target == new_target)
161 if (!stack_.empty()) {
162 old_target = stack_.back().target;
169 stack_.push_back(StackObject(new_target));
194 stack_.size() > 1 &&
201 int last_index = stack_.size() - 1;
205 stack_[last_index].occlusion_from_outside_target =
207 stack_[last_index - 1].occlusion_from_outside_target,
211 stack_[last_index].occlusion_from_outside_target.Union(
213 stack_[last_index - 1].occlusion_from_inside_target,
240 stack_.back().occlusion_from_outside_target.Clear();
241 stack_.back().occlusion_from_inside_target.Clear();
243 stack_.back().occlusion_from_inside_target.Clear();
244 stack_.back().occlusion_from_outside_target.Clear();
306 int last_index = stack_.size() - 1;
308 stack_.size() > 1 && stack_[last_index - 1].target == new_target;
314 const LayerType* old_target = stack_[last_index].target;
320 stack_[last_index].occlusion_from_inside_target,
327 stack_[last_index].occlusion_from_inside_target,
335 stack_[last_index].occlusion_from_outside_target,
354 stack_[last_index - 1].occlusion_from_inside_target.Union(
359 stack_[last_index - 1].occlusion_from_outside_target.Union(
362 stack_.pop_back();
365 stack_.back().target = new_target;
366 stack_.back().occlusion_from_inside_target =
369 stack_.back().occlusion_from_outside_target =
372 stack_.back().occlusion_from_outside_target.Clear();
383 &stack_.back().occlusion_from_inside_target);
388 &stack_.back().occlusion_from_outside_target);
396 &stack_.back().occlusion_from_inside_target);
401 &stack_.back().occlusion_from_outside_target);
407 DCHECK(!stack_.empty());
408 DCHECK_EQ(layer->render_target(), stack_.back().target);
449 stack_.back().occlusion_from_inside_target.Union(transformed_rect);
505 bool has_occlusion = stack_.size() > 1;
509 const StackObject& second_last = stack_[stack_.size() - 2];
544 DCHECK(!stack_.back().target->parent());
546 stack_.back().occlusion_from_inside_target;