chromium/third_party/skia/src/core/SkFlattenable.cpp

/*
 * Copyright 2011 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */
#include "include/core/SkFlattenable.h"

#include "include/core/SkData.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkSerialProcs.h"
#include "include/core/SkTypes.h"
#include "include/private/base/SkTDArray.h"
#include "src/core/SkPtrRecorder.h"
#include "src/core/SkReadBuffer.h"
#include "src/core/SkWriteBuffer.h"

#include <algorithm>
#include <cstdint>
#include <cstring>
#include <iterator>
#include <utility>

SkNamedFactorySet::SkNamedFactorySet() :{}

uint32_t SkNamedFactorySet::find(SkFlattenable::Factory factory) {}

const char* SkNamedFactorySet::getNextAddedFactoryName() {}

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

SkRefCntSet::~SkRefCntSet() {}

void SkRefCntSet::incPtr(void* ptr) {}

void SkRefCntSet::decPtr(void* ptr) {}

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

namespace {

struct Entry {};

struct EntryComparator {};

int gCount =;
Entry gEntries[128];

}  // namespace

void SkFlattenable::Finalize() {}

void SkFlattenable::Register(const char name[], Factory factory) {}

SkFlattenable::Factory SkFlattenable::NameToFactory(const char name[]) {}

const char* SkFlattenable::FactoryToName(Factory fact) {}

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

sk_sp<SkData> SkFlattenable::serialize(const SkSerialProcs* procs) const {}

size_t SkFlattenable::serialize(void* memory, size_t memory_size,
                                const SkSerialProcs* procs) const {}

sk_sp<SkFlattenable> SkFlattenable::Deserialize(SkFlattenable::Type type, const void* data,
                                                size_t size, const SkDeserialProcs* procs) {}