Home
last modified time | relevance | path

Searched refs:PriorityCalculator (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/cc/resources/
Dpriority_calculator.cc47 int PriorityCalculator::UIPriority(bool draws_to_root_surface) { in UIPriority()
53 int PriorityCalculator::VisiblePriority(bool draws_to_root_surface) { in VisiblePriority()
59 int PriorityCalculator::RenderSurfacePriority() { in RenderSurfacePriority()
64 int PriorityCalculator::LingeringPriority(int previous_priority) { in LingeringPriority()
72 int PriorityCalculator::PriorityFromDistance(gfx::Rect visible_rect, in PriorityFromDistance()
82 int PriorityCalculator::SmallAnimatedLayerMinPriority() { in SmallAnimatedLayerMinPriority()
87 int PriorityCalculator::HighestPriority() { in HighestPriority()
92 int PriorityCalculator::LowestPriority() { in LowestPriority()
97 int PriorityCalculator::AllowNothingCutoff() { in AllowNothingCutoff()
102 int PriorityCalculator::AllowVisibleOnlyCutoff() { in AllowVisibleOnlyCutoff()
[all …]
Dprioritized_resource_manager.cc19 external_priority_cutoff_(PriorityCalculator::AllowEverythingCutoff()), in PrioritizedResourceManager()
71 if (PriorityCalculator::priority_is_higher( in PrioritizeTextures()
73 PriorityCalculator::AllowVisibleOnlyCutoff())) in PrioritizeTextures()
75 if (PriorityCalculator::priority_is_higher( in PrioritizeTextures()
77 PriorityCalculator::AllowVisibleAndNearbyCutoff())) in PrioritizeTextures()
115 if (!PriorityCalculator::priority_is_higher(texture->request_priority(), in PrioritizeTextures()
130 bool is_above_priority_cutoff = PriorityCalculator::priority_is_higher( in PrioritizeTextures()
197 PriorityCalculator::LingeringPriority((*it)->request_priority())); in ClearPriorities()
210 if (PriorityCalculator::priority_is_lower(texture->request_priority(), in RequestLate()
216 if (!PriorityCalculator::priority_is_higher(texture->request_priority(), in RequestLate()
[all …]
Dpriority_calculator.h15 class CC_EXPORT PriorityCalculator {
17 PriorityCalculator() {} in PriorityCalculator() function
42 DISALLOW_COPY_AND_ASSIGN(PriorityCalculator);
Dprioritized_resource.cc23 priority_(PriorityCalculator::LowestPriority()), in PrioritizedResource()
124 priority_at_last_priority_update_(PriorityCalculator::LowestPriority()), in Backing()
172 priority_at_last_priority_update_ = PriorityCalculator::LowestPriority(); in UpdatePriority()
185 PriorityCalculator::LowestPriority()); in UpdateState()
Dprioritized_resource_unittest.cc785 PriorityCalculator::RenderSurfacePriority()); in TEST_F()
842 PriorityCalculator::RenderSurfacePriority()); in TEST_F()
890 PriorityCalculator::RenderSurfacePriority()); in TEST_F()
902 set_request_priority(PriorityCalculator::VisiblePriority(true)); in TEST_F()
906 set_request_priority(PriorityCalculator::VisiblePriority(false)); in TEST_F()
1020 PriorityCalculator::AllowEverythingCutoff(), in TEST_F()
1026 0, PriorityCalculator::AllowEverythingCutoff(), resource_provider()); in TEST_F()
1043 set_request_priority(PriorityCalculator::AllowVisibleOnlyCutoff() - 1); in TEST_F()
1045 set_request_priority(PriorityCalculator::AllowVisibleOnlyCutoff()); in TEST_F()
1047 PriorityCalculator::AllowVisibleAndNearbyCutoff() - 1); in TEST_F()
[all …]
Dprioritized_resource_manager.h34 class PriorityCalculator;
149 return PriorityCalculator::priority_is_higher(a->request_priority(),
169 return PriorityCalculator::priority_is_lower(
Dresource_update_controller_unittest.cc118 set_request_priority(PriorityCalculator::VisiblePriority(true)); in SetUp()
/external/chromium_org/cc/output/
Dmanaged_memory_policy.cc50 return PriorityCalculator::AllowNothingCutoff(); in PriorityCutoffToValue()
52 return PriorityCalculator::AllowVisibleOnlyCutoff(); in PriorityCutoffToValue()
54 return PriorityCalculator::AllowVisibleAndNearbyCutoff(); in PriorityCutoffToValue()
56 return PriorityCalculator::AllowEverythingCutoff(); in PriorityCutoffToValue()
59 return PriorityCalculator::AllowNothingCutoff(); in PriorityCutoffToValue()
/external/chromium_org/cc/layers/
Dimage_layer.h23 virtual void SetTexturePriorities(const PriorityCalculator& priority_calc)
Dtiled_layer.cc601 int priority = PriorityCalculator::LowestPriority(); in SetPriorityForTexture()
603 priority = PriorityCalculator::PriorityFromDistance( in SetPriorityForTexture()
608 priority = PriorityCalculator::max_priority( in SetPriorityForTexture()
609 priority, PriorityCalculator::SmallAnimatedLayerMinPriority()); in SetPriorityForTexture()
612 if (priority != PriorityCalculator::LowestPriority()) in SetPriorityForTexture()
617 void TiledLayer::SetTexturePriorities(const PriorityCalculator& priority_calc) { in SetTexturePriorities()
Dcontent_layer.h45 virtual void SetTexturePriorities(const PriorityCalculator& priority_calc)
Dimage_layer.cc36 void ImageLayer::SetTexturePriorities(const PriorityCalculator& priority_calc) { in SetTexturePriorities()
Dtiled_layer.h34 virtual void SetTexturePriorities(const PriorityCalculator& priority_calc)
Dcontent_layer.cc83 const PriorityCalculator& priority_calc) { in SetTexturePriorities()
Dlayer.h60 class PriorityCalculator; variable
398 virtual void SetTexturePriorities(const PriorityCalculator& priority_calc) {} in SetTexturePriorities()
Dtiled_layer_unittest.cc199 PriorityCalculator priority_calculator_;
/external/chromium_org/cc/test/
Dtiled_layer_test_common.h113 const PriorityCalculator& priority_calculator) OVERRIDE;
Dtiled_layer_test_common.cc95 const PriorityCalculator& calculator) { in SetTexturePriorities()
/external/chromium_org/cc/trees/
Dlayer_tree_host.cc897 PriorityCalculator::RenderSurfacePriority()); in SetPrioritiesForSurfaces()
909 PriorityCalculator calculator; in SetPrioritiesForLayers()
Dlayer_tree_host_unittest.cc1962 virtual void SetTexturePriorities(const PriorityCalculator&) OVERRIDE;
2009 void EvictionTestLayer::SetTexturePriorities(const PriorityCalculator&) { in SetTexturePriorities() argument
2013 texture_->set_request_priority(PriorityCalculator::UIPriority(true)); in SetTexturePriorities()
4307 PriorityCalculator::AllowEverythingCutoff(), in DidCommit()
4320 PriorityCalculator::AllowEverythingCutoff(), in DidCommit()
4331 PriorityCalculator::AllowVisibleAndNearbyCutoff(), in DidCommit()