fadbfcd4ab
Bug: skia: Change-Id: I054560b66c6cde346d939015326d8547879d2c4b Reviewed-on: https://skia-review.googlesource.com/81160 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Reed <reed@google.com>
25 lines
710 B
C++
25 lines
710 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;
|
|
|
|
// DEPRECATED -- these can all be called directly using SkFlattenable.h
|
|
|
|
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
|