3610 Commits

Author SHA1 Message Date
Chris Bracken
a858cceed8 Eliminate Android-specific Vulkan support (flutter/engine#28239)
This eliminates Vulkan support for Android. As of flutter/engine#27980
(684ad82) we are no longer running Android-Vulkan builds. This
eliminates the --enable-vulkan flag from tools/gn and any code that is
only reachable when that flag is enabled.

Note that after this patch, `shell_enable_vulkan` is always false,
however the //flutter/shell/gpu:gpu_surface_vulkan target and source
files remain since they are still used when `test_enable_vulkan` is
true, which is the case when `is_fuchsia` is true. Note that these files
are *not* built as part of a regular fuchsia build (see the
`shell_gpu_configuration` in //shell/platform/fuchsia/flutter/BUILD.gn),
but may be enabled once the Fuchsia embedder is migrated to the Embedder
API.

Also updates TODOs to dworsham, who is the committer who'll be
transitioning the Fuchsia embedder to the embedding API.
2021-08-23 13:59:43 -07:00
Matej Knopp
b48f5143ac Enable repeat for desktop embedder tests (flutter/engine#28253) 2021-08-23 09:07:02 -07:00
Matej Knopp
41f40a15ac macOS: Do not swap surface if nothing was painted (flutter/engine#28136) 2021-08-23 09:02:02 -07:00
eggfly
3506a0c03b Avoid deadlock while creating platform views with multiple engines. (flutter/engine#28224) 2021-08-23 08:57:02 -07:00
chunhtai
e3a3bd0b56 Makes empty scrollable not focusable in Talkback (flutter/engine#28229) 2021-08-20 15:27:01 -07:00
chunhtai
9761b7371a Issues/86577 reland (flutter/engine#28211) 2021-08-20 12:27:01 -07:00
Anthony
50adf078fd [Re-land] Add SPIR-V FragmentShader API to painting.dart (flutter/engine#28208)
[Re-land] Add SPIR-V FragmentShader API to painting.dart

- Add a SPIR-V FragmentShader interface in painting.dart
- Create end to end pixel tests for ops supported by the SPIR-V to SkSL transpiler
- The end to end tests also test the c++ fragment shader implementation

Co-authored-by: Christopher Crawford <chriscraws@gmail.com>
2021-08-20 11:24:14 -04:00
Kate Lovett
761409f61e Fix regression in system UI colors (flutter/engine#28206) 2021-08-19 20:42:02 -07:00
Zachary Anderson
c4fb8a6051 Revert "Adds semantics tooltip support (#27893)" (flutter/engine#28207)
This reverts commit 366e66802a35abf55bcb649b9bf58921b174b59a.
2021-08-19 14:40:34 -07:00
Brandon DeRosier
16829de462 Fix stack-buffer-overflow in linux value tests (flutter/engine#28204) 2021-08-19 13:51:24 -07:00
Zachary Anderson
e3f282c563 Revert "Add SPIR-V FragmentShader API to painting.dart (#26996)" (flutter/engine#28202)
This reverts commit 1b518619357cc1666a9fca183c9766d1ece16d0f.
2021-08-19 12:38:10 -07:00
Emmanuel Garcia
1a9e4c4ff3 Bump Android version and add more info to create_sdk_cipd_package.sh (flutter/engine#27413) 2021-08-18 18:22:02 -07:00
chunhtai
5c6f458df9 Makes scrollable to use main screen if the flutter view is not attached to a screen (flutter/engine#28110) 2021-08-18 16:47:01 -07:00
chunhtai
366e66802a Adds semantics tooltip support (flutter/engine#27893) 2021-08-18 15:37:01 -07:00
Emircan Uysaler
69070156ab fuchsia: Add scaffolding and basic implementation for flatland migration (flutter/engine#27423)
* fuchsia: Add scaffolding for flatland migration

* fuchsia: Add ViewProvider based view creation logic and basic present loop
2021-08-18 13:23:32 -07:00
Anthony
1b51861935 Add SPIR-V FragmentShader API to painting.dart (flutter/engine#26996)
Add SPIR-V FragmentShader API to painting.dart
2021-08-18 12:58:25 -04:00
Emmanuel Garcia
82bffc3762 Use Android linter from cmdline-tools (flutter/engine#28153) 2021-08-17 22:12:01 -07:00
Brandon DeRosier
d5eed6ce6e Fix some stack-use-after-scopes found by ASan (flutter/engine#28147)
Fixes for Embedder and RefCounted tests.
2021-08-17 15:23:36 -07:00
Tong Mu
3868bf03da Fix dead key handling on Win32 (again) (flutter/engine#28125)
- Fix dead character crashes the channel handler.
- Fix dead key messages are redispatched, making the message a regular character message.
2021-08-17 14:26:21 -07:00
chunhtai
8a404ecf51 Issues/79528 reland (flutter/engine#28117) 2021-08-16 15:22:02 -07:00
Kaushik Iska
2227552259 [fuchsia] [ffi] Basic support for Channels and Handles (flutter/engine#27849) 2021-08-16 12:57:01 -07:00
Kaushik Iska
1e9b7aed56 Build dart:zircon and dart:zircon_ffi (flutter/engine#28071) 2021-08-16 11:17:02 -07:00
Maurice Parrish
4997fc4556 Prevent leak of a closable render surface (flutter/engine#28000)
* try strict mode test

* formatting

* see if test is running

* formatting

* add and release a texture entry

* nullablity

* detect leaked closables

* remove unused methods

* try to finish activity and load FlutterTextureView

* add test

* revert files

* formatting

* hopefully undo

* add test to build

* fix compile errors

* fix variable name

* verify test is running

* assertEquals import

* add to test suite

* how did the package change?.

* formatting

* add release code in
2021-08-14 10:52:15 -07:00
Zachary Anderson
7467362829 Revert "Sets focus before sending a11y focus event in Android (#27992)" (flutter/engine#28092)
This reverts commit 9f8c3c6430ec2cd2c14909702a40c0ee26a65228.
2021-08-13 22:54:10 -07:00
Rich Kadel
51a5b01bad GN build rules for tests using Fuchsia SDK Dart libraries and bindings (flutter/engine#27996) 2021-08-13 08:52:01 -07:00
Tong Mu
1704906f59 Fix dead key crashes on Win32 (flutter/engine#28047)
This PR fixes the crash caused by pressing dead keys on Win32.
2021-08-13 01:35:58 -07:00
Niklas Schulze
f6977e39d8 Windows: Add multi-touch support (flutter/engine#27863) 2021-08-12 21:02:01 -07:00
chunhtai
9f8c3c6430 Sets focus before sending a11y focus event in Android (flutter/engine#27992) 2021-08-12 17:22:02 -07:00
Jason Simmons
c32c76cd83 Fix some warnings seen after the migration to JDK 11 (flutter/engine#28045) 2021-08-12 11:27:02 -07:00
David Worsham
fb64905b15 Revert '[fuchsia] Make dart_runner work with cfv2' (flutter/engine#28036) 2021-08-12 09:22:22 -07:00
Tong Mu
9d45378f6f Windows keyboard integration tests and fix a number of issues (flutter/engine#27921)
* Basic changes

* Fix build

* Revert some changes

* Fix tests (ATP)

* Win32Message and inject messagelist

* wm builders

* Format

* Correct

* LowerCaseAUnhandled

* ShiftLeftKeyA

* Ctrl-A

* Ctrl-1

* Digit1OnFrenchLayout

* AltGrKeyQ

* Dead key E

* ^1

* Multibyte

* Format

* License

* Revert key.dart

* Move CreateKeyEventLparam

* MockEmbedderApiForKeyboard

* More MockEmbedderApiForKeyboard

* Doc

* Move MockMessageQueue

* is_deadchar doesnt seem needed

* ConvertChar32ToUtf8

* PeekNextMessageType

* Format

* 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>
2021-08-11 14:47:03 -07:00
Emmanuel Garcia
604089b0fd Provide Open JDK 11 (flutter/engine#27942) 2021-08-11 12:34:11 -07:00
eggfly
517f61119f Avoid crashing when FlutterImageView is resized to zero dimension (flutter/engine#27946) 2021-08-09 19:25:01 -07:00
Brandon DeRosier
941f0a93cd Fix StandardMessageCodec test leaks (flutter/engine#27959) 2021-08-09 15:19:07 -07:00
Jenn Magder
693dd0381c Support iOS universal links route deep linking (flutter/engine#27874) 2021-08-09 14:35:11 -07:00
Emmanuel Garcia
1af82bec75 Fix memory leak in PlatformViewsController (flutter/engine#27915) 2021-08-09 12:50:02 -07:00
moko256
846c5c5beb UWP: Fix uwptools that does not uninstall package (flutter/engine#27694) 2021-08-09 10:24:41 -07:00
Matej Knopp
41a21b299b Do not call CoreWindow::Visible from raster thread (flutter/engine#27760) 2021-08-07 22:26:28 +02:00
ColdPaleLight
8b0b0ee703 Fix the SurfaceTexture related crash by Replacing the JNI weak global reference with a WeakReference<SurfaceTexture> (flutter/engine#27924) 2021-08-06 15:05:02 -07:00
eggfly
f1fd54b45a Implementation of two or more threads merging for multiple platform views (flutter/engine#27662)
Implementation of two or more threads merging for both lightweight multiple engines and standalone multiple engines.
2021-08-06 10:31:59 -07:00
xiaoxiaowesley
f4bfc0c5f7 fix crash SemanticsObject dealloc and access the children (flutter/engine#27786) 2021-08-05 20:30:02 -07:00
ColdPaleLight
396f7190b9 Prevent a race between SurfaceTexture.release and attachToGLContext (flutter/engine#27884) 2021-08-05 13:15:02 -07:00
ColdPaleLight
0620217342 Fix wrong EGL value in AndroidEnvironmentGL (flutter/engine#27878) 2021-08-05 13:10:01 -07:00
moko256
6b538a20bd fix a typo in https://github.com/flutter/engine/pull/27311 (flutter/engine#27687) 2021-08-05 13:05:02 -07:00
Jenn Magder
ef50866478 Unskip iOS launch URL tests (flutter/engine#27854) 2021-08-04 18:37:05 -07:00
David Worsham
b00c549840 Fix thread names + add test (flutter/engine#27897) 2021-08-04 18:05:02 -07:00
chunhtai
55e38ef779 Check a11y bridge alive before returning a11y container (flutter/engine#27865) 2021-08-04 08:30:02 -07:00
Emmanuel Garcia
09e80c18f1 Allow collapsed compositing range (flutter/engine#27869) 2021-08-03 13:20:02 -07:00
Jonah Williams
2cc2854964 Add GestureSettings and configure touch slop from Android ViewConfiguration (flutter/engine#27836) 2021-08-03 12:55:02 -07:00
Matej Knopp
daf0fb7387 Fix race condition in FlutterSurfaceManager (flutter/engine#27828) 2021-08-02 06:20:01 -07:00