Chromium Code Reviews

Unified Diff: cc/output/managed_memory_policy.h

Issue 577643002: Making OutputSurface a begin frame source and vsync source. (Closed)
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | 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
index ad0224b6c42ca4f55dba72e9b2ea166fb767162b..830c43be120a5fe0d6c0c9562b869f8a4e8ec419 100644
--- a/cc/output/managed_memory_policy.h
+++ b/cc/output/managed_memory_policy.h
@@ -6,6 +6,7 @@
#define CC_OUTPUT_MANAGED_MEMORY_POLICY_H_
#include "base/basictypes.h"
+#include "base/debug/trace_event_argument.h"
#include "cc/base/cc_export.h"
#include "cc/resources/tile_priority.h"
#include "gpu/command_buffer/common/gpu_memory_allocation.h"
@@ -33,6 +34,8 @@ struct CC_EXPORT ManagedMemoryPolicy {
gpu::MemoryAllocation::PriorityCutoff priority_cutoff);
static TileMemoryLimitPolicy PriorityCutoffToTileMemoryLimitPolicy(
gpu::MemoryAllocation::PriorityCutoff priority_cutoff);
+
+ void AsValueInto(base::debug::TracedValue* dict) const;
};
} // namespace cc
« no previous file with comments | « no previous file | cc/output/managed_memory_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine