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/view_manager/gles2/gpu_memory_tracker.h"
9 GpuMemoryTracker::GpuMemoryTracker() {
12 void GpuMemoryTracker::TrackMemoryAllocatedChange(
15 gpu::gles2::MemoryTracker::Pool pool
) {
18 bool GpuMemoryTracker::EnsureGPUMemoryAvailable(size_t size_needed
) {
22 uint64_t GpuMemoryTracker::ClientTracingId() const {
26 int GpuMemoryTracker::ClientId() const {
30 GpuMemoryTracker::~GpuMemoryTracker() {