OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file contains the implementation of IdAllocator. | 5 // This file contains the implementation of IdAllocator. |
6 | 6 |
7 #include "../common/id_allocator.h" | 7 #include "gpu/command_buffer/common/id_allocator.h" |
8 #include "../common/logging.h" | 8 #include "gpu/command_buffer/common/logging.h" |
9 | 9 |
10 namespace gpu { | 10 namespace gpu { |
11 | 11 |
12 IdAllocatorInterface::~IdAllocatorInterface() { | 12 IdAllocatorInterface::~IdAllocatorInterface() { |
13 } | 13 } |
14 | 14 |
15 IdAllocator::IdAllocator() {} | 15 IdAllocator::IdAllocator() {} |
16 | 16 |
17 IdAllocator::~IdAllocator() {} | 17 IdAllocator::~IdAllocator() {} |
18 | 18 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 112 |
113 void NonReusedIdAllocator::FreeID(ResourceId id) { | 113 void NonReusedIdAllocator::FreeID(ResourceId id) { |
114 } | 114 } |
115 | 115 |
116 bool NonReusedIdAllocator::InUse(ResourceId id) const { | 116 bool NonReusedIdAllocator::InUse(ResourceId id) const { |
117 GPU_NOTREACHED(); | 117 GPU_NOTREACHED(); |
118 return false; | 118 return false; |
119 } | 119 } |
120 | 120 |
121 } // namespace gpu | 121 } // namespace gpu |
OLD | NEW |