Linux: Depend on liberation-fonts package for RPMs.
[chromium-blink-merge.git] / components / mus / gles2 / gpu_memory_tracker.cc
blob7936f8b8849ac76cbc25d2ab9251fc4c6763b81e
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.
5 #include "components/mus/gles2/gpu_memory_tracker.h"
7 namespace mus {
9 GpuMemoryTracker::GpuMemoryTracker() {}
11 void GpuMemoryTracker::TrackMemoryAllocatedChange(
12 size_t old_size,
13 size_t new_size,
14 gpu::gles2::MemoryTracker::Pool pool) {}
16 bool GpuMemoryTracker::EnsureGPUMemoryAvailable(size_t size_needed) {
17 return true;
20 uint64_t GpuMemoryTracker::ClientTracingId() const {
21 return 0u;
24 int GpuMemoryTracker::ClientId() const {
25 return 0;
28 uint64_t GpuMemoryTracker::ShareGroupTracingGUID() const {
29 // TODO(rjkroege): This should return a GUID which identifies the share group
30 // we are tracking memory for. This GUID should correspond to the GUID of the
31 // first command buffer in the share group.
32 return 0;
35 GpuMemoryTracker::~GpuMemoryTracker() {}
37 } // namespace mus