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

Side by Side Diff: content/common/gpu/gpu_memory_tracking.h

Issue 11722024: Remove some usage of the ENABLE_GPU macro. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « content/common/gpu/gpu_memory_manager.cc ('k') | content/common/gpu/gpu_memory_tracking.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_COMMON_GPU_GPU_MEMORY_TRACKING_H_ 5 #ifndef CONTENT_COMMON_GPU_GPU_MEMORY_TRACKING_H_
6 #define CONTENT_COMMON_GPU_GPU_MEMORY_TRACKING_H_ 6 #define CONTENT_COMMON_GPU_GPU_MEMORY_TRACKING_H_
7 7
8 #if defined(ENABLE_GPU)
9
10 #include "base/basictypes.h" 8 #include "base/basictypes.h"
11 #include "base/process.h" 9 #include "base/process.h"
12 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
13 #include "gpu/command_buffer/service/memory_tracking.h" 11 #include "gpu/command_buffer/service/memory_tracking.h"
14 12
15 namespace content { 13 namespace content {
16 14
17 class GpuMemoryManager; 15 class GpuMemoryManager;
18 16
19 // All decoders in a context group point to a single GpuMemoryTrackingGroup, 17 // All decoders in a context group point to a single GpuMemoryTrackingGroup,
(...skipping 28 matching lines...) Expand all
48 // Set and used only during the Manage function, to determine which 46 // Set and used only during the Manage function, to determine which
49 // non-surface clients should be hibernated. 47 // non-surface clients should be hibernated.
50 bool hibernated_; 48 bool hibernated_;
51 49
52 gpu::gles2::MemoryTracker* memory_tracker_; 50 gpu::gles2::MemoryTracker* memory_tracker_;
53 GpuMemoryManager* memory_manager_; 51 GpuMemoryManager* memory_manager_;
54 }; 52 };
55 53
56 } // namespace content 54 } // namespace content
57 55
58 #endif
59
60 #endif // CONTENT_COMMON_GPU_GPU_MEMORY_TRACKING_H_ 56 #endif // CONTENT_COMMON_GPU_GPU_MEMORY_TRACKING_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_memory_manager.cc ('k') | content/common/gpu/gpu_memory_tracking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698