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

Side by Side Diff: components/mus/gles2/gpu_memory_tracker.cc

Issue 1344573002: Mandoline: Rename components/view_manager to components/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 3 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 | « components/mus/gles2/gpu_memory_tracker.h ('k') | components/mus/gles2/gpu_state.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/view_manager/gles2/gpu_memory_tracker.h" 5 #include "components/mus/gles2/gpu_memory_tracker.h"
6 6
7 namespace gles2 { 7 namespace gles2 {
8 8
9 GpuMemoryTracker::GpuMemoryTracker() { 9 GpuMemoryTracker::GpuMemoryTracker() {}
10 }
11 10
12 void GpuMemoryTracker::TrackMemoryAllocatedChange( 11 void GpuMemoryTracker::TrackMemoryAllocatedChange(
13 size_t old_size, 12 size_t old_size,
14 size_t new_size, 13 size_t new_size,
15 gpu::gles2::MemoryTracker::Pool pool) { 14 gpu::gles2::MemoryTracker::Pool pool) {}
16 }
17 15
18 bool GpuMemoryTracker::EnsureGPUMemoryAvailable(size_t size_needed) { 16 bool GpuMemoryTracker::EnsureGPUMemoryAvailable(size_t size_needed) {
19 return true; 17 return true;
20 } 18 }
21 19
22 uint64_t GpuMemoryTracker::ClientTracingId() const { 20 uint64_t GpuMemoryTracker::ClientTracingId() const {
23 return 0u; 21 return 0u;
24 } 22 }
25 23
26 int GpuMemoryTracker::ClientId() const { 24 int GpuMemoryTracker::ClientId() const {
27 return 0; 25 return 0;
28 } 26 }
29 27
30 GpuMemoryTracker::~GpuMemoryTracker() { 28 GpuMemoryTracker::~GpuMemoryTracker() {}
31 }
32 29
33 } // namespace gles2 30 } // namespace gles2
OLDNEW
« no previous file with comments | « components/mus/gles2/gpu_memory_tracker.h ('k') | components/mus/gles2/gpu_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698