1 // Copyright 2013 The Flutter Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "flutter/lib/ui/painting/shader.h" 6 7 #include "flutter/lib/ui/ui_dart_state.h" 8 9 namespace flutter { 10 11 IMPLEMENT_WRAPPERTYPEINFO(ui, Shader); 12 Shader(flutter::SkiaGPUObject<SkShader> shader)13Shader::Shader(flutter::SkiaGPUObject<SkShader> shader) 14 : shader_(std::move(shader)) {} 15 16 Shader::~Shader() = default; 17 18 } // namespace flutter 19