Flutter Impeller
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
5
#include "
impeller/renderer/backend/gles/shader_function_gles.h
"
6
7
namespace
impeller
{
8
9
ShaderFunctionGLES::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
17
ShaderFunctionGLES::~ShaderFunctionGLES
() =
default
;
18
19
const
std::shared_ptr<const fml::Mapping>&
20
ShaderFunctionGLES::GetSourceMapping
()
const
{
21
return
mapping_;
22
}
23
24
}
// namespace impeller
impeller::ShaderStage
ShaderStage
Definition:
shader_types.h:22
impeller::ShaderFunctionGLES::GetSourceMapping
const std::shared_ptr< const fml::Mapping > & GetSourceMapping() const
Definition:
shader_function_gles.cc:20
impeller::ShaderFunctionGLES::~ShaderFunctionGLES
~ShaderFunctionGLES() override
shader_function_gles.h
std
Definition:
comparable.h:95
impeller
Definition:
aiks_blur_unittests.cc:20
impeller
renderer
backend
gles
shader_function_gles.cc
Generated by
1.8.17