chromium/third_party/skia/src/gpu/ganesh/GrMemoryPool.cpp

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

#include "src/gpu/ganesh/GrMemoryPool.h"

#include "include/core/SkTypes.h"
#include "include/private/base/SkDebug.h"
#include "include/private/base/SkTPin.h"

#include <cstring>
#include <new>

#ifdef SK_DEBUG
    #include <atomic>
#endif

///////////////////////////////////////////////////////////////////////////////////////////////////

std::unique_ptr<GrMemoryPool> GrMemoryPool::Make(size_t preallocSize, size_t minAllocSize) {}

GrMemoryPool::GrMemoryPool(size_t preallocSize, size_t minAllocSize)
        :{}

GrMemoryPool::~GrMemoryPool() {}

void GrMemoryPool::reportLeaks() const {}

void* GrMemoryPool::allocate(size_t size) {}

void GrMemoryPool::release(void* p) {}

#ifdef SK_DEBUG
void GrMemoryPool::validate() const {}
#endif