| 1 |
/* |
| 2 |
* Copyright 2026 Google LLC |
| 3 |
* |
| 4 |
* Use of this source code is governed by a BSD-style license that can be |
| 5 |
* found in the LICENSE file. |
| 6 |
*/ |
| 7 |
|
| 8 |
#ifndef DeserialProcsUtils_DEFINED |
| 9 |
#define DeserialProcsUtils_DEFINED |
| 10 |
|
| 11 |
#include "include/core/SkSerialProcs.h" |
| 12 |
|
| 13 |
namespace ToolUtils { |
| 14 |
|
| 15 |
// Returns the default SkDeserialProcs used by Skia's tools when Deserializing Skps. This adds |
| 16 |
// default values for the SkDeserialImageProc and SkDeserialTypefaceProc.. |
| 17 |
SkDeserialProcs get_default_skp_deserial_procs(); |
| 18 |
|
| 19 |
} // namespace ToolUtils |
| 20 |
|
| 21 |
#endif // ToolUtils_DEFINED |