chromium/third_party/skia/src/text/gpu/SubRunAllocator.cpp

/*
 * Copyright 2021 Google LLC
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "src/text/gpu/SubRunAllocator.h"

#include "include/private/base/SkMath.h"
#include "include/private/base/SkTFitsIn.h"

#include <cstddef>
#include <memory>
#include <new>

namespace sktext::gpu {

// -- BagOfBytes ---------------------------------------------------------------------------------
BagOfBytes::BagOfBytes(char* bytes, size_t size, size_t firstHeapAllocation)
        :{}

BagOfBytes::BagOfBytes(size_t firstHeapAllocation)
        :{}

BagOfBytes::~BagOfBytes() {}

BagOfBytes::Block::Block(char* previous, char* startOfBlock)
        :{}

void* BagOfBytes::alignedBytes(int size, int alignment) {}

void BagOfBytes::setupBytesAndCapacity(char* bytes, int size) {}

void BagOfBytes::needMoreBytes(int requestedSize, int alignment) {}

// -- SubRunAllocator ----------------------------------------------------------------------------
SubRunAllocator::SubRunAllocator(char* bytes, int size, int firstHeapAllocation)
        :{}

SubRunAllocator::SubRunAllocator(int firstHeapAllocation)
        :{}

void* SubRunAllocator::alignedBytes(int unsafeSize, int unsafeAlignment) {}

}  // namespace sktext::gpu