1071 Commits

Author SHA1 Message Date
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
Rulong Chen(陈汝龙)
d0e356a496 WeakPtrFactory should be destroyed before any other members. (flutter/engine#29402) 2021-11-11 06:08:01 -08:00
Jim Graham
f10782e757 Build DisplayList directly from flutter::Canvas (flutter/engine#29470) 2021-11-10 15:16:31 -08:00
Jim Graham
948d1538c3 separate saveLayer events into record and execute variants and trace more of the execution calls (flutter/engine#29598) 2021-11-09 16:13:01 -08:00
Zachary Anderson
9dffe2d4f6 Revert "Reland Display Features support (Foldable and Cutout) (#29447)" (flutter/engine#29574)
This reverts commit 28a1c9b21b205a436fad64c9d0bced6b22b4b6a3.
2021-11-06 20:43:44 -07:00
Dan Field
19885035d0 Trace calls to Canvas::saveLayer (flutter/engine#29444) 2021-11-05 14:29:04 -07:00
Christopher Crawford
f077a13c35 FragmentProgram constructed asynchronously (flutter/engine#29513) 2021-11-04 21:58:01 -07:00
Andrei Diaconu
28a1c9b21b Reland Display Features support (Foldable and Cutout) (flutter/engine#29447) 2021-11-04 13:45:46 -07:00
Ahmed Ashour
acdc8a5c8b Fix typos (flutter/engine#29280) 2021-10-27 20:30:31 -07:00
Christopher Crawford
31e6e6c23e Replace FragmentShader with FragmentShaderBuilder (flutter/engine#29231) 2021-10-27 11:38:02 -07:00
Ian Hickson
7fc8ee9773 ensure web_ui and ui have the same toString methods for StringAttributes (flutter/engine#29323) 2021-10-26 13:08:01 -07:00
godofredoc
ae68d0409b Update documentation links to point to main branch. (flutter/engine#29326) 2021-10-26 10:48:02 -07:00
Brandon DeRosier
546f244afe Fix bug where native image decoders aren't working in release mode (flutter/engine#29254) 2021-10-20 14:46:25 -07:00
Jim Graham
05fd262e61 use all 16 matrix entries in Canvas.transform() to enable 3D matrix concatenation (flutter/engine#28856) 2021-09-27 17:58:01 -07:00
Jim Graham
9e3603308f adjust naming of methods to match style guide (flutter/engine#28753) 2021-09-23 17:13:02 -07:00
Brandon DeRosier
355c1809f0 Remove outdated unused element suppressions (flutter/engine#28775)
Fixes flutter/flutter#35164
2021-09-23 13:14:09 -07:00
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