summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/client/id_allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/client/id_allocator.h')
-rw-r--r--gpu/command_buffer/client/id_allocator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gpu/command_buffer/client/id_allocator.h b/gpu/command_buffer/client/id_allocator.h
index 2b78f98..2731366 100644
--- a/gpu/command_buffer/client/id_allocator.h
+++ b/gpu/command_buffer/client/id_allocator.h
@@ -21,19 +21,19 @@ class IdAllocator {
IdAllocator();
// Allocates a new resource ID.
- gpu::ResourceId AllocateID() {
+ ResourceId AllocateID() {
unsigned int bit = FindFirstFree();
SetBit(bit, true);
return bit;
}
// Frees a resource ID.
- void FreeID(gpu::ResourceId id) {
+ void FreeID(ResourceId id) {
SetBit(id, false);
}
// Checks whether or not a resource ID is in use.
- bool InUse(gpu::ResourceId id) {
+ bool InUse(ResourceId id) {
return GetBit(id);
}
private: