1 /* 2 * Copyright 2016 Google Inc. 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 #include "SkTypes.h" 9 #if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) 10 11 #include "SkData.h" 12 #include "SkImageGenerator.h" 13 14 #include <memory> 15 16 namespace SkImageGeneratorCG { 17 SK_API std::unique_ptr<SkImageGenerator> MakeFromEncodedCG(sk_sp<SkData>); 18 } 19 20 #endif //defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) 21