1051 Commits

Author SHA1 Message Date
Darren Chan
b82554ae4a Implement a default font manager for Fuchsia. (flutter/engine#28673)
This helps us get rid of our hacky font switch after engine initialization.

See https://fxbug.dev/76406 and https://github.com/flutter/flutter/issues/82202.
2021-09-21 12:33:37 -07:00
fzyzcjy
07f09eb4c4 Fix duplicated documentation (flutter/engine#28707) 2021-09-20 09:48:02 -07:00
Jason Simmons
c9c7f44174 Wrap ImageShader::sk_image_ with a SkiaGPUObject (flutter/engine#28698) 2021-09-17 20:18:02 -07:00
Jim Graham
a3c134e163 hold DisplayList objects in SkiaGPUObject wrappers (flutter/engine#28679) 2021-09-17 10:37:01 -07:00
David Worsham
657b63f499 fuchsia: Convert vulkanb headers to DEPS (flutter/engine#28676) 2021-09-16 22:39:06 -07:00
Bruno Leroux
cf0c1b8c2a Call _isLoopback as a last resort (flutter/engine#28576) 2021-09-15 08:47:01 -07:00
ColdPaleLight
9898f7b464 Prevent app from accessing the GPU in the background in EncodeImage (flutter/engine#28369) 2021-09-09 09:42:02 -07:00
ColdPaleLight
17f29a0304 Factor out a task synchronization help function for unit tests (flutter/engine#28467) 2021-09-08 11:12:01 -07:00
Jim Graham
10d49ea696 Add RasterCache metrics to the FrameTimings (flutter/engine#28439) 2021-09-03 16:26:01 -07:00
Zachary Anderson
86de3b6591 Revert "Display Features support (Foldable and Cutout) (#24756)" (flutter/engine#28447)
This reverts commit 53b9a690c5eb8410c561be43964f350f58347366.
2021-09-03 09:01:15 -07:00
Andrei Diaconu
53b9a690c5 Display Features support (Foldable and Cutout) (flutter/engine#24756)
* Add DisplayFeatures and DisplayCutout to viewport metrics

* WindowManager alpha03 and better documentation

* Fixed formatting

* Fixed failing tests

* Replaced API version code P with 28

* Unnecessary import

* Fixed display features parameters missing

* Documentation changes

* First paragraph is a sentence

* Update androidx window library to version 1.0.0-alpha05

* Improve documentation, remove deprecated display feature call

* Write tests and improve documentation

* Migrate to Window Manager alpha08

* Update androidx window to beta01

* Remove unused import

* Remove window_hook_integration_test.dart

* Fix tests

* Update android_embedding_dependencies version to include androidx.window

* Add androidx.window to test_runner build

* Add empty display features arrays to fuchsia platform view

* Fix tests using final class mocking

* Add missing license header

* Update licenses_golden
2021-09-03 04:02:17 -07:00
ColdPaleLight
d90a23b4ae Support raw straight RGBA format in Image.toByteData() (flutter/engine#28293) 2021-08-27 10:11:01 -07:00
Taha Tesser
2f79b8ddca Fix skia link (flutter/engine#28124) 2021-08-26 13:04:58 -07:00
ColdPaleLight
d8269e81b4 Prevent app from accessing the GPU in the background in MultiFrameCodec (flutter/engine#28159) 2021-08-24 09:19:08 -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
Zachary Anderson
c4fb8a6051 Revert "Adds semantics tooltip support (#27893)" (flutter/engine#28207)
This reverts commit 366e66802a35abf55bcb649b9bf58921b174b59a.
2021-08-19 14:40:34 -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
chunhtai
366e66802a Adds semantics tooltip support (flutter/engine#27893) 2021-08-18 15:37:01 -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
Justin McCandless
87882e782a Fix getLineBoundary for TextAffinity (flutter/engine#28008)
Fix a bug in a calculation when selection is at a wordwrap
2021-08-11 16:04:30 -07:00
Tong Mu
7a238021b6 ui.KeyData.toString (flutter/engine#28007)
Enhances ui.KeyData.toString by:
- Fixing the character interpretation;
- Adding hex representation to characters;
- Applying the code to the web engine which is currently missing.
2021-08-11 13:55:35 -07:00
Greg Spencer
d55048cdf8 Fix sample analyzer errors in text.dart (flutter/engine#27941)
This just fixes a couple of minor analyzer errors in the sample code so that they won't break the build when I fix the analyzer in the flutter repo.
2021-08-06 18:11:43 -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
A Reyes
8c563154db Added assertion up to cv99 for FontFeature.characterVariant (flutter/engine#27745)
* Added assertion up to cv99 for FontFeature.characterVariant

* Added FontFeature.characterVariant(99) test
2021-08-02 19:59:18 -07:00
William Hesse
88a4aa7999 Improve documentation of Path.extendWithPath (flutter/engine#27793)
The documentation used the word "segment" instead of "sub-path".
The documentation of Path.addPath described adding a Path as adding a single sub-path.
2021-08-02 11:48:54 +02:00
Brandon DeRosier
e2c58529b5 Add native Android image decoder supported by API 28+ (flutter/engine#26746) 2021-07-21 13:52:29 -07:00
Jason Simmons
6658128a41 Rename SkiaGPUObject::get() to skia_object() (flutter/engine#27126) 2021-07-15 18:31:15 -07:00
wqyfavor
481487c631 Fix potential crash of "divide by zero" for invalid GIF image source. (flutter/engine#26855) 2021-07-15 13:03:42 -07:00
Devon Carew
c0891990cc refactor and simplify CI dart analysis (flutter/engine#27370) 2021-07-13 21:11:01 -07:00
Dan Field
233a06b114 Fix dart analysis (flutter/engine#27367) 2021-07-13 14:01:05 -07:00
Martin Kustermann
91ff075a74 Make dart wrappable classes use only one native field (flutter/engine#27350)
* Make dart wrappable classes use only one native field

It appears like the second native field is never really used for
anything: It is set, cleared and verified it was cleared, but that is
it.

=> The only native field that is necessary is the `this` pointer of the
   equivalent C++ object.
=> The [DartWrapperInfo] object which was stored as second native field
   is always accessible via the virtual `GetDartWrapperInfo()` method on
   `this`.
2021-07-13 16:39:22 +02:00
Jim Graham
ab8a90ddeb encode DPR for shadows into DisplayList (flutter/engine#27289) 2021-07-10 00:46:02 -07:00
Greg Spencer
185d8601c5 Hardware Keyboard: iOS (flutter/engine#25961)
Implement new keyboard event system for iOS.
2021-07-07 16:52:04 -07:00
Kaushik Iska
1e86cd92e2 Make rasterFinishWallTime required (flutter/engine#27142) 2021-07-07 08:51:02 -07:00
Jason Simmons
da162d3a2e Avoid capturing raw pointers to the SkPicture/DisplayList used by the RasterizeToImage draw callback (flutter/engine#27123) 2021-07-01 15:16:02 -07:00
Kaushik Iska
833796b779 FrameTimings captures raster finish time in wall-clock time (flutter/engine#27074) 2021-07-01 11:36:02 -07:00
Jim Graham
ce11db413a Implement a DisplayList mechanism similar to the Skia SkLiteDL mechanism (flutter/engine#26928) 2021-06-30 17:31:02 -07:00
David Worsham
5e5fe01dd2 Reland "fuchsia: Delete all the legacy code! (#26422)" (flutter/engine#27075)
This reverts commit bb3c49a9c3edf931a5601f0245faa85f5e077cb4.
2021-06-30 15:43:21 -07:00
Jonah Williams
ccae44ffd0 Surface frame number identifier through window (flutter/engine#26785) 2021-06-28 10:16:01 -07:00
Dan Field
3bc015dc10 Remove tech debt related to image disposal and layer GC (flutter/engine#26870)
* remove tech debt

* Fix test
2021-06-25 15:33:08 -07:00
Viren Khatri
43e192d3d1 [docs] Add Gradient.sweep and TileMode.decal images (flutter/engine#26848)
Added missing Gradient.sweep images to TileMode and missing TileMode.decal images to Gradient.

Fixes flutter/flutter#84837
2021-06-24 13:10:09 -07:00
chunhtai
9cca57abef Reland ios accessibility scrolling support (flutter/engine#26860) 2021-06-23 13:36:16 -07:00
chunhtai
2a526b317d Revert "Issues/80711 reland (#26813)" (flutter/engine#26859)
This reverts commit d03313b7b3f97d2083e3977d9e62974687760a33.
2021-06-21 10:21:04 -07:00
chunhtai
d03313b7b3 Issues/80711 reland (flutter/engine#26813) 2021-06-18 12:34:02 -07:00
Dan Field
255c177a14 Delete window_hooks_integration_test.dart (flutter/engine#26756) 2021-06-18 12:24:02 -07:00
chunhtai
29ea8111ac Revert "Support scrolling in iOS accessibility (#26671)" (flutter/engine#26803)
This reverts commit e933c9ab3e24dfa9e19da5d764edecec45ad19b4.
2021-06-17 10:59:46 -07:00
chunhtai
e933c9ab3e Support scrolling in iOS accessibility (flutter/engine#26671) 2021-06-14 15:29:02 -07:00
Ryan Macnak
53cd841914 Remove compilation trace saving. (flutter/engine#26642) 2021-06-10 13:34:02 -07:00
Zachary Anderson
b189b377ca Disable ImageReleasedAfterFrame on Fuchsia (flutter/engine#26686) 2021-06-10 09:27:35 -07:00