| OLD | NEW |
| (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/view_manager/gles2/gpu_memory_tracker.h" | |
| 6 | |
| 7 namespace gles2 { | |
| 8 | |
| 9 GpuMemoryTracker::GpuMemoryTracker() { | |
| 10 } | |
| 11 | |
| 12 void GpuMemoryTracker::TrackMemoryAllocatedChange( | |
| 13 size_t old_size, | |
| 14 size_t new_size, | |
| 15 gpu::gles2::MemoryTracker::Pool pool) { | |
| 16 } | |
| 17 | |
| 18 bool GpuMemoryTracker::EnsureGPUMemoryAvailable(size_t size_needed) { | |
| 19 return true; | |
| 20 } | |
| 21 | |
| 22 uint64_t GpuMemoryTracker::ClientTracingId() const { | |
| 23 return 0u; | |
| 24 } | |
| 25 | |
| 26 int GpuMemoryTracker::ClientId() const { | |
| 27 return 0; | |
| 28 } | |
| 29 | |
| 30 GpuMemoryTracker::~GpuMemoryTracker() { | |
| 31 } | |
| 32 | |
| 33 } // namespace gles2 | |
| OLD | NEW |