Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: include/core/SkFlattenableSerialization.h

Issue 22591002: Adding 2 functions to the Skia API (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: New serialization functions Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/core.gypi ('k') | src/core/SkFlattenableSerialization.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkFlattenableSerialization.h
diff --git a/include/core/SkFlattenableSerialization.h b/include/core/SkFlattenableSerialization.h
new file mode 100644
index 0000000000000000000000000000000000000000..53a9e9c832d18a1574e8caafd9b1436986ed44b7
--- /dev/null
+++ b/include/core/SkFlattenableSerialization.h
@@ -0,0 +1,20 @@
+/*
+ * 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 "SkTypes.h"
+
+class SkData;
+class SkFlattenable;
+class SkImageFilter;
+
+SK_API SkData* SkSerializeFlattenable(SkFlattenable*);
reed1 2013/08/07 19:32:56 Lets keep these in parallel. Why not change the fi
scroggo 2013/08/07 19:34:33 Please add some comments.
+SK_API SkImageFilter* SkDeserializeImageFilter(const void* data, size_t size)
scroggo 2013/08/07 19:34:33 Will/might there be a need to serialize other obje
+
+#endif
« no previous file with comments | « gyp/core.gypi ('k') | src/core/SkFlattenableSerialization.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698