Flutter Engine
The Flutter Engine
shader_function_gles.cc
Go to the documentation of this file.
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
6
7namespace impeller {
8
9ShaderFunctionGLES::ShaderFunctionGLES(
10 UniqueID library_id,
11 ShaderStage stage,
12 std::string name,
13 std::shared_ptr<const fml::Mapping> mapping)
14 : ShaderFunction(library_id, std::move(name), stage),
15 mapping_(std::move(mapping)) {}
16
17ShaderFunctionGLES::~ShaderFunctionGLES() = default;
18
19const std::shared_ptr<const fml::Mapping>&
20ShaderFunctionGLES::GetSourceMapping() const {
21 return mapping_;
22}
23
24} // namespace impeller
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32
Definition: ref_ptr.h:256