chromium/third_party/angle/src/common/RingBufferAllocator.cpp

//
// Copyright 2022 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// RingBufferAllocator.cpp:
//    Implements classes used for ring buffer allocators.
//

#include "common/RingBufferAllocator.h"

namespace angle
{

// RingBufferAllocator implementation.
RingBufferAllocator::RingBufferAllocator(RingBufferAllocator &&other)
{}

RingBufferAllocator &RingBufferAllocator::operator=(RingBufferAllocator &&other)
{}

void RingBufferAllocator::reset()
{}

void RingBufferAllocator::setListener(RingBufferAllocateListener *listener)
{}

void RingBufferAllocator::setDecaySpeedFactor(uint32_t decaySpeedFactor)
{}

RingBufferAllocatorCheckPoint RingBufferAllocator::getReleaseCheckPoint() const
{}

void RingBufferAllocator::release(const RingBufferAllocatorCheckPoint &checkPoint)
{}

void RingBufferAllocator::setFragmentReserve(uint32_t reserve)
{}

uint8_t *RingBufferAllocator::allocateInNewFragment(uint32_t size)
{}

void RingBufferAllocator::resize(uint32_t newCapacity)
{}

void RingBufferAllocator::release(uint8_t *releasePtr)
{}

uint32_t RingBufferAllocator::getNumAllocatedInBuffer() const
{}

void RingBufferAllocator::resetPointers()
{}

// SharedRingBufferAllocator implementation.
SharedRingBufferAllocator::SharedRingBufferAllocator()
{}

SharedRingBufferAllocator::~SharedRingBufferAllocator()
{}

SharedRingBufferAllocatorCheckPoint *SharedRingBufferAllocator::acquireSharedCP()
{}

void SharedRingBufferAllocator::releaseToSharedCP()
{}

void SharedRingBufferAllocatorCheckPoint::releaseAndUpdate(RingBufferAllocatorCheckPoint *newValue)
{}

RingBufferAllocatorCheckPoint SharedRingBufferAllocatorCheckPoint::pop()
{}

}  // namespace angle