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

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

Issue 25666014: Remove the ENABLE_GPU #define and enable_gpu gyp variable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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_channel.cc ('k') | content/common/gpu/gpu_memory_manager_client.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_MANAGER_CLIENT_H_ 5 #ifndef CONTENT_COMMON_GPU_GPU_MEMORY_MANAGER_CLIENT_H_
6 #define CONTENT_COMMON_GPU_GPU_MEMORY_MANAGER_CLIENT_H_ 6 #define CONTENT_COMMON_GPU_GPU_MEMORY_MANAGER_CLIENT_H_
7 7
8 #if defined(ENABLE_GPU)
9
10 #include <list> 8 #include <list>
11 9
12 #include "base/basictypes.h" 10 #include "base/basictypes.h"
13 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
14 #include "content/common/gpu/gpu_memory_allocation.h" 12 #include "content/common/gpu/gpu_memory_allocation.h"
15 #include "gpu/command_buffer/service/memory_tracking.h" 13 #include "gpu/command_buffer/service/memory_tracking.h"
16 #include "ui/gfx/size.h" 14 #include "ui/gfx/size.h"
17 15
18 namespace content { 16 namespace content {
19 17
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 uint64 bytes_allocation_ideal_required_; 99 uint64 bytes_allocation_ideal_required_;
102 uint64 bytes_allocation_ideal_minimum_; 100 uint64 bytes_allocation_ideal_minimum_;
103 101
104 // Set to disable allocating a frontbuffer or to disable allocations 102 // Set to disable allocating a frontbuffer or to disable allocations
105 // for clients that don't have surfaces. 103 // for clients that don't have surfaces.
106 bool hibernated_; 104 bool hibernated_;
107 }; 105 };
108 106
109 } // namespace content 107 } // namespace content
110 108
111 #endif
112
113 #endif // CONTENT_COMMON_GPU_GPU_MEMORY_MANAGER_CLIENT_H_ 109 #endif // CONTENT_COMMON_GPU_GPU_MEMORY_MANAGER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_channel.cc ('k') | content/common/gpu/gpu_memory_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698