5e25717ab6
BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4184 Change-Id: Iad792cfdf54087ad4c424fd268559c162a9a5f5c Reviewed-on: https://skia-review.googlesource.com/4184 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Mike Reed <reed@google.com>
23 lines
637 B
C++
23 lines
637 B
C++
/*
|
|
* Copyright 2013 Google Inc.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
#ifndef SkFlattenableSerialization_DEFINED
|
|
#define SkFlattenableSerialization_DEFINED
|
|
|
|
#include "SkFlattenable.h"
|
|
|
|
class SkData;
|
|
class SkImageFilter;
|
|
|
|
SK_API SkData* SkValidatingSerializeFlattenable(SkFlattenable*);
|
|
SK_API SkFlattenable* SkValidatingDeserializeFlattenable(const void* data, size_t size,
|
|
SkFlattenable::Type type);
|
|
|
|
SK_API sk_sp<SkImageFilter> SkValidatingDeserializeImageFilter(const void* data, size_t size);
|
|
|
|
#endif
|