* Update ICU data paths for the move of third_party/icu out of the buildroot
* Link with -rdynamic to enable lookup of Dart resource symbols within the app executables
* Use Material 3 text styles that are supported by the current Flutter framework
As part of eliminating the Flutter buildroot (#67373), we are moving all
third-party dependencies from //third_party to //flutter/third_party.
This is the engine-side follow-up to flutter/buildroot#777.
Once all third-party dependencies have been migrated, tooling and config
will be moved and the buildroot will be eliminated altogether.
Issue: https://github.com/flutter/flutter/issues/136284
No tests changed because there is no semantic change to this PR. This is
simply relocating a dependency.
Stop using the special fuchsia headers, as they are contributing to
undefined behavior when building with LTO.
They are also no longer needed. All relevant fuchsia extensions were
upstreamed some time ago.
In the process, engage in some cleanup which means the "vulkan_config"
is also no longer needed. Rely on GN "public_deps" to provide the vulkan
include paths to various source sets.
See b/291462180 for more details on why this fix was neccesary.
* Update the GLFW example callbacks.
* Update the dart example.
* Update CMakeLists
* Update library dependencies in the BUILD file.
* Documenting.
* Formatting.
* Update the callback name.
* Move glfw_drm example to a new folder.
* Create new example folder for drm_embedder.
* Add the flutter spinkit dependency
* Update BUILD files.
* Do not compile glfw_drm example if running it on mac.
* Update the executable name for the glfw_drm example.
* Avoid looking for the surface and display every time since they are always the same.
* Formatting.
* GN formatting.
* Update the way the user malloc's the existing damage
* Update comment
* Update example and add gitignore.
Co-authored-by: Bernardo Eilert Trevisan <btrevisan@google.com>
Roll Swiftshader, ANGLE, and Vulkan deps.
Updates license bot for new locations of licenses and new files
in roll.
Converts unit test harnesses to use SwANGLE, which is the
supported way of using SwiftShader as a software backend for GLES.
Updates goldens due to swiftshader changes.
Fixes up include paths to avoid directly including third_party
code by that name, which is unlikely to work in other build
environments.
Includes upstream patches to ANGLE and SwiftShader to build in our
windows environments, as well as patches to Skia to support
defining the location of VulkanMemoryAllocator and a patch to ANGLE
to support opting into a newer version of VMA.
Corrects uses of setup as a verb to 'set up', leaves noun/noun-phrase
forms of setup as 'setup'. Also settles on 'teardown' as opposed to
tear-down for consistency across the codebase.
A few other minor comment/wording corrections.
GLFW Error callback useful to clarify reasons of 'glfwInit()' failure.
On some platforms/desktop environments may be really strange failure reasons, like (in my case): "Linux: Failed to initialize inotify: Too many open files", so descriptive error messages helps to solve problem.
We currently use a mix of C standard includes (e.g. limits.h) and their
C++ variants (e.g. climits). This migrates to a consistent style for all
cases where the C++ variants are acceptable, but leaves the C
equivalents in place where they are required, such as in the embedder
API and other headers that may be used from C.
Add copyright headers in a few files where they were missing.
Trim trailing blank comment line where present, for consistency with
other engine code.
Use the standard libtxt copyright header in one file where it differed
(extra (C) and comma compared to other files in libtxt).
This also amends tools/const_finder/test/const_finder_test.dart to look
for a const an additional four lines down to account for the copyright
header added to the test fixture.
These target are no longer built or referenced in either the Flutter or
Fuchsia buildroots. Similar examples are present in the examples/ directory
in the framework.
- Fix flutter_aot_app template for moved Flutter tool GN label.
- Add missing dart:io tree-shaking roots.
- Add example AOT app to catch future breakage.
* Remove the Point class.
* Add Size.contains and Rect.translate for consistency
* Make Offset and Size compare == with subclasses.
Without this we would break the _DebugSize hack.
* Fix copy/pasta
* Fix the examples in the engine repo