lauren n. liberda
998f826cb9
allow supplying custom gn args in gn wrapper ( flutter/engine#41794 )
...
allows to supply gn args that do not have their cli switches (yet), like this:
```sh
python3 ./tools/gn --gn-args 'use_default_linux_sysroot=false'
```
*List which issues are fixed by this PR. You must list at least one issue.*
https://github.com/flutter/flutter/issues/126197
*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2023-05-11 20:13:50 +00:00
Samuel
3b10a111f4
fix: platform_dispatcher documentation typo ( flutter/engine#41739 )
...
fixes [https://github.com/flutter/flutter/issues/126082 ](https://github.com/flutter/flutter/issues/126082 )
*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2023-05-11 20:13:47 +00:00
Michael Ludwig
c80779a479
Remove GN staging flag for save layer bounds ( flutter/engine#41940 )
...
See skbug.com/12083, skbug.com/12303.
SkCanvas::saveLayer() calls with an SkColorFilter that affects transparent black will now fill out to the bounds of the clip before the layer, which prevents leaking internal layer allocation decisions in the final rendering.
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2023-05-11 19:51:48 +00:00
Jim Graham
5117fc0945
switch MockTexture off of MockCanvas calls ( flutter/engine#41906 )
...
Part of an ongoing set of efforts to address https://github.com/flutter/flutter/issues/106448
MockTexture now executes a call on the supplied DlCanvas object rather than creating its own list of MockCanvas-style draw calls. The TextureLayer tests now no longer use MockCanvas.
2023-05-11 18:37:15 +00:00
Greg Spencer
96db8b56f6
[Android] Lifecycle defaults to focused instead of unfocused ( flutter/engine#41875 )
...
## Description
In https://github.com/flutter/engine/pull/41702 , the default state of the focus bit is "false", assuming that Android will send an `onWindowFocusChanged(true)` when the window is first focused, but there appear to be some cases where that doesn't happen.
This change puts the initial state back to what it used to be: in the absence of focus change events, entering the "onResume" Android state will report the `resumed` state in Flutter. Before this PR, and after https://github.com/flutter/engine/pull/41702 , if no focus events were received, it would default to `inactive`.
## Tests
- Updated tests to match.
2023-05-11 18:08:04 +00:00
skia-flutter-autoroll
6ebd217f9c
Roll Skia from ccf73af6ca91 to aed81125e6bc (9 revisions) ( flutter/engine#41946 )
...
https://skia.googlesource.com/skia.git/+log/ccf73af6ca91..aed81125e6bc
2023-05-11 johnstiles@google.com Remove DSL type constants.
2023-05-11 jamesgk@google.com [sksl] Support dual-src blending in Metal
2023-05-11 jvanverth@google.com [Direct3D] Check for valid ID3D12PipelineState allocation.
2023-05-11 johnstiles@google.com Remove DSLExpression::field and DSLVar::field.
2023-05-11 johnstiles@google.com Remove operator overloads from DSLExpression.
2023-05-11 brianosman@google.com Change SkDrawable::newPictureSnapshot to makePictureSnapshot
2023-05-11 armansito@google.com [vello_cpp] Conditional compilation of shader and encoding features
2023-05-11 johnstiles@google.com Remove unused methods from DSLVar.
2023-05-11 johnstiles@google.com Remove DSL swizzle support.
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC aaclarke@google.com ,brianosman@google.com,djsollen@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-05-11 17:57:48 +00:00
godofredoc
93572e708a
Clobber caches in licenses test. ( flutter/engine#41942 )
...
This is to avoid files left in cache by other builds to interfere with the license check process.
Bug: https://github.com/flutter/flutter/issues/126475
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2023-05-11 16:48:37 +00:00
William Hesse
cb63c1f350
Add pkg:protobuf as a dependency for testing/dart ( flutter/engine#41938 )
...
Package vm_service added dependencies on protobuf and fixnum. Adding these, and transitive dependency on collections, to the path overrides in the testing/dart package's pubspec.yaml.
This is needed to roll https://github.com/dart-lang/sdk/commit/6c3c34560e6fdac211e362078557fdda254baf
2023-05-11 12:46:20 +00:00
skia-flutter-autoroll
81b645805d
Roll Skia from a12a999cbd09 to 0c979da775be (1 revision) ( flutter/engine#41935 )
...
https://skia.googlesource.com/skia.git/+log/a12a999cbd09..0c979da775be
2023-05-11 armansito@google.com [graphite][compute] Introduce VelloRenderer
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC aaclarke@google.com ,brianosman@google.com,djsollen@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-05-11 09:45:14 +00:00
skia-flutter-autoroll
866314e22c
Roll Skia from 1a29bd9a0147 to 9cbc2c578e10 (10 revisions) ( flutter/engine#41932 )
...
https://skia.googlesource.com/skia.git/+log/1a29bd9a0147..9cbc2c578e10
2023-05-11 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 569699725145 to 776a762c9a4d (47 revisions)
2023-05-11 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from c4d18f21ffde to 5a8b571f3a48 (12 revisions)
2023-05-11 johnstiles@google.com Remove last vestiges of DSL from SPIR-V code generator.
2023-05-11 johnstiles@google.com Remove DSL-based constructor expressions.
2023-05-11 johnstiles@google.com Apply RTFlip to the sk_FragCoord without using DSL.
2023-05-11 armansito@google.com [graphite][compute] Add ComputeStep definitions for Vello stages
2023-05-10 johnstiles@google.com Avoid DSL usage when emitting `DFdy`.
2023-05-10 johnstiles@google.com Rename assemble_compound to ConstructorCompound::MakeFromConstants.
2023-05-10 jvanverth@google.com Remove outdated comment.
2023-05-10 herb@google.com Expose the GPU side drawable
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC aaclarke@google.com ,brianosman@google.com,djsollen@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-05-11 07:01:05 +00:00
Jackson Gardner
d03ba5aacb
Return fonts in a deterministic order. ( flutter/engine#41907 )
...
We need to make sure to return fonts in the order we passed them in, so that unit tests don't flake if they load in a different order.
2023-05-11 05:13:03 +00:00
Srujan Gaddam
df4bd5d036
Turn @staticInterop tear-off into closure ( flutter/engine#41885 )
...
@staticInterop members will start disallowing tear-offs, so this member should turn into a closure.
The static check wasn't added in time, so this is modifying the source code again.
ee3ce32c7c was the original change, but the static error didn't make it into the Dart SDK, so this is fixing another tear-off.
- [] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See [testing the engine] for instructions on writing and running engine tests.
2023-05-11 00:18:14 +00:00
Mouad Debbar
9fce37c015
[web] Expose PlatformLocation and HashUrlStrategy through ui_web ( flutter/engine#41163 )
...
1. Expose `PlatformLocation` and its subclass `BrowserPlatformLocation` through the new `ui_web`.
2. Expose `HashUrlStrategy` too. It's useful for users who want to extend and customize it instead of building their own from scratch.
3. `ui_web/url_strategy.dart` => `ui_web/navigation/url_strategy.dart`.
2023-05-10 23:57:46 +00:00
Chris Bracken
de7c02c2cb
[macos] Disable background colour tests ( flutter/engine#41904 )
...
These tests are flaky. Until they've been deflaked, disable the
following two tests:
* FlutterEngineTest.BackgroundIsBlack
* FlutterEngineTest.CanOverrideBackgroundColor
Issue: https://github.com/flutter/flutter/issues/124677
2023-05-10 16:03:58 -07:00
Yegor
bdfce08b64
[web] generalize focusability in semantics ( flutter/engine#41831 )
...
Introduce 2 new classes for a11y focus management:
* `AccessibilityFocusManager`: a generic class that attaches "focus" and "blur" event handlers, and forwards the events to the framework as `SemanticsAction.didGainAccessibilityFocus` and `SemanticsAction.didLoseAccessibilityFocus` respectively. Provides the `changeFocus` method for the framework to move a11y focus to the target element.
* `Focusable`: a role manager that provides generic focus management functionality to `SemanticsObject`s that don't need anything special.
Rewrites focus management using the above two classes as follows:
* All focusable nodes except text fields and incrementables get the `Focusable` role (all custom focus stuff in `Tappable` was removed and delegated to `Focusable`).
* `Incrementable` uses a custom `<input>` internally and so it cannot use the `Focusable` role. Instead, it uses `AccessibilityFocusManager` to manage the focus on the `<input>` element.
Behavioral changes:
* Fixes https://github.com/flutter/flutter/issues/118737 , but more generally fixes all nodes that use the `isFocusable` and `hasFocus` bits.
* `Tappable` only partially implemented focusability (e.g. it didn't generate the respective `SemanticsAction` events). Now by delegating to `Focusable`, it will inherit all the functionality.
* `Incrementable` and `Checkable` (checkboxes, radios, switches) get focus management features for the first time.
* Elements that are not inherently focusable (text, images) can now be focused if semantics requires them to be.
* `TextField` is left alone for now as focus and on-screen keyboard interact with each other in non-obvious ways.
2023-05-10 22:40:20 +00:00
skia-flutter-autoroll
9a60f2897e
Roll Skia from 32f4cfc2460b to 1a29bd9a0147 (12 revisions) ( flutter/engine#41905 )
...
https://skia.googlesource.com/skia.git/+log/32f4cfc2460b..1a29bd9a0147
2023-05-10 johnstiles@google.com Squelch UBSAN divide-by-zero error.
2023-05-10 jamesgk@google.com [sksl] Rename Program::Inputs to Program::Interface
2023-05-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from d36b7c91621a to 28971a855c5f (9 revisions)
2023-05-10 nicolettep@google.com [graphite] Add VulkanDescriptorPool Class
2023-05-10 armansito@google.com [graphite][compute] Initial ComputeTask handling in Device/DrawContext
2023-05-10 drott@chromium.org Roll Fontations dependencies
2023-05-10 johnstiles@google.com Reclaim heap space from mangled-names in Variables.
2023-05-10 johnstiles@google.com Add null guards to intrinsic constant evaluation.
2023-05-10 kjlubick@google.com Move SkSurface factories to SkSurfaces namespace
2023-05-10 johnstiles@google.com Move modifiers-declaration support out of DSLCore.
2023-05-10 jamesgk@google.com Split off BlendFormula to be shared with Graphite
2023-05-10 drott@chromium.org Fix fontations build after 2c322383044e4
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC aaclarke@google.com ,brianosman@google.com,djsollen@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-05-10 22:01:13 +00:00
godofredoc
be453d455f
Revert "Move linux_license to engine v2." ( flutter/engine#41903 )
...
Reverts flutter/engine#41863
2023-05-10 20:52:33 +00:00
hellohuanlin
80c0f9d47f
[backdrop_filter]Avoid relying on internal class details ( flutter/engine#41873 )
...
The original code creates an internal `class` which is alarming:
`NSClassFromString(@"_UIVisualEffectBackdropView")`
This PR removes such usage.
*List which issues are fixed by this PR. You must list at least one issue.*
Fixes https://github.com/flutter/flutter/issues/124008
*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2023-05-10 20:31:11 +00:00
Mouad Debbar
fdb4e5468d
[web] Re-enable history tests on Safari ( flutter/engine#41901 )
...
Fixes https://github.com/flutter/flutter/issues/51169
2023-05-10 19:58:05 +00:00
Jim Graham
7fea2b0933
switch from MockCanvas to DisplayListBuilder in layer unit tests ( flutter/engine#41889 )
...
Part of an ongoing set of efforts to address https://github.com/flutter/flutter/issues/106448
The layer unittests have been using a MockCanvas class to record the painting of trees of layers and then testing for the expected output.
A while back a similar mechanism was created to compare DisplayList output and to print out a human-friendly version of the differences found, but it was only used in a few tests written at the time it was created and a few since then.
This is the first in a series of PRs that will move all the rest of the unit tests onto the new DL comparison mechanism, starting with the layer types that just do basic drawing. Some of the remaining layers will require creating new hooks in, for instance, the Texture registry, the performance overlay TextBlob generation, etc.
2023-05-10 19:00:18 +00:00
Zachary Anderson
b676910c42
Revert "Move linux fuchsia engine v2 build to prod." ( flutter/engine#41902 )
...
Reverts flutter/engine#41865
Failing a framework test on presubmit:
https://github.com/flutter/flutter/pull/126452
2023-05-10 11:46:52 -07:00
godofredoc
adf99b66bf
Migrate mac host clang tidy to engine v2. ( flutter/engine#41824 )
...
This removes the additional gn command from the ci/lint tool and uses a single gn command.
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2023-05-10 17:31:31 +00:00
Jonah Williams
ae75a375f2
[Impeller] delete special handling of RRect. ( flutter/engine#41872 )
...
The convex path tessellator is more general purpose than the RRect and shouldn't be any slower. BY removing this class, we make it easier to switch to GPU polyline generation and tessellation for convex shapes.
2023-05-10 16:08:17 +00:00
yaakovschectman
e0b8175ef4
Only register top level window message listener upon registering service binding ( flutter/engine#41733 )
...
Move registering the `WM_CLOSE` message listener in the engine from
initialization to in response to a message sent from `ServiceBinding`
upon its initialization so that we do not intercept window messages when
there is no binding registered.
Addresses https://github.com/flutter/flutter/issues/126033 .
## Pre-launch Checklist
- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide] and the [C++,
Objective-C, Java style guides].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [ ] I added new tests to check the change I am making or feature I am
adding, or Hixie said the PR is test-exempt. See [testing the engine]
for instructions on writing and running engine tests.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [ ] I signed the [CLA].
- [x] All existing and new tests are passing.
If you need help, consider asking for advice on the #hackers-new channel
on [Discord].
<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[C++, Objective-C, Java style guides]:
https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
[testing the engine]:
https://github.com/flutter/flutter/wiki/Testing-the-engine
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
[Discord]: https://github.com/flutter/flutter/wiki/Chat
---------
Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>
2023-05-10 07:55:39 -04:00
skia-flutter-autoroll
3023ebde60
Roll Skia from 8c936fb9ba8e to 32f4cfc2460b (27 revisions) ( flutter/engine#41891 )
...
https://skia.googlesource.com/skia.git/+log/8c936fb9ba8e..32f4cfc2460b
2023-05-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from c441206103b1 to b0f9c01ec303 (6 revisions)
2023-05-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from c4d18f21ffde to 48f97fe0593e
2023-05-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 07d94082da0b to d36b7c91621a (7 revisions)
2023-05-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 0d5474fe31ef to c4d18f21ffde (7 revisions)
2023-05-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from 9ebfb6b54814 to a62e8dbc3467 (1 revision)
2023-05-09 vmiura@google.com SkStrikeCache: Optimize purging of pinned strikes
2023-05-09 jvanverth@google.com [Direct3D] Check for null mapped pointer in onReadPixels
2023-05-09 brianosman@google.com Remove temporary analytic AA APIs
2023-05-09 scroggo@google.com Reland "Add support for decoding CICPs in Android"
2023-05-09 robertphillips@google.com [graphite] Disable MakeColorSpace_Test in Dawn
2023-05-09 weiyuhuang@google.com fix incorrect check
2023-05-09 johnstiles@google.com Switch to SkNoDestructor<T> instead of allocations.
2023-05-09 kjlubick@google.com Organize fontations Bazel rules to allow stub impls
2023-05-09 jvanverth@google.com [graphite] Add VulkanImageView class.
2023-05-09 brianosman@google.com Force AAA in the canvaskit GMs build script
2023-05-09 jamesgk@google.com [graphite] Account for shader blend mode correctly in precomp
2023-05-09 johnstiles@google.com Remove DSL-based intrinsic functions.
2023-05-09 johnstiles@google.com Remove DSL usage from FunctionCall.
2023-05-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 180f3708bf26 to 07d94082da0b (10 revisions)
2023-05-09 lokokung@google.com Update deprecated ShaderModuleWGSLDescriptor.source to .code instead.
2023-05-09 fmalita@chromium.org Add some mesh (drawVertices) samples
2023-05-09 lovisolo@google.com [bazel] //tests/BUILD.bazel: Extract test groups into //tests/testgroups.bzl.
2023-05-09 johnstiles@google.com Reland "Add SkNoDestructor<T> class to Skia."
2023-05-09 johnstiles@google.com Remove DSL usage from RTAdjust fixup code.
2023-05-09 jvanverth@google.com Update Skia Vulkan headers to 1.2.197
2023-05-09 djsollen@google.com Revert "Add support for decoding CICPs in Android"
2023-05-09 brianosman@google.com Revert "Add SkNoDestructor<T> class to Skia."
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC aaclarke@google.com ,brianosman@google.com,djsollen@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-05-10 10:48:22 +00:00
Yegor
0e9f0ef05f
[web] dialog a11y fixes ( flutter/engine#41681 )
...
Fixes two issues in dialog accessibility:
* Fixes https://github.com/flutter/flutter/issues/45207 by setting `role="dialog"` on nodes that have both `scopesRoute` and `namesRoute` set. There's no guarantee that this combination of flags is an actual dialog, but it's close enough, and it makes the screen reader announce the appearance of the dialog. Note that `scopesRoute` alone is not sufficient, because Flutter uses it for overlays that are not semantically dialogs, such as dismiss barriers.
* Fixes an issue with focus management, where focus fails to transfer to background content after the dialog is dismissed. This happened because `EngineSemanticsOwner._semanticsTree` retained descendants of parents that were removed. This is benign in many cases. However, for focus this is problematic because the HTML element can go away and come back (losing focus along the way), but its corresponding `SemanticsObject` is never marked as "dirty" and fails to update and request focus.
I'm hoping this is sufficient to fix b/251839784 as well. Will work with the relevant team to find out.
2023-05-10 05:02:22 +00:00
Jonah Williams
4422323e7d
[Impeller] Increase minimum size of alpha glyph atlas. ( flutter/engine#41880 )
...
Fixes https://github.com/flutter/flutter/issues/122839
Fixes https://github.com/flutter/flutter/issues/126103
Unlike Skia which starts with 2048x2048, I decreased the size of 1024x1024. Now that we'll never switch this to a color bitmap, the memory impact is dramatically lessened.
2023-05-10 01:29:22 +00:00
Jonah Williams
57ba44806f
[Impeller] Use separate atlases and shaders for color and alpha ( flutter/engine#41780 )
...
Creates a separate atlas context and cache for color and alpha bitmap glyphs. Removes SDF shader and uses separate shader for full color glyphs.
Requires https://github.com/flutter/engine/pull/41754
Fixes https://github.com/flutter/flutter/issues/116818
Fixes https://github.com/flutter/flutter/issues/126101
This also fixes https://github.com/flutter/engine/pull/39383 but for light text on a dark background. This problem crops up when we switch to a full color atlas. In this context, the chosen glyph color is important. But with the alpha channel only atlas, its irrelevant.
See diff:

Example app:
```dart
// Copyright 2014 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.
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
void main() =>
runApp(
Container(
alignment: Alignment.center,
child: Text(
'''
(Unicode Conference)Ø Ø§ÙØ°Ù Ø³ÙØ¹Ùد ÙÙ 10-12 آذار 1997 بÙ
دÙÙØ© Ù
ÙØ§ÙÙÙÙØªÙØ³Ø Ø£ÙÙ
اÙÙØ§. Ù Ø³ÙØ¬Ù
ع اÙÙ
ؤتÙ
ر بÙ٠خبراء Ù
Ù ÙØ§ÙØ© ÙØ·Ø§Ø¹Ø§Øª Ø§ÙØµÙاعة عÙÙ Ø§ÙØ´Ø¨ÙØ© Ø§ÙØ¹Ø§ÙÙ
ÙØ© Ø§ÙØªØ±ÙÙØª ÙÙÙÙÙÙÙØ¯Ø ØÙØ« ستتÙ
Ø Ø¹ÙÙ Ø§ÙØµØ¹ÙدÙÙ Ø§ÙØ¯ÙÙÙ ÙØ§ÙÙ
ØÙ٠عÙÙ ØØ¯ Ø³ÙØ§Ø¡ Ù
ÙØ§Ùشة سب٠استخداÙ
ÙÙÙÙÙØ¯ Ù٠اÙÙØ¸Ù
اÙÙØ§Ø¦Ù
Ø© ÙÙÙÙ
ا ÙØ®Øµ Ø§ÙØªØ·Ø¨ÙÙØ§Øª Ø§ÙØØ§Ø³ÙØ¨ÙØ©Ø Ø§ÙØ®Ø·ÙØ·Ø ØªØµÙ
ÙÙ
اÙÙØµÙص ÙØ§ÙØÙسبة Ù
تعددة اÙÙØºØ§Øª.
Ù
ÙÙ
ÙÙ
ÙÙ
ÙÙÙ
ÙÙð ð ð ð ð''',
textDirection: TextDirection.rtl, style: TextStyle(fontSize: 24, color: Colors.white),
),
),
);
```
2023-05-10 00:12:04 +00:00
godofredoc
976cbf40b2
Move linux fuchsia engine v2 build to prod. ( flutter/engine#41865 )
...
This build has been running on prod for a few days already and it is ready to get moved to prod.
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2023-05-10 00:00:16 +00:00
Jackson Gardner
3c85b2e565
Implement text rendering in Skwasm ( flutter/engine#41832 )
...
This implements full text rendering with the Skwasm renderer.
The font fallback logic has been refactored to decouple the font fallback manager from any CanvasKit-specific types and functions.
A chunk of CanvasKit text rendering tests have been ported over to the renderer-agnostic `ui` tests.
Fixes https://github.com/flutter/flutter/issues/126339
2023-05-09 23:37:21 +00:00
skia-flutter-autoroll
feb10e41a7
Roll Fuchsia Linux SDK from leCRDVJ8szOS2LsPV... to lf8VcONMWlne4oa3H... ( flutter/engine#41876 )
...
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter-engine
Please CC aaclarke@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-05-09 23:26:58 +00:00
gaaclarke
16d9aa190a
[Impeller] started cleaning up pools when devices are deleted ( flutter/engine#41857 )
...
fixes https://github.com/flutter/flutter/issues/125571
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2023-05-09 22:44:07 +00:00
godofredoc
41861533e6
Move linux_license to engine v2. ( flutter/engine#41863 )
...
Linux license v2 builds has been running successfully for a few days and it is ready to get moved to prod.
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2023-05-09 21:32:12 +00:00
godofredoc
83f8f118fc
Replace Windows Unopt with the engine v2 version. ( flutter/engine#41861 )
...
Both builds have been running successfully. This PR moves Windows Unopt to staging and Windows windows_unopt to prod.
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2023-05-09 20:12:19 +00:00
Michael Ludwig
3d9ad5fccb
Remove staging flag ( flutter/engine#41843 )
...
Unit tests have been fixed by @flar, so the staging flag can be removed.
Unlocks progress on https://skbug.com/9283
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2023-05-09 19:32:10 +00:00
Jonah Williams
d64bc16426
[Impeller] track path convexity and use it to simplify fill tessellation. ( flutter/engine#41834 )
...
We can do this on the GPU, but we'll need a fallback when we don't have polyline compute.
From experimentation, Skia has already computed this value when Impeller gets that path. Additionally, this will allow us to speed up tessellation of known convex shapes like ovals that we don't want to add special cases for in the API.
2023-05-09 18:45:00 +00:00
skia-flutter-autoroll
af593c9777
Roll Skia from 9ba374e0b0f0 to 8c936fb9ba8e (7 revisions) ( flutter/engine#41854 )
...
https://skia.googlesource.com/skia.git/+log/9ba374e0b0f0..8c936fb9ba8e
2023-05-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from dd7eb1d8e8dc to c441206103b1 (22 revisions)
2023-05-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from f76fc9bcab58 to 0d5474fe31ef (4 revisions)
2023-05-09 drott@chromium.org Implement path rendering and advances for Fontations-backed SkTypeface
2023-05-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 53e721afe0c5 to 569699725145 (13 revisions)
2023-05-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SK Tool from 0d5474fe31ef to 56f5bfdeb042
2023-05-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from ecefa6c65969 to 9ebfb6b54814 (1 revision)
2023-05-09 alecmouri@google.com Add support for decoding CICPs in Android
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC brianosman@google.com ,djsollen@google.com,jimgraham@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-05-09 13:40:25 +00:00
skia-flutter-autoroll
25fc603724
Roll Skia from 485cd3d0f9ca to 9ba374e0b0f0 (3 revisions) ( flutter/engine#41849 )
...
https://skia.googlesource.com/skia.git/+log/485cd3d0f9ca..9ba374e0b0f0
2023-05-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from c6eb70963cbd to 180f3708bf26 (7 revisions)
2023-05-09 lovisolo@google.com [bazel] Fix Android Vulkan build.
2023-05-09 herb@google.com Small cleanups in underline and glyph code
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC brianosman@google.com ,djsollen@google.com,jimgraham@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-05-09 07:19:22 +00:00
godofredoc
b10a10fb30
Increase timeout of orchestrator. ( flutter/engine#41839 )
...
Increase timeout of the orchestrator to ensure it has enough time to process the subbuild results with a 1h timeout.
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2023-05-09 02:43:27 +00:00
Ian McKellar
4579687380
[fuchsia] Stop calling FIDL from Dart in Flutter integration tests ( flutter/engine#41669 )
...
As we move the Dart FIDL bindings we need to stop calling FIDL methods
from Dart in the Flutter repo. This only affects some integration tests.
This moves the FIDL calls into C++ and uses platform messages to make
the functionality available to the Dart tests.
2023-05-09 11:34:21 +10:00
drwez
de642efdac
[tests] Remove unused fuchsia.sys protocol reference ( flutter/engine#41826 )
...
Remove reference to unused fuchsia.sys.Environment protocol in test
Realm setup. Besides being unused,
the reference was not correctly matched by an #include, nor a GN build
dependency.
Bug: fxbug.dev/81285
2023-05-09 11:34:08 +10:00
skia-flutter-autoroll
ea05cfbe53
Roll Skia from 7736fbaf84f0 to 485cd3d0f9ca (6 revisions) ( flutter/engine#41840 )
...
https://skia.googlesource.com/skia.git/+log/7736fbaf84f0..485cd3d0f9ca
2023-05-08 johnstiles@google.com Add SkNoDestructor<T> class to Skia.
2023-05-08 johnstiles@google.com Generate simpler code for sk_Clockwise in SPIR-V.
2023-05-08 johnstiles@google.com Eliminate DSLBlock class.
2023-05-08 kjlubick@google.com [base] Move SkSpinlock and SkSharedMutex to src/base
2023-05-08 johnstiles@google.com Eliminate most DSL statement support.
2023-05-08 johnstiles@google.com Simplify Perlin noise chained-if block.
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC brianosman@google.com ,djsollen@google.com,jimgraham@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-05-09 01:31:30 +00:00
gaaclarke
dab253347f
[Impeller] introduces DeviceHolder to avoid accessing a dead Device ( flutter/engine#41748 )
...
An alternative to https://github.com/flutter/engine/pull/41527
This introduces a new protocol called `DeviceHolder` whose only purpose is to return a pointer to a device. That way people can hold onto weak_ptr's to the `DeviceHolder` and know to abort further work once the Device is deleted (like loading pipelines on a background thread). This PR also changes the return type of ContextVK::GetDevice from returning a reference to a pointer as a hope to better communicate what is happening and discourage copying of the vk::Device.
I would actually recommend abolishing holding onto instance variables of the vk::Device since it isn't clear that that is just a raw pointer. That's sort of how we got into this problem.
fixes https://github.com/flutter/flutter/issues/125522
fixes https://github.com/flutter/flutter/issues/125519
~~fixes https://github.com/flutter/flutter/issues/125571~~
Testing: Fixes flake in existing tests.
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2023-05-09 00:11:05 +00:00
Jackson Gardner
5c98a397a2
Get rid of "outrageous" default text styles for HTML renderer. ( flutter/engine#41822 )
...
The CanvasKit renderer doesn't do this, so we should just remove the red text global style.
2023-05-08 22:59:21 +00:00
Jim Graham
027010d27e
Adjust DL filter bounds tests to not rely on exact Skia results ( flutter/engine#41792 )
...
These tests break under Skia's new behaviors when evaluating the bounds of ill-defined filtering operations such as ColorFilters that affect even transparent pixels.
The Flutter engine is currently building with a backwards compatibility flag which we should be able to remove with the new versions of these tests.
2023-05-08 21:52:29 +00:00
Jonathan Cole
cb8854c7d6
[Android] Fix incorrect viewInsets during keyboard animation with EdgeToEdge ( flutter/engine#39391 )
...
Currently during the keyboard animation, the navigation bar insets are subtracted from the keyboard insets. This is correct when the app isn't laid out behind the navigation bar, but results in incorrect viewInsets when the app's running in edge-to-edge or fullscreen.
This change checks if the app is being laid out behind the navigation bar and adjusts the bottom insets accordingly during the keyboard animation.
Fixes https://github.com/flutter/flutter/issues/89914
Tested on Android 13 (Pixel 7) using the code sample here: https://github.com/flutter/flutter/issues/109623
### Before
https://user-images.githubusercontent.com/20386860/216786596-24c764b1-a71c-42cf-97a2-3ba10b717819.mp4
### After
https://user-images.githubusercontent.com/20386860/216786591-155ec6a6-b3c5-41e0-a45f-169861077ce2.mp4
2023-05-08 19:57:47 +00:00
skia-flutter-autoroll
d39e16fe16
Roll Skia from 30a368d502bf to 951eb9653163 (4 revisions) ( flutter/engine#41820 )
...
https://skia.googlesource.com/skia.git/+log/30a368d502bf..951eb9653163
2023-05-08 johnstiles@google.com Remove Switch support from DSL entirely.
2023-05-08 johnstiles@google.com Simplify parser handling of expressions.
2023-05-08 kjlubick@google.com Manually Roll Dawn from 2966d3ad08eb to 53e721afe0c5 (63 revisions)
2023-05-08 johnstiles@google.com Reland "Prevent name collisions between variables and intrinsics."
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC brianosman@google.com ,djsollen@google.com,jimgraham@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-05-08 18:39:22 +00:00
Jackson Gardner
16360e9e25
Reland "Skwasm Font Loading ( flutter/engine#41756 )
...
This relands https://github.com/flutter/engine/pull/41246 , which had to be reverted due to some issues parsing the font manifest.
2023-05-08 18:17:22 +00:00
skia-flutter-autoroll
beaa48ebd1
Roll Skia from 64ba57381c94 to 30a368d502bf (1 revision) ( flutter/engine#41816 )
...
https://skia.googlesource.com/skia.git/+log/64ba57381c94..30a368d502bf
2023-05-08 johnstiles@google.com Eliminate DSLCase from the parser.
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-flutter-autoroll
Please CC brianosman@google.com ,djsollen@google.com,jimgraham@google.com,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-05-08 16:45:30 +00:00
godofredoc
2798660077
Add linux license engine v2 build. ( flutter/engine#41797 )
...
This adds the initial configuration and its builder as bringup.
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
2023-05-08 16:42:19 +00:00