10630 Commits

Author SHA1 Message Date
Ferhat
606cb02b86 [web] Add comment for clip update. (flutter/engine#20384) 2020-08-11 13:49:19 -07:00
skia-flutter-autoroll
0e9c42bb41 Roll Skia from 49983ef4e7de to a70445f40898 (6 revisions) (flutter/engine#20416) 2020-08-11 13:11:01 -07:00
keyonghan
23ccc60577 remove duplicated try builder (flutter/engine#20415) 2020-08-11 11:57:21 -07:00
Dan Field
d2b4a1f214 improve error messages for font-subset (flutter/engine#20410) 2020-08-11 11:45:22 -07:00
Yegor
6c936c540c CanvasKit: memory management for image and shader classes (flutter/engine#20349)
* memory-manage images and shaders
2020-08-11 11:16:42 -07:00
stuartmorgan
bfeb4ed5a4 Fix RTTI check in EncodableValue (flutter/engine#20398)
__has_feature(cxx_rtti) is a clang extension, but clients of this code
are mostly using the VS toolchain. This makes the RTTI check work with
more compilers.
2020-08-11 10:53:26 -07:00
skia-flutter-autoroll
5210868d1e Roll Skia from 5edf510941a3 to 49983ef4e7de (2 revisions) (flutter/engine#20406) 2020-08-11 09:16:01 -07:00
skia-flutter-autoroll
4ecef2a3df Roll Skia from 109ff207de7d to 5edf510941a3 (2 revisions) (flutter/engine#20405) 2020-08-11 07:56:01 -07:00
skia-flutter-autoroll
c512052908 Roll Skia from a4b9169fb6b3 to 109ff207de7d (4 revisions) (flutter/engine#20404) 2020-08-11 06:36:02 -07:00
skia-flutter-autoroll
e182af4e3b Roll Fuchsia Linux SDK from 8zNNVrRJr... to FeukZ89D0... (flutter/engine#20403) 2020-08-11 05:41:01 -07:00
David Worsham
c7ac7c98f7 Fix broken Fuchsia test (flutter/engine#20397) 2020-08-11 01:01:38 -07:00
Emmanuel Garcia
306814f140 Prepare scenario app to run on Android emulator on LUCI (flutter/engine#20350) 2020-08-10 22:55:43 -07:00
David Reveman
d44cc3bcfa Add Surface::GetContext() support on Fuchsia (flutter/engine#20391)
This improves raster cache control from apps and enables
GPU acceleration for some offscreen workloads that would
fallback to software.

Test: PlatformViewTests.GetGrContextTest

Co-authored-by: David Reveman <reveman@google.com>
2020-08-10 20:51:43 -07:00
skia-flutter-autoroll
cde77adab6 Roll Skia from 46a324a16c4b to a4b9169fb6b3 (8 revisions) (flutter/engine#20394) 2020-08-10 18:06:02 -07:00
Ferhat
c983a483c6 Fix nullability warning and change registeredFonts to non-nullable (flutter/engine#20379)
* Fix nullability warning and change registeredFonts to non-nullable
* Renamed var
2020-08-10 17:27:26 -07:00
Ferhat
39d067388a Add Path iterator tests, sync verbs with skia enums, fix PathIterator.peek. (flutter/engine#20381)
* Sync verb enum to skia. Fix PathIterator.peek, add tests
* Add constant for iterator buffer size
2020-08-10 17:24:28 -07:00
Kaushik Iska
bbe13c2353 engineCallbackOnPresent should return false if glContext is invalid (flutter/engine#20337)
Co-authored-by: Kaushik Iska <kaushikiska@google.com>
2020-08-10 16:44:20 -07:00
skia-flutter-autoroll
110d1a3398 Roll Fuchsia Linux SDK from rbgMu1hMm... to 8zNNVrRJr... (flutter/engine#20389) 2020-08-10 16:21:02 -07:00
Yegor
0c921d3582 switch to non-overloaded arcTo methods (flutter/engine#20341) 2020-08-10 15:07:17 -07:00
guolinaileen
72bfcbb0e2 Add TextInput performPrivateCommand to Flutter Engine (flutter/engine#20188)
New command for Crowdsource 2/2
2020-08-10 14:04:11 -07:00
Sanjay Chouksey
070abcfb40 Create scenic session with view focuser (flutter/engine#20288)
This change creates the scenic session with request to Focuser. The
focuser is used to request focus to a view, given it's ViewRef. The call to
requestFocus is made from PlatformView messages channel, which will
be used from Flutter side by ChildView.

Adds a PlatformView unittest for the requestFocus method.

Co-authored-by: Sanjay Chouksey <sanjayc@google.com>
2020-08-10 13:57:46 -07:00
David Worsham
02c71c1170 Dedupe sources for fuchsia shell/tests (flutter/engine#20343)
Remove the gni file, as it is confusing things
2020-08-10 13:52:19 -07:00
stuartmorgan
ebd2bb1e89 Allow extending the C++ standard codec (flutter/engine#20317)
Standard*Codec allows for extensions to support arbitrary types; this
had not previously been implemented for the C++ version.

Overview of changes:
- EncodableValue's std::variant type now allows for a new CustomEncodableValue, which is a thin wrapper around std::any, to store arbitrary extension types.
- ByteBufferStream* has been split into an interface class and the buffer-based implementation, with the former now part of the public API surface to be used in standard codec extensions.
  - They also gained utility methods for some common data types to simplify writing extensions.
- StandardCodecSerializer is now part of the public API surface, and is subclassable.
- StandardCodecSerializer's ReadValue has been split into ReadValue and ReadValueOfType to match the structure used when subclassing on the Dart side, for easier porting of custom extensions across languages.
- Standard*Codec now optionally accepts a non-default serializer in GetInstance, providing a shared instance using that serializer.

Fixes https://github.com/flutter/flutter/issues/31174
2020-08-10 13:41:13 -07:00
skia-flutter-autoroll
10c6a947f5 Roll Skia from ea8be2120ee6 to 46a324a16c4b (3 revisions) (flutter/engine#20382) 2020-08-10 13:31:01 -07:00
Ming Lyu (CareF)
61fa4d1ff6 remove FrameTiming named constructor (flutter/engine#20380) 2020-08-10 12:21:03 -07:00
skia-flutter-autoroll
0c400c78f0 Roll Skia from 7e74746f7f59 to ea8be2120ee6 (5 revisions) (flutter/engine#20376) 2020-08-10 11:41:02 -07:00
skia-flutter-autoroll
a4c51bc18b Roll Skia from 039f681a841a to 7e74746f7f59 (6 revisions) (flutter/engine#20375) 2020-08-10 10:11:02 -07:00
Greg Spencer
3a0464eb42 Fix lint errors in vulkan directory. (flutter/engine#19991)
This fixes lint errors in the vulkan directory. This might be a little more controversial, but the reason that the lints were failing here was because of an include path problem that I think I solved.
2020-08-10 09:50:28 -07:00
LongCatIsLooong
0b8e18c6f4 [iOS TextInput] Fixes selection clamping & composing range change logic (flutter/engine#20348) 2020-08-10 09:45:36 -07:00
stuartmorgan
e297b7d731 [windows] Rework controller/engine interaction in the API (flutter/engine#20266)
Changes the interaction between the view controller and engine in both the C API and
the engine API, so that there's always an engine (as on other platforms) rather than
the engine APIs being specific to headless mode.

While adjusting the C API, this does a large cleanup:
- Renames all methods to follow a `FlutterDesktop` (prefix) + "class" name + method-style name.
  E.g., `FlutterDestkopViewControllerCreate` rather than `FlutterDesktopCreateViewController`.
  This makes it easier to see what functions operate on which conceptual "object" in the API.
- Reorders and groups them by the object they operate on.

Fixes https://github.com/flutter/flutter/issues/61966
2020-08-10 09:41:18 -07:00
Yegor
b277f2ef44 remove write parameter from _checkScreenshot (flutter/engine#20340) 2020-08-10 08:57:37 -07:00
skia-flutter-autoroll
9371f5a27e Roll Skia from cac176496829 to 039f681a841a (1 revision) (flutter/engine#20373) 2020-08-10 08:51:02 -07:00
skia-flutter-autoroll
afe605d011 Roll Skia from 530fc3bb4cba to cac176496829 (1 revision) (flutter/engine#20371) 2020-08-10 06:56:02 -07:00
skia-flutter-autoroll
eae8412f81 Roll Fuchsia Linux SDK from Vltz7Q2Se... to rbgMu1hMm... (flutter/engine#20369) 2020-08-10 03:01:02 -07:00
skia-flutter-autoroll
87fb852374 Roll Skia from 31954bf23f24 to 530fc3bb4cba (4 revisions) (flutter/engine#20367) 2020-08-10 00:11:02 -07:00
skia-flutter-autoroll
b27cf23388 Roll Fuchsia Linux SDK from sZle8xzx7... to Vltz7Q2Se... (flutter/engine#20363) 2020-08-09 10:16:02 -07:00
skia-flutter-autoroll
94f9925dda Roll Fuchsia Linux SDK from OdkmMFP06... to sZle8xzx7... (flutter/engine#20361) 2020-08-08 20:56:03 -07:00
Mouad Debbar
9cea82e454 [web] Implement support for WidgetSpan (aka paragraph placeholders) (flutter/engine#20276) 2020-08-08 18:10:28 -07:00
skia-flutter-autoroll
13114f2ee6 Roll Fuchsia Linux SDK from dYgZG38fw... to OdkmMFP06... (flutter/engine#20355) 2020-08-08 06:11:03 -07:00
skia-flutter-autoroll
7903748aa5 Roll Skia from fc11fd4d0bb4 to 31954bf23f24 (3 revisions) (flutter/engine#20351) 2020-08-07 20:21:01 -07:00
Ming Lyu (CareF)
24b22ade69 FrameTiming build start timestamp fix and add vsync start timestamp (flutter/engine#20229) 2020-08-07 19:41:01 -07:00
Emmanuel Garcia
c2c71dd96a Add FlutterFragmentActivity#getRenderMode() (flutter/engine#20245) 2020-08-07 18:41:01 -07:00
skia-flutter-autoroll
801391d8e2 Roll Skia from efc17ce2caf3 to fc11fd4d0bb4 (13 revisions) (flutter/engine#20347) 2020-08-07 18:16:02 -07:00
guolinaileen
3c958edb47 Add TextInput sendAppPrivateCommand to Flutter Engine (flutter/engine#20144)
Adds sendAppPrivateCommand for Crowdsource
2020-08-07 17:15:05 -07:00
skia-flutter-autoroll
51a7c1d712 Roll Fuchsia Linux SDK from bdHtMYnwH... to dYgZG38fw... (flutter/engine#20344) 2020-08-07 16:51:02 -07:00
gaaclarke
852cb9d5c4 Added unit tests to the engine. (flutter/engine#20216) 2020-08-07 15:55:58 -07:00
Emmanuel Garcia
954c3ec627 Add script to compile JIT on x86 (flutter/engine#20315) 2020-08-07 15:29:01 -07:00
nturgut
4425a3b157 [web] Save the autofill information (flutter/engine#20256)
* changes for autofill. Commit save=false works. added submit button. set form actions

* save the forms on the dom

* fix tests. fix input element location. fix single element forms

* fix failing ios test. add more unit test methods for submitting the form

* address reviewer comments

* remove only the forms from the map

* remove debug line

* fix issues with login info saving. format file

* fix textarea id. fix unit tests methods

* remove debug line

* fixes flickering in safari. remove an unnecessary secind append in firefox

* address reviewer comments

* address reviewer comments
2020-08-07 13:28:50 -07:00
Yegor
6f5ee087ee fix clipped and transformed content in HTML clip (flutter/engine#20310)
* fixed clipped and transformed content in HTML clip
2020-08-07 11:28:00 -07:00
skia-flutter-autoroll
6ac9d2b357 Roll Skia from 871aa7479758 to efc17ce2caf3 (1 revision) (flutter/engine#20334) 2020-08-07 11:01:02 -07:00