Home
last modified time | relevance | path

Searched refs:ManagedMemoryPolicy (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/cc/output/
Dmanaged_memory_policy.cc12 const size_t ManagedMemoryPolicy::kDefaultNumResourcesLimit = 10 * 1000 * 1000;
16 ManagedMemoryPolicy::ManagedMemoryPolicy(size_t bytes_limit_when_visible) in ManagedMemoryPolicy() function in cc::ManagedMemoryPolicy
21 ManagedMemoryPolicy::ManagedMemoryPolicy( in ManagedMemoryPolicy() function in cc::ManagedMemoryPolicy
27 ManagedMemoryPolicy::ManagedMemoryPolicy( in ManagedMemoryPolicy() function in cc::ManagedMemoryPolicy
35 bool ManagedMemoryPolicy::operator==(const ManagedMemoryPolicy& other) const { in operator ==()
41 bool ManagedMemoryPolicy::operator!=(const ManagedMemoryPolicy& other) const { in operator !=()
46 int ManagedMemoryPolicy::PriorityCutoffToValue( in PriorityCutoffToValue()
64 ManagedMemoryPolicy::PriorityCutoffToTileMemoryLimitPolicy( in PriorityCutoffToTileMemoryLimitPolicy()
Dmanaged_memory_policy.h15 struct CC_EXPORT ManagedMemoryPolicy { struct
18 explicit ManagedMemoryPolicy(size_t bytes_limit_when_visible); argument
19 explicit ManagedMemoryPolicy(
21 ManagedMemoryPolicy(
25 bool operator==(const ManagedMemoryPolicy&) const;
26 bool operator!=(const ManagedMemoryPolicy&) const;
Doutput_surface_client.h23 struct ManagedMemoryPolicy;
43 virtual void SetMemoryPolicy(const ManagedMemoryPolicy& policy) = 0;
Dcontext_provider.h22 struct ManagedMemoryPolicy;
83 typedef base::Callback<void(const ManagedMemoryPolicy& policy)>
Doutput_surface.h34 struct ManagedMemoryPolicy;
200 void SetMemoryPolicy(const ManagedMemoryPolicy& policy);
Doutput_surface_unittest.cc427 ManagedMemoryPolicy policy(0); in TEST()
Doutput_surface.cc483 void OutputSurface::SetMemoryPolicy(const ManagedMemoryPolicy& policy) { in SetMemoryPolicy()
/external/chromium_org/cc/test/
Dfake_output_surface_client.h36 virtual void SetMemoryPolicy(const ManagedMemoryPolicy& policy) OVERRIDE;
55 const ManagedMemoryPolicy& memory_policy() const { return memory_policy_; } in memory_policy()
62 ManagedMemoryPolicy memory_policy_;
Dfake_output_surface.h127 scoped_ptr<ManagedMemoryPolicy> memory_policy_to_set_at_bind);
153 scoped_ptr<ManagedMemoryPolicy> memory_policy_to_set_at_bind_;
Dfake_output_surface_client.cc24 const ManagedMemoryPolicy& policy) { in SetMemoryPolicy()
Dtest_context_provider.h56 void SetMemoryAllocation(const ManagedMemoryPolicy& policy);
Dfake_output_surface.cc147 scoped_ptr<ManagedMemoryPolicy> memory_policy_to_set_at_bind) { in SetMemoryPolicyToSetAtBind()
Dtest_context_provider.cc172 const ManagedMemoryPolicy& policy) { in SetMemoryAllocation()
/external/chromium_org/cc/trees/
Dlayer_tree_host_impl.h235 virtual void SetMemoryPolicy(const ManagedMemoryPolicy& policy) OVERRIDE;
295 ManagedMemoryPolicy ActualManagedMemoryPolicy() const;
482 void UpdateTileManagerMemoryPolicy(const ManagedMemoryPolicy& policy);
509 void SetManagedMemoryPolicy(const ManagedMemoryPolicy& policy,
511 void EnforceManagedMemoryPolicy(const ManagedMemoryPolicy& policy);
564 ManagedMemoryPolicy cached_managed_memory_policy_;
Dlayer_tree_host_impl.cc239 ManagedMemoryPolicy::kDefaultNumResourcesLimit), in LayerTreeHostImpl()
1120 EnforceManagedMemoryPolicy(ManagedMemoryPolicy(0)); in EvictTexturesForTesting()
1132 const ManagedMemoryPolicy& policy) { in EnforceManagedMemoryPolicy()
1136 ManagedMemoryPolicy::PriorityCutoffToValue( in EnforceManagedMemoryPolicy()
1153 const ManagedMemoryPolicy& policy) { in UpdateTileManagerMemoryPolicy()
1166 ManagedMemoryPolicy::PriorityCutoffToTileMemoryLimitPolicy( in UpdateTileManagerMemoryPolicy()
1194 void LayerTreeHostImpl::SetMemoryPolicy(const ManagedMemoryPolicy& policy) { in SetMemoryPolicy()
1206 const ManagedMemoryPolicy& policy, bool zero_budget) { in SetManagedMemoryPolicy()
1210 ManagedMemoryPolicy old_policy = ActualManagedMemoryPolicy(); in SetManagedMemoryPolicy()
1214 ManagedMemoryPolicy actual_policy = ActualManagedMemoryPolicy(); in SetManagedMemoryPolicy()
[all …]
Dlayer_tree_host_pixeltest_on_demand_raster.cc32 ManagedMemoryPolicy(1, gpu::MemoryAllocation::CUTOFF_ALLOW_EVERYTHING, in BeginCommitOnThread()
Dlayer_tree_host_unittest.cc1913 host_impl->SetMemoryPolicy(ManagedMemoryPolicy(100 * 100 * 4 * 2)); in DrawLayersOnThread()
2470 ManagedMemoryPolicy(100 * 100 * 4 * 2, in DidActivateTreeOnThread()
4352 impl->SetMemoryPolicy(ManagedMemoryPolicy( in CommitCompleteOnThread()
4360 impl->SetMemoryPolicy(ManagedMemoryPolicy( in CommitCompleteOnThread()
4510 new ManagedMemoryPolicy( in CreateOutputSurface()
4515 ManagedMemoryPolicy::kDefaultNumResourcesLimit))); in CreateOutputSurface()
Dlayer_tree_host_impl_unittest.cc316 host_impl_->SetMemoryPolicy(ManagedMemoryPolicy( in CheckNotifyCalledIfCanDrawChanged()
324 host_impl_->SetMemoryPolicy(ManagedMemoryPolicy( in CheckNotifyCalledIfCanDrawChanged()
3924 host_impl_->SetMemoryPolicy(ManagedMemoryPolicy( in TEST_F()
3935 host_impl_->SetMemoryPolicy(ManagedMemoryPolicy( in TEST_F()
3944 host_impl_->SetMemoryPolicy(ManagedMemoryPolicy( in TEST_F()
3951 host_impl_->SetMemoryPolicy(ManagedMemoryPolicy( in TEST_F()
5052 ManagedMemoryPolicy policy1( in TEST_F()
5054 int everything_cutoff_value = ManagedMemoryPolicy::PriorityCutoffToValue( in TEST_F()
5056 int nothing_cutoff_value = ManagedMemoryPolicy::PriorityCutoffToValue( in TEST_F()
/external/chromium_org/content/renderer/gpu/
Dcompositor_output_surface.cc104 client->SetMemoryPolicy(cc::ManagedMemoryPolicy( in BindToClient()
107 cc::ManagedMemoryPolicy::kDefaultNumResourcesLimit)); in BindToClient()
/external/chromium_org/content/browser/android/in_process/
Dsynchronous_compositor_output_surface.h104 cc::ManagedMemoryPolicy memory_policy_; in NON_EXPORTED_BASE()
/external/chromium_org/content/common/gpu/client/
Dcontext_provider_command_buffer.cc191 memory_policy_changed_callback_.Run(cc::ManagedMemoryPolicy(allocation)); in OnMemoryAllocationChanged()