Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
shader_library.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
10
12
14 std::string name, // NOLINT(performance-unnecessary-value-param)
15 ShaderStage stage,
16 std::shared_ptr<fml::Mapping>
17 code, // NOLINT(performance-unnecessary-value-param)
19 callback) { // NOLINT(performance-unnecessary-value-param)
20 if (callback) {
21 callback(false);
22 }
23}
24
25} // namespace impeller
virtual void RegisterFunction(std::string name, ShaderStage stage, std::shared_ptr< fml::Mapping > code, RegistrationCallback callback)
std::function< void(bool)> RegistrationCallback
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
const char * name
Definition fuchsia.cc:50