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"
9 GpuMemoryTracker::GpuMemoryTracker() {}
11 void GpuMemoryTracker::TrackMemoryAllocatedChange(
14 gpu::gles2::MemoryTracker::Pool pool
) {}
16 bool GpuMemoryTracker::EnsureGPUMemoryAvailable(size_t size_needed
) {
20 uint64_t GpuMemoryTracker::ClientTracingId() const {
24 int GpuMemoryTracker::ClientId() const {
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.
35 GpuMemoryTracker::~GpuMemoryTracker() {}