forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Windows] Alternative Windows shell platform implementation (flutter#…
…9835) Start work on flutter/flutter#30726 by adding an alternative win32 shell platform implementation for Windows that is not based on GLFW and that uses LIBANGLE for rendering and native win32 windowing and input. This change does not replace the GLFW implementation but rather runs side by side with it producing a secondary flutter_windows_win32.dll artifact. The following items must be added to attain parity with the GLFW implementation: - Custom task scheduling - Support for keyboard modifier keys - Async texture uploads - Correct high DPI handling on Windows versions < 1703 and will be added in subsequent changes.
- Loading branch information
1 parent
c5e3055
commit ff484d4
Showing
39 changed files
with
9,990 additions
and
1,254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
shell/platform/common/cpp/client_wrapper/core_wrapper_files.gni
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Copyright 2013 The Flutter Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
core_cpp_client_wrapper_includes = | ||
get_path_info([ | ||
"include/flutter/basic_message_channel.h", | ||
"include/flutter/binary_messenger.h", | ||
"include/flutter/encodable_value.h", | ||
"include/flutter/engine_method_result.h", | ||
"include/flutter/json_message_codec.h", | ||
"include/flutter/json_method_codec.h", | ||
"include/flutter/json_type.h", | ||
"include/flutter/message_codec.h", | ||
"include/flutter/method_call.h", | ||
"include/flutter/method_channel.h", | ||
"include/flutter/method_codec.h", | ||
"include/flutter/method_result.h", | ||
"include/flutter/plugin_registrar.h", | ||
"include/flutter/standard_message_codec.h", | ||
"include/flutter/standard_method_codec.h", | ||
], | ||
"abspath") | ||
|
||
# TODO: Once the wrapper API is more stable, consolidate to as few files as is | ||
# reasonable (without forcing different kinds of clients to take unnecessary | ||
# code) to simplify use. | ||
core_cpp_client_wrapper_sources = | ||
get_path_info( | ||
[ | ||
"byte_stream_wrappers.h", | ||
"engine_method_result.cc", | ||
"json_message_codec.cc", # TODO combine into a single json_codec.cc. | ||
"json_method_codec.cc", # TODO combine into a single json_codec.cc. | ||
"plugin_registrar.cc", | ||
"standard_codec_serializer.h", | ||
"standard_codec.cc", | ||
], | ||
"abspath") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.