Jason Simmons
c133cad506
Add an API for variable font axes in TextStyle and connect it to SkParagraph ( flutter/engine#32245 )
2022-03-28 13:35:02 -07:00
fzyzcjy
975541c7c5
Fix simple typo: or or ( flutter/engine#32133 )
2022-03-21 21:00:03 -07:00
Jim Graham
eaf55ab6a9
Add DlImageFilter objects ( flutter/engine#32140 )
2022-03-21 13:55:08 -07:00
Jim Graham
3893fdd735
fix display list include path in ui.painting sources ( flutter/engine#32143 )
2022-03-20 13:09:43 -07:00
JsouLiang
978758650d
Use new DlBlendMode Object ( flutter/engine#32026 )
2022-03-19 14:10:07 -07:00
Jonah Williams
ab2ea2006c
ensure _futurize does not leak uncaught errors into the zone ( flutter/engine#32070 )
2022-03-17 11:05:06 -07:00
Jim Graham
6027899f48
Add DlColorSource objects to hold information for SkShaders ( flutter/engine#31981 )
2022-03-15 16:55:04 -07:00
Robert Ancell
e362802905
Add systemFontFamily to flutter/settings channel ( flutter/engine#22981 )
...
This allows a shell to set the system font to use by default.
2022-03-14 14:07:05 +13:00
Rutger Vromans
8c42b89cdf
Access on/off labels accessibility setting for switches on iOS ( flutter/engine#30764 )
2022-03-07 14:51:10 -08:00
Jonah Williams
40a5c49645
[ui] cleanup natives.dart ( flutter/engine#31776 )
2022-03-03 13:01:12 -08:00
gaaclarke
70271f2263
Add Dart entrypoint to execute the dart plugin registrant. ( flutter/engine#31720 )
...
* Adds Dart entrypoint to execute the dart plugin registrant.
* added negative test and added web ui interface
* removed linter warning
2022-03-02 17:50:23 -08:00
Jonah Williams
7b9610bab6
[ui] replace dynamic with Object? ( flutter/engine#31771 )
2022-03-02 14:21:11 -08:00
Dan Field
e7e410d3e1
Fix invalid usage of typed data detected via dart_debug=true ( flutter/engine#31745 )
2022-03-02 14:11:10 -08:00
Jim Graham
80605e564d
detect cases when Skia nops filters by returning nullptr to prevent crashes ( flutter/engine#31689 )
2022-02-25 17:00:11 -08:00
Jim Graham
71f1c1990a
DlAttribute base class ( flutter/engine#31672 )
2022-02-25 11:51:02 -08:00
Jim Graham
3b5ec940af
DisplayList DlMaskFilter objects ( flutter/engine#31535 )
2022-02-18 09:19:09 -08:00
Jim Graham
61433672fa
Displaylist ColorFilter objects ( flutter/engine#31491 )
2022-02-17 11:19:11 -08:00
Dan Field
93d8ed15f0
Expose picture.debugDisposed, make sure we do not crash when working with disposed pictures ( flutter/engine#31453 )
2022-02-14 18:25:02 -08:00
Callum Moffat
8a1f4d07f3
Reland: Trackpad gesture PointerData types ( flutter/engine#31402 )
...
This commit adds support to the engine core for encoding trackpad gestures for to the framework. Original PR was #28571
2022-02-11 14:02:09 -08:00
JsouLiang
493cfd9601
Define thread priority enum and set thread priority for all threads in Engine ( flutter/engine#30605 )
...
* Define thread priority enum and set thread priority for all threads in Engine
* Split out the thread data and the thread data set operator
2022-02-10 21:14:54 -08:00
Tong Mu
367cff931a
Revert "Add trackpad gesture PointerData types ( #28571 )" ( flutter/engine#31375 )
...
This reverts commit 66b5a1c1eb5b20fe22b87ae1de19b6ade2bb19f8.
2022-02-10 08:41:03 -08:00
Callum Moffat
66b5a1c1eb
Add trackpad gesture PointerData types ( flutter/engine#28571 )
...
* Implement trackpad gestures in engine
* Remove the platform implementations
* Add new device type for trackpad
* Add back the necessary changes for Android
* Address feedback
* Fix doc typos
2022-02-09 21:50:40 -08:00
Zachary Anderson
eca60c0b90
Add clang-analyzer-* and clang-diagnostic-* to .clang-tidy ( flutter/engine#31291 )
2022-02-09 12:26:34 -08:00
Clement Skau
c988119386
Adds Tonic templates for Dart FFI bindings. ( flutter/engine#29405 )
...
This change adds additional Tonic templates for automatically generating bindings for Dart FFI, as well as serialisation of the bindings.
- Adds parallel FfiDispather templates to the existing DartDispatcher used for (old) native bindings.
- Adds serialisation of the bindings to enable automatic conversion and verification.
- Extends existing DartConverters with conversions to and from the FFI transport types.
- Adds new test (ffi_native_unittest.cc) for the above.
This will allow us to replace the existing native functions in e.g. dart:ui with new Dart FFI native functions.
2022-02-08 08:57:55 +01:00
MasahideMori-SimpleAppli
ed6e36f3c1
[Update][Proposal] Improve Canvas Documentation ( flutter/engine#31153 )
2022-02-05 12:20:10 -08:00
Brian Osman
9eb7120212
Remove (deprecated) isOpaque parameter to SkSL shaders ( flutter/engine#31242 )
...
SkSL now determines this automatically, so the isOpaque paramter is
going away. The local matrix parameter now has a nullptr default.
2022-02-04 12:40:38 -05:00
LongCatIsLooong
87bdc6747d
[Android] expose "textShowPassword" to the framework ( flutter/engine#30780 )
2022-02-01 12:55:10 -08:00
eggfly
42cc820c92
Cleanup unused code in the UIDartState and other tests. ( flutter/engine#31152 )
2022-01-31 18:20:02 -08:00
Brandon DeRosier
925224a9ee
Prefix remaining OS defines with FML_ namespace ( flutter/engine#31172 )
2022-01-31 14:31:44 -08:00
Brandon DeRosier
2d4f908b9d
Add FML_ prefix to fml/build_config.h macros ( flutter/engine#31141 )
2022-01-31 11:53:51 -08:00
Greg Spencer
62fbe04ce3
Remove redundant --template arguments from code samples ( flutter/engine#30909 )
...
This removes redundant --template arguments from the samples that I should have removed before in #30827 .
Also, fixed a bunch of spelling misteaks.
2022-01-18 14:19:51 -08:00
Greg Spencer
ebc5211ad2
Extract samples in text.dart to flutter/flutter's examples/api directory ( flutter/engine#30827 )
...
This extracts the API samples from ui/lib/text.dart so that they may be moved to flutter/flutter's examples/api/lib/ui directory.
No tests, comment only change.
2022-01-14 15:43:42 -08:00
Mouad Debbar
f111c9f844
[web] Move ui files to lib/ ( flutter/engine#30051 )
2022-01-14 11:20:10 -08:00
eggfly
86bc4bd117
Improve documentation for arcToPoint's rotation units. ( flutter/engine#30613 )
2022-01-04 11:05:50 +08:00
Chinmay Garde
0b18437bc1
Move the major display list classes to their own translation units. ( flutter/engine#30487 )
...
No functional change. Makes the display list subsystem easier to navigate as the
major classes are in their own TUs. Also avoids importing unnecessary headers
when the previous kitchen sink header was imported. I've tried to remove all
display list related imports and start from scratch but I may have missed some
files. Minor structs and classes (like the ones in utils, ops, etc..) still
don't get their own TUs though.
There were [two](https://github.com/flutter/engine/pull/29562 ) [related](https://github.com/flutter/engine/pull/30484 ) changes being made to this subsystem that have since
landed. So I don't think I am stepping on anyones toes with the reorganization.
Happy to incorporate any work-in-progress changes being made to the this
subsystem before submitting.
2021-12-28 15:19:35 -08:00
Chinmay Garde
942f2a979f
Move display list to its own library. ( flutter/engine#30398 )
2021-12-20 17:14:01 -08:00
Jonah Williams
94ee03e40a
Dont use TypedData.fromList if you dont have a list already ( flutter/engine#30293 )
2021-12-14 11:54:01 -08:00
Dan Field
87dcc5293f
Optmize path volatility tracker ( flutter/engine#30299 )
2021-12-13 16:59:04 -08:00
MasahideMori-SimpleAppli
e9167f3e38
[Proposal] Improve Canvas Documentation ( flutter/engine#30069 )
...
For clarity, the text has been improved over when it was suggested.
Fixes https://github.com/flutter/flutter/issues/93190
2021-12-02 13:29:42 -08:00
Greg Spencer
aa6e038da6
Remove todos ( flutter/engine#30002 )
2021-12-02 12:49:18 -08:00
Greg Spencer
e50f896589
Fix text height behavior macros ( flutter/engine#30006 )
2021-11-30 15:55:12 -08:00
eggfly
b841b405e2
Add a comment in Image.toByteData to limit more encoders ( flutter/engine#29962 )
2021-11-30 00:04:09 -08:00
Andrei Diaconu
5003f1a91f
Reland: Display Features support ( flutter/engine#29585 )
2021-11-19 18:04:31 -08:00
Tong Mu
5183c56533
[Embedder] Send key data through message channel ( flutter/engine#29795 )
...
This PR changes how embedder API's SendKeyData sends ui.KeyData to the framework. The packets are now sent over the existing platform messenger, reusing the entirety of its code path and functionalities while keeping the embedder API unchanged
2021-11-18 17:53:28 -08:00
Zachary Anderson
78d9e276e2
Fix some clang-tidy lints for Linux host_debug ( flutter/engine#29734 )
2021-11-18 13:08:01 -08:00
Zachary Anderson
03c0f7e453
Add 'explicit' to header files ( flutter/engine#29741 )
2021-11-17 12:49:16 -08:00
Jim Graham
6c74b3f717
Call DisplayList builder methods directly from dart canvas ( flutter/engine#29714 )
2021-11-16 14:18:04 -08:00
Jenn Magder
dbe42683b9
Fix 'google-readability-braces-around-statements' analyzer warning in macOS and iOS ( flutter/engine#29723 )
2021-11-12 18:42:29 -08:00
Jim Graham
8b0923d4a5
Revert "Build DisplayList directly from flutter::Canvas" ( flutter/engine#29693 )
2021-11-12 00:01:02 -08:00
Christopher Crawford
87422e6679
Add a samplerUniforms field for FragmentProgram ( flutter/engine#29597 )
2021-11-11 07:53:02 -08:00