Flutter Engine
The Flutter Engine
|
Classes | |
class | CompilerTest |
Functions | |
static std::string | GetIntermediatesPath () |
static std::string | ReflectionHeaderName (const char *fixture_name) |
static std::string | ReflectionCCName (const char *fixture_name) |
static std::string | ReflectionJSONName (const char *fixture_name) |
static std::string | SPIRVFileName (const char *fixture_name) |
static std::string | SLFileName (const char *fixture_name, TargetPlatform platform) |
TEST (CompilerTest, ShaderKindMatchingIsSuccessful) | |
TEST_P (CompilerTest, CanCompile) | |
TEST_P (CompilerTest, CanCompileHLSL) | |
TEST_P (CompilerTest, CanCompileHLSLWithMultipleStages) | |
TEST_P (CompilerTest, CanCompileComputeShader) | |
TEST_P (CompilerTest, MustFailDueToExceedingResourcesLimit) | |
TEST_P (CompilerTest, MustFailDueToMultipleLocationPerStructMember) | |
TEST_P (CompilerTest, BindingBaseForFragShader) | |
TEST_P (CompilerTest, UniformsHaveBindingAndSet) | |
TEST_P (CompilerTest, SkSLTextureLookUpOrderOfOperations) | |
TEST_P (CompilerTest, CanCompileStructs) | |
INSTANTIATE_TARGET_PLATFORM_TEST_SUITE_P (CompilerSuite) | |
TEST (ShaderBundleTest, ParseShaderBundleConfigFailsForInvalidJSON) | |
TEST (ShaderBundleTest, ParseShaderBundleConfigFailsWhenEntryNotObject) | |
TEST (ShaderBundleTest, ParseShaderBundleConfigFailsWhenMissingFile) | |
TEST (ShaderBundleTest, ParseShaderBundleConfigFailsWhenMissingType) | |
TEST (ShaderBundleTest, ParseShaderBundleConfigFailsForInvalidType) | |
TEST (ShaderBundleTest, ParseShaderBundleConfigFailsForInvalidLanguage) | |
TEST (ShaderBundleTest, ParseShaderBundleConfigReturnsExpectedConfig) | |
template<typename T > | |
const T * | FindByName (const std::vector< std::unique_ptr< T > > &collection, const std::string &name) |
TEST (ShaderBundleTest, GenerateShaderBundleFlatbufferProducesCorrectResult) | |
Switches | MakeSwitchesDesktopGL (std::initializer_list< const char * > additional_options={}) |
TEST (SwitchesTest, DoesntMangleUnicodeIncludes) | |
TEST (SwitchesTest, SourceLanguageDefaultsToGLSL) | |
TEST (SwitchesTest, SourceLanguageCanBeSetToHLSL) | |
TEST (SwitchesTest, DefaultEntryPointIsMain) | |
TEST (SwitchesTest, EntryPointCanBeSetForHLSL) | |
TEST (SwitchesTEst, ConvertToEntrypointName) | |
TEST (SwitchesTest, ShaderBundleModeValid) | |
Variables | |
const std::string | kUnlitFragmentBundleConfig |
const std::string | kUnlitVertexBundleConfig |
const T * impeller::compiler::testing::FindByName | ( | const std::vector< std::unique_ptr< T > > & | collection, |
const std::string & | name | ||
) |
Definition at line 119 of file shader_bundle_unittests.cc.
|
static |
Definition at line 16 of file compiler_test.cc.
impeller::compiler::testing::INSTANTIATE_TARGET_PLATFORM_TEST_SUITE_P | ( | CompilerSuite | ) |
Switches impeller::compiler::testing::MakeSwitchesDesktopGL | ( | std::initializer_list< const char * > | additional_options = {} | ) |
Definition at line 18 of file switches_unittests.cc.
|
static |
Definition at line 46 of file compiler_test.cc.
|
static |
Definition at line 40 of file compiler_test.cc.
|
static |
Definition at line 52 of file compiler_test.cc.
|
static |
Definition at line 64 of file compiler_test.cc.
|
static |
Definition at line 58 of file compiler_test.cc.
impeller::compiler::testing::TEST | ( | CompilerTest | , |
ShaderKindMatchingIsSuccessful | |||
) |
Definition at line 18 of file compiler_unittests.cc.
impeller::compiler::testing::TEST | ( | ShaderBundleTest | , |
GenerateShaderBundleFlatbufferProducesCorrectResult | |||
) |
Verify vertex shader.
Verify fragment shader.
Definition at line 130 of file shader_bundle_unittests.cc.
impeller::compiler::testing::TEST | ( | ShaderBundleTest | , |
ParseShaderBundleConfigFailsForInvalidJSON | |||
) |
Definition at line 24 of file shader_bundle_unittests.cc.
impeller::compiler::testing::TEST | ( | ShaderBundleTest | , |
ParseShaderBundleConfigFailsForInvalidLanguage | |||
) |
Definition at line 76 of file shader_bundle_unittests.cc.
impeller::compiler::testing::TEST | ( | ShaderBundleTest | , |
ParseShaderBundleConfigFailsForInvalidType | |||
) |
Definition at line 64 of file shader_bundle_unittests.cc.
impeller::compiler::testing::TEST | ( | ShaderBundleTest | , |
ParseShaderBundleConfigFailsWhenEntryNotObject | |||
) |
Definition at line 33 of file shader_bundle_unittests.cc.
impeller::compiler::testing::TEST | ( | ShaderBundleTest | , |
ParseShaderBundleConfigFailsWhenMissingFile | |||
) |
Definition at line 43 of file shader_bundle_unittests.cc.
impeller::compiler::testing::TEST | ( | ShaderBundleTest | , |
ParseShaderBundleConfigFailsWhenMissingType | |||
) |
Definition at line 53 of file shader_bundle_unittests.cc.
impeller::compiler::testing::TEST | ( | ShaderBundleTest | , |
ParseShaderBundleConfigReturnsExpectedConfig | |||
) |
Definition at line 88 of file shader_bundle_unittests.cc.
impeller::compiler::testing::TEST | ( | SwitchesTEst | , |
ConvertToEntrypointName | |||
) |
Definition at line 72 of file switches_unittests.cc.
impeller::compiler::testing::TEST | ( | SwitchesTest | , |
DefaultEntryPointIsMain | |||
) |
Definition at line 60 of file switches_unittests.cc.
impeller::compiler::testing::TEST | ( | SwitchesTest | , |
DoesntMangleUnicodeIncludes | |||
) |
Definition at line 31 of file switches_unittests.cc.
impeller::compiler::testing::TEST | ( | SwitchesTest | , |
EntryPointCanBeSetForHLSL | |||
) |
Definition at line 66 of file switches_unittests.cc.
impeller::compiler::testing::TEST | ( | SwitchesTest | , |
ShaderBundleModeValid | |||
) |
Definition at line 83 of file switches_unittests.cc.
impeller::compiler::testing::TEST | ( | SwitchesTest | , |
SourceLanguageCanBeSetToHLSL | |||
) |
Definition at line 54 of file switches_unittests.cc.
impeller::compiler::testing::TEST | ( | SwitchesTest | , |
SourceLanguageDefaultsToGLSL | |||
) |
Definition at line 48 of file switches_unittests.cc.
impeller::compiler::testing::TEST_P | ( | CompilerTest | , |
BindingBaseForFragShader | |||
) |
Definition at line 81 of file compiler_unittests.cc.
impeller::compiler::testing::TEST_P | ( | CompilerTest | , |
CanCompile | |||
) |
Definition at line 26 of file compiler_unittests.cc.
impeller::compiler::testing::TEST_P | ( | CompilerTest | , |
CanCompileComputeShader | |||
) |
Definition at line 56 of file compiler_unittests.cc.
impeller::compiler::testing::TEST_P | ( | CompilerTest | , |
CanCompileHLSL | |||
) |
Definition at line 36 of file compiler_unittests.cc.
impeller::compiler::testing::TEST_P | ( | CompilerTest | , |
CanCompileHLSLWithMultipleStages | |||
) |
Definition at line 44 of file compiler_unittests.cc.
impeller::compiler::testing::TEST_P | ( | CompilerTest | , |
CanCompileStructs | |||
) |
Definition at line 147 of file compiler_unittests.cc.
impeller::compiler::testing::TEST_P | ( | CompilerTest | , |
MustFailDueToExceedingResourcesLimit | |||
) |
Definition at line 64 of file compiler_unittests.cc.
impeller::compiler::testing::TEST_P | ( | CompilerTest | , |
MustFailDueToMultipleLocationPerStructMember | |||
) |
Definition at line 73 of file compiler_unittests.cc.
impeller::compiler::testing::TEST_P | ( | CompilerTest | , |
SkSLTextureLookUpOrderOfOperations | |||
) |
Definition at line 130 of file compiler_unittests.cc.
impeller::compiler::testing::TEST_P | ( | CompilerTest | , |
UniformsHaveBindingAndSet | |||
) |
Definition at line 101 of file compiler_unittests.cc.
const std::string impeller::compiler::testing::kUnlitFragmentBundleConfig |
Definition at line 17 of file shader_bundle_unittests.cc.
const std::string impeller::compiler::testing::kUnlitVertexBundleConfig |
Definition at line 20 of file shader_bundle_unittests.cc.