Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Unified Diff: cc/output/managed_memory_policy.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/output/latency_info_swap_promise.cc ('k') | cc/output/managed_memory_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/managed_memory_policy.h
diff --git a/cc/output/managed_memory_policy.h b/cc/output/managed_memory_policy.h
deleted file mode 100644
index ad0224b6c42ca4f55dba72e9b2ea166fb767162b..0000000000000000000000000000000000000000
--- a/cc/output/managed_memory_policy.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CC_OUTPUT_MANAGED_MEMORY_POLICY_H_
-#define CC_OUTPUT_MANAGED_MEMORY_POLICY_H_
-
-#include "base/basictypes.h"
-#include "cc/base/cc_export.h"
-#include "cc/resources/tile_priority.h"
-#include "gpu/command_buffer/common/gpu_memory_allocation.h"
-
-namespace cc {
-
-struct CC_EXPORT ManagedMemoryPolicy {
- static const size_t kDefaultNumResourcesLimit;
-
- explicit ManagedMemoryPolicy(size_t bytes_limit_when_visible);
- explicit ManagedMemoryPolicy(
- const gpu::MemoryAllocation& allocation);
- ManagedMemoryPolicy(
- size_t bytes_limit_when_visible,
- gpu::MemoryAllocation::PriorityCutoff priority_cutoff_when_visible,
- size_t num_resources_limit);
- bool operator==(const ManagedMemoryPolicy&) const;
- bool operator!=(const ManagedMemoryPolicy&) const;
-
- size_t bytes_limit_when_visible;
- gpu::MemoryAllocation::PriorityCutoff priority_cutoff_when_visible;
- size_t num_resources_limit;
-
- static int PriorityCutoffToValue(
- gpu::MemoryAllocation::PriorityCutoff priority_cutoff);
- static TileMemoryLimitPolicy PriorityCutoffToTileMemoryLimitPolicy(
- gpu::MemoryAllocation::PriorityCutoff priority_cutoff);
-};
-
-} // namespace cc
-
-#endif // CC_OUTPUT_MANAGED_MEMORY_POLICY_H_
« no previous file with comments | « cc/output/latency_info_swap_promise.cc ('k') | cc/output/managed_memory_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698