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

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

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_memory_manager_client.h ('k') | content/content_common.gypi » ('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 #include "content/common/gpu/gpu_memory_manager_client.h" 5 #include "content/common/gpu/gpu_memory_manager_client.h"
6 6
7 #if defined(ENABLE_GPU)
8
9 #include "content/common/gpu/gpu_memory_manager.h" 7 #include "content/common/gpu/gpu_memory_manager.h"
10 8
11 namespace content { 9 namespace content {
12 10
13 GpuMemoryManagerClientState::GpuMemoryManagerClientState( 11 GpuMemoryManagerClientState::GpuMemoryManagerClientState(
14 GpuMemoryManager* memory_manager, 12 GpuMemoryManager* memory_manager,
15 GpuMemoryManagerClient* client, 13 GpuMemoryManagerClient* client,
16 GpuMemoryTrackingGroup* tracking_group, 14 GpuMemoryTrackingGroup* tracking_group,
17 bool has_surface, 15 bool has_surface,
18 bool visible) 16 bool visible)
(...skipping 21 matching lines...) Expand all
40 void GpuMemoryManagerClientState::SetVisible(bool visible) { 38 void GpuMemoryManagerClientState::SetVisible(bool visible) {
41 memory_manager_->SetClientStateVisible(this, visible); 39 memory_manager_->SetClientStateVisible(this, visible);
42 } 40 }
43 41
44 void GpuMemoryManagerClientState::SetManagedMemoryStats( 42 void GpuMemoryManagerClientState::SetManagedMemoryStats(
45 const GpuManagedMemoryStats& stats) { 43 const GpuManagedMemoryStats& stats) {
46 memory_manager_->SetClientStateManagedMemoryStats(this, stats); 44 memory_manager_->SetClientStateManagedMemoryStats(this, stats);
47 } 45 }
48 46
49 } // namespace content 47 } // namespace content
50
51 #endif
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_memory_manager_client.h ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698