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

Side by Side Diff: cc/output/managed_memory_policy.h

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 4 years, 12 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 unified diff | Download patch
« no previous file with comments | « cc/output/layer_quad.cc ('k') | cc/output/managed_memory_policy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_OUTPUT_MANAGED_MEMORY_POLICY_H_ 5 #ifndef CC_OUTPUT_MANAGED_MEMORY_POLICY_H_
6 #define CC_OUTPUT_MANAGED_MEMORY_POLICY_H_ 6 #define CC_OUTPUT_MANAGED_MEMORY_POLICY_H_
7 7
8 #include "base/basictypes.h" 8 #include <stddef.h>
9
9 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
10 #include "cc/tiles/tile_priority.h" 11 #include "cc/tiles/tile_priority.h"
11 #include "gpu/command_buffer/common/gpu_memory_allocation.h" 12 #include "gpu/command_buffer/common/gpu_memory_allocation.h"
12 13
13 namespace cc { 14 namespace cc {
14 15
15 namespace proto { 16 namespace proto {
16 class ManagedMemoryPolicy; 17 class ManagedMemoryPolicy;
17 } // namespace proto 18 } // namespace proto
18 19
(...skipping 17 matching lines...) Expand all
36 gpu::MemoryAllocation::PriorityCutoff priority_cutoff_when_visible; 37 gpu::MemoryAllocation::PriorityCutoff priority_cutoff_when_visible;
37 size_t num_resources_limit; 38 size_t num_resources_limit;
38 39
39 static TileMemoryLimitPolicy PriorityCutoffToTileMemoryLimitPolicy( 40 static TileMemoryLimitPolicy PriorityCutoffToTileMemoryLimitPolicy(
40 gpu::MemoryAllocation::PriorityCutoff priority_cutoff); 41 gpu::MemoryAllocation::PriorityCutoff priority_cutoff);
41 }; 42 };
42 43
43 } // namespace cc 44 } // namespace cc
44 45
45 #endif // CC_OUTPUT_MANAGED_MEMORY_POLICY_H_ 46 #endif // CC_OUTPUT_MANAGED_MEMORY_POLICY_H_
OLDNEW
« no previous file with comments | « cc/output/layer_quad.cc ('k') | cc/output/managed_memory_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698