Flutter Engine
The Flutter Engine
impeller
compiler
source_options.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/compiler/source_options.h
"
6
7
namespace
impeller
{
8
namespace
compiler
{
9
10
SourceOptions::SourceOptions
() =
default
;
11
12
SourceOptions::SourceOptions
(
const
std::string& file_name,
13
SourceType
source_type)
14
:
type
(source_type ==
SourceType
::kUnknown
15
?
SourceTypeFromFileName
(file_name)
16
: source_type),
17
file_name(file_name) {}
18
19
SourceOptions::~SourceOptions
() =
default
;
20
21
}
// namespace compiler
22
}
// namespace impeller
type
GLenum type
Definition:
blit_command_gles.cc:126
compiler
Definition:
compiler.py:1
impeller::compiler::SourceType
SourceType
Definition:
types.h:21
impeller::compiler::SourceTypeFromFileName
SourceType SourceTypeFromFileName(const std::string &file_name)
Definition:
types.cc:30
impeller
Definition:
texture.h:18
source_options.h
impeller::compiler::SourceOptions::SourceOptions
SourceOptions()
impeller::compiler::SourceOptions::~SourceOptions
~SourceOptions()
Generated on Sun Jun 23 2024 21:54:59 for Flutter Engine by
1.9.4