cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / components / view_manager / gles2 / gpu_memory_tracker.cc
blob5dce770c5a2ce51dc89e8b83cda0364aefc809f9
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"
7 namespace gles2 {
9 GpuMemoryTracker::GpuMemoryTracker() {
12 void GpuMemoryTracker::TrackMemoryAllocatedChange(
13 size_t old_size,
14 size_t new_size,
15 gpu::gles2::MemoryTracker::Pool pool) {
18 bool GpuMemoryTracker::EnsureGPUMemoryAvailable(size_t size_needed) {
19 return true;
22 uint64_t GpuMemoryTracker::ClientTracingId() const {
23 return 0u;
26 int GpuMemoryTracker::ClientId() const {
27 return 0;
30 GpuMemoryTracker::~GpuMemoryTracker() {
33 } // namespace gles2