chromium/gpu/command_buffer/common/id_allocator.cc

// Copyright 2011 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// This file contains the implementation of IdAllocator.

#include "gpu/command_buffer/common/id_allocator.h"

#include <stdint.h>

#include <limits>
#include "base/check.h"

namespace gpu {

IdAllocator::IdAllocator() {}

IdAllocator::~IdAllocator() = default;

ResourceId IdAllocator::AllocateID() {}

ResourceId IdAllocator::AllocateIDAtOrAbove(ResourceId desired_id) {}

ResourceId IdAllocator::AllocateIDRange(uint32_t range) {}

bool IdAllocator::MarkAsUsed(ResourceId id) {}

void IdAllocator::FreeID(ResourceId id) {}

void IdAllocator::FreeIDRange(ResourceId first_id, uint32_t range) {}

bool IdAllocator::InUse(ResourceId id) const {}

}  // namespace gpu