4147 Commits

Author SHA1 Message Date
Tamir Duberstein
419da59a4f Reference canonical fuchsia.io constants (flutter/engine#32336)
These aliases are in the process of being removed.
2022-03-31 08:29:15 -07:00
Emmanuel Garcia
34f36011c5 Fix reattachment of platform views after a device rotation (flutter/engine#32331) 2022-03-30 13:35:07 -07:00
Chinmay Garde
351494f717 Add support for images in display lists. (flutter/engine#32268) 2022-03-30 13:31:37 -07:00
Tong Mu
b0de1fa20e [macOS, Keyboard] Channel responder calls callback on duplicate modifiers (flutter/engine#32302) 2022-03-28 18:39:44 -07:00
godofredoc
c1b58c4c22 Targets to generate macos gen snapshot. (flutter/engine#31950) 2022-03-28 18:25:03 -07:00
Tong Mu
13e62bd9c7 [Linux, Keyboard] Convert duplicate down events to repeat events (flutter/engine#32261) 2022-03-25 16:36:08 -07:00
Tong Mu
9d800cc563 [macOS, Keyboard] Enqueue event processing (flutter/engine#32120)
* Impl

Remove log

add sync; clean code

Format

* Docs

* Tests

* Apply suggestions from code review

Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>

Co-authored-by: Greg Spencer <gspencergoog@users.noreply.github.com>
2022-03-25 15:23:27 -07:00
chunhtai
fadd742bfe ios text input plugin ignores selection calls when interactive selection is disabled (flutter/engine#32223)
* ios text input plugin ignores selection calls when interactive selection is disabled

* typo
2022-03-25 13:14:11 -07:00
Tamir Duberstein
ec3cbc1635 Explicitly cast fuchsia.io constants to uint32_t (flutter/engine#32250) 2022-03-24 15:35:03 -07:00
ColdPaleLight
5850d41dd0 Make sure that 'BeginFrame' and 'EndFrame' of the 'ExternalViewEmbedder' are paired (flutter/engine#32058) 2022-03-24 14:25:03 -07:00
Gary Qian
0422046115 Revert "Delete io.flutter.app android v1 embedding" (flutter/engine#32232) 2022-03-24 00:10:04 -07:00
Gary Qian
08cef2ee55 Delete io.flutter.app android v1 embedding (flutter/engine#32074) 2022-03-23 20:22:54 -07:00
Renzo Olivares
47fcfe0b21 Fix entering newline on deltas for windows (flutter/engine#32195)
* Fix entering newline

* utf8toutf16

* formatting

* Address reviews

* send *model“

* capture oldtext and selection before newline is added to model

* use model vs _active_model_ for consistency

* Formatting

* updates

Co-authored-by: Renzo Olivares <roliv@google.com>
2022-03-23 12:02:13 -07:00
Camille Simon
5b4339f41a Revert "Remove usages of Android's OnSystemUiVisibilityChangeListener (#30931)" (flutter/engine#32217)
This reverts commit b077eda4caae4f5efa402af88632cea6e7aaa0fe.
2022-03-23 10:47:15 -07:00
Chinmay Garde
3088a62e29 Allow surface implementations to control when the raster cache may be enabled. (flutter/engine#32213) 2022-03-23 10:23:14 -07:00
Emmanuel Garcia
eb5ac3144d Support software rendering when textures are used (flutter/engine#32178) 2022-03-22 14:10:10 -07:00
Camille Simon
b077eda4ca Remove usages of Android's OnSystemUiVisibilityChangeListener (flutter/engine#30931) 2022-03-22 14:00:11 -07:00
Renzo Olivares
0d9b02f227 Linux deltas double free and newline fix (flutter/engine#32168)
* Fix double free

* Fix entering a newline

* Formatting

Co-authored-by: Renzo Olivares <roliv@google.com>
2022-03-22 12:13:13 -07:00
ColdPaleLight
9af8b0bf05 Fix crash about 'SkiaUnrefQueue::Drain' is called after 'IOManager' reset (flutter/engine#32106) 2022-03-21 14:45:10 -07:00
Dan Field
f396ea98b7 Enable MSAA behind a flag for Android GL, add TODOs for other platforms (flutter/engine#32128) 2022-03-21 11:10:05 -07:00
Chris Yang
840af99590 Make Get GetVsyncWaiter return weak_ptr to prevent dangling pointer crash (flutter/engine#32121) 2022-03-21 11:05:05 -07:00
Zachary Anderson
1f2acee85b Adds a plist flag for Impeller (flutter/engine#32157) 2022-03-21 09:35:26 -07:00
ColdPaleLight
05bb17d606 Always update the latest frame target time when the 'Animator::Render' method is called (flutter/engine#31973) 2022-03-21 09:35:02 -07:00
Emmanuel Garcia
77ddaf3f09 Handle case where platform view getView() returns null (flutter/engine#32131) 2022-03-19 10:05:11 -07:00
LongCatIsLooong
ddadbbc372 [macOS TextInputPlugin] Reactivate input context on key event (flutter/engine#32117) 2022-03-18 15:10:10 -07:00
xiaoxiaowesley
24fd333ce6 Fix iOS keyboard physical keyboard doesn't work in add to app (flutter/engine#32098) 2022-03-18 07:10:09 -07:00
Wu Zhong
6b27162f6a [iOS] Fixes state restoration not work (flutter/engine#31511) 2022-03-17 21:55:07 -07:00
gaaclarke
eb45cf1c9d Fixed image generator registry usage with spawn. (flutter/engine#31622) 2022-03-17 13:10:11 -07:00
ColdPaleLight
4ea096162f Disable several tests due to flakiness (flutter/engine#32059) 2022-03-17 03:55:09 -07:00
LongCatIsLooong
8e2d6777d1 [macOS] Forward key events to NSTextInputContext when there's composing text (flutter/engine#32051) 2022-03-15 21:15:09 -07:00
Dan Field
57f4b8e838 Make tracing safe (flutter/engine#32042) 2022-03-15 21:10:11 -07:00
eggfly
f3efac3388 [windows] Support win_debug_x86 compilation target in engine (flutter/engine#30417) 2022-03-15 20:10:10 -07:00
Dan Field
3a0d0b6e36 Support stencil buffers on OpenGL for Windows and Android (flutter/engine#31967) 2022-03-15 16:50:07 -07:00
Chinmay Garde
34f3581a3c Switch the renderer to impeller based on the presence of a command line flag. (flutter/engine#31959)
Specifying the `--enable-impeller` flag will switch the renderer to using
Impeller instead of Skia. On platforms where Impeller is not supported, this
flag is ignored.

The notion of the `flutter::SurfaceFrame` has been augmented. Now, in the
absence of a Skia surface to render to, the surface frame will render into a
display list instead.

Impeller variants of the context and surface variants have been added to
`shell/gpu` and `shell/platform`. The variants prepare surface frames that
don’t/can’t specify a Skia surface thus forcing the surface frame to render to a
display list instead. Then, in the submit callback, they forward the display
list ops to the Impeller display list dispatcher.

This scheme has been chosen as it requires the fewest updates to engine
internals which all depend on Skia data structures. Instead of updating all
call-sites to be Skia neutral, the display list interface itself is being made
graphics package agnostic.
2022-03-15 14:12:53 -07:00
LongCatIsLooong
8762ed9c33 [macOS] fix text selection when there's composing text (flutter/engine#31936) 2022-03-15 14:00:02 -07:00
Renzo Olivares
a96a314d63 Fix local text value and selection not updating when delta is sent to… (flutter/engine#31966)
* Fix local text value and selection not updating when delta is sent to framework

* readd new line

* Add test

* whitespace

* whitespace

* formatting

Co-authored-by: Renzo Olivares <roliv@google.com>
2022-03-15 13:16:19 -07:00
Emircan Uysaler
adb2b2e83c [fuchsia] Remove kFlatlandDefaultViewportSize (flutter/engine#31964) 2022-03-15 08:20:47 -07:00
ColdPaleLight
aa63b8f801 Migrate the API of GrDirectContext about resource memory limit (flutter/engine#31977) 2022-03-14 16:50:10 -07:00
Emmanuel Garcia
539b72705c Revert: Partially remove setSystemUiVisibility() usages (flutter/engine#32007) 2022-03-14 11:15:06 -07:00
wangying
6a04696e6f Fix timestamp of touch events should use system startup time (flutter/engine#30422) 2022-03-13 11:07:09 -07:00
ColdPaleLight
94ecaf782b Animator stopped notifying delegate to render when pipeline is not empty (flutter/engine#31727) 2022-03-10 23:00:07 -08:00
Robert Ancell
8aa424bd89 Changed the default a11y node role from ATK_ROLE_FRAME to ATK_ROLE_PANEL (flutter/engine#31602) 2022-03-10 22:55:11 -08:00
Robert Ancell
6f6f57f38f Fix signals adding/removing a11y nodes in Linux. (flutter/engine#31601) 2022-03-10 22:50:06 -08:00
Robert Ancell
b58e7be9b6 Set a11y roles for checks, toggles and sliders. (flutter/engine#31600) 2022-03-10 22:40:05 -08:00
Tong Mu
f6f38145a4 [macOS, Keyboard] Refactor: Clean up keyboard initialization, connection, and unit test framework (flutter/engine#31940) 2022-03-10 22:35:13 -08:00
Robert Ancell
d3517e43a9 Generate a11y events for widgets that use kFlutterSemanticsFlagIsToggled (flutter/engine#31582) 2022-03-10 22:35:10 -08:00
ColdPaleLight
fc5766639a Make sure the secondary vsync callback is called after the vsync callback (flutter/engine#31513) 2022-03-10 17:45:05 -08:00
Zachary Anderson
7a40b3a70d Revert "Add a message when a key response takes too long. (#31945)" (flutter/engine#31962)
This reverts commit 0aa006102ecbaf23b49d96014e7996e4d3ce7d84.
2022-03-10 12:34:36 -08:00
Greg Spencer
0aa006102e Add a message when a key response takes too long. (flutter/engine#31945)
This splits the nested event loop in the keyboard manager on iOS into two parts: The first times out after 2 seconds, and if that happens, prints an NSLog indicating that the framework took a long time to respond, and then it enters the event loop again, waiting forever this time. This means the behavior doesn't change from what it is now, but will log when things take a long time.
2022-03-10 09:59:24 -08:00
Tong Mu
16d5aa1e7d [macOS, Keyboard] Convert abrupt repeat events to down events (flutter/engine#31941)
* Impl and test

* Format
2022-03-09 23:13:12 -08:00