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

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

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "components/mus/gles2/gpu_memory_tracker.h"
6
7 namespace mus {
8
9 GpuMemoryTracker::GpuMemoryTracker() {}
10
11 void GpuMemoryTracker::TrackMemoryAllocatedChange(
12 size_t old_size,
13 size_t new_size) {}
14
15 bool GpuMemoryTracker::EnsureGPUMemoryAvailable(size_t size_needed) {
16 return true;
17 }
18
19 uint64_t GpuMemoryTracker::ClientTracingId() const {
20 return 0u;
21 }
22
23 int GpuMemoryTracker::ClientId() const {
24 return 0;
25 }
26
27 uint64_t GpuMemoryTracker::ShareGroupTracingGUID() const {
28 // TODO(rjkroege): This should return a GUID which identifies the share group
29 // we are tracking memory for. This GUID should correspond to the GUID of the
30 // first command buffer in the share group.
31 return 0;
32 }
33
34 GpuMemoryTracker::~GpuMemoryTracker() {}
35
36 } // namespace mus
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