2404 Commits

Author SHA1 Message Date
Sam Rawlins
85fc2ae0ba Move imageFormats template to instantiateImageCodec dartdoc (flutter/engine#34948) 2022-07-28 17:02:04 +00:00
Zachary Anderson
d560fa20d1 Remove FragmentProgram.fromAssetAsync() (flutter/engine#34951) 2022-07-27 15:34:21 -07:00
Chinmay Garde
135c71aef7 Delete disabled test ImageDecoderFixtureTest.CanResizeWithoutDecode (flutter/engine#34945) 2022-07-27 20:55:04 +00:00
Zachary Anderson
93e8c0a8bd Third part of soft transition to async FragmentProgram.fromAsset (flutter/engine#34932) 2022-07-27 08:07:14 -07:00
Zachary Anderson
e1c4902abd Starts a transition to an async FragmentProgram.fromAsset (flutter/engine#34922) 2022-07-26 15:57:40 -07:00
Jim Graham
6e98966e70 use host_cpu in BUILD.gn to determine where to find gen_snapshot (flutter/engine#34870) 2022-07-26 22:18:04 +00:00
Dan Field
16ded74df2 Fix _endRecording native return type (flutter/engine#34891) 2022-07-25 19:06:04 +00:00
Zachary Anderson
84a8c22dd4 Delete dead source file (flutter/engine#34876) 2022-07-25 07:14:45 -07:00
Zachary Anderson
8cd062be3c Remove FragmentProgram.compile() (flutter/engine#34855) 2022-07-22 18:30:54 -07:00
nbayati
57d961b3ac Add support for assertive announcements in aria-live (flutter/engine#34640) 2022-07-23 01:21:04 +00:00
Jonah Williams
971d9b9410 let uniform float count / sampler count be reset (flutter/engine#34833) 2022-07-22 18:40:04 +00:00
Zachary Anderson
26a5b40455 [impellerc] Adds an --iplr flag (flutter/engine#34822) 2022-07-21 13:52:33 -07:00
Zachary Anderson
47ccd94f87 Null check uniforms in runtime stage (flutter/engine#34814) 2022-07-21 09:12:57 -07:00
Zachary Anderson
0796d456c7 Add entrypoint annotations to FragmentProgram fields (flutter/engine#34804) 2022-07-21 04:27:03 +00:00
Zachary Anderson
69f22945ed Check for shader data validity and add tests (flutter/engine#34793) 2022-07-20 18:45:11 -07:00
Jason Simmons
affd7c24a9 Wrap the global FFI dispatcher map initialization in a call_once (flutter/engine#34788) 2022-07-20 11:46:58 -07:00
Jason Simmons
51470b497b Use a map to look up dispatchers for Dart FFI function names (flutter/engine#34771) 2022-07-20 16:30:05 +00:00
Zachary Anderson
70b1a1ea42 Adds FragmentProgram.initFromAsset (flutter/engine#34649) 2022-07-20 08:51:13 -07:00
Dan Field
f37da53cfb Drop unnecessary @dart annotations (flutter/engine#34760) 2022-07-19 22:07:04 +00:00
Chinmay Garde
b69a07df25 [Impeller] Stub a Vulkan backend. (flutter/engine#34717) 2022-07-18 23:26:05 +00:00
Dan Field
a41257c563 Reland "dart:ui conversion from native to FfiNative" (#33116)" (flutter/engine#34700)
* Reland "dart:ui conversion from native to FfiNative" (#33116)"

This reverts commit d85395558f3d72c64d9c75e00c6ebdd5bf4583e3.

Resolves merge conflicts and updates modified/newly added
methods, and fixes the incorrect argument counts
on some of the Path methods.
2022-07-18 15:51:07 -07:00
joshualitt
7638ac4a52 [web] Remove dependency on dart:js. (flutter/engine#34211) 2022-07-18 14:05:34 -07:00
Zachary Anderson
39d01bcb5e [impellerc] Sort uniforms by location in SkSL backend (flutter/engine#34684) 2022-07-18 09:46:02 -07:00
Zachary Anderson
c0170658ed [impellerc] SkSL backend fix for the ink_sparkle shader (flutter/engine#34670) 2022-07-14 12:45:18 -07:00
Callum Moffat
0941daa6de Reland "Add new pointer signal for cancelling scroll inertia" (flutter/engine#34537) 2022-07-14 03:14:04 +00:00
Zachary Anderson
3258c4c00b [impellerc] Adds an SkSL backend (flutter/engine#34441) 2022-07-13 15:05:00 -07:00
gaaclarke
d434456964 added trace events for scheduling responses to platform messages (flutter/engine#34230) 2022-07-13 20:32:04 +00:00
Márk Tolmács
c85e3529b1 Fix tests on the Windows platform (flutter/engine#34350)
Addresses https://github.com/flutter/flutter/issues/36301
2022-07-11 11:01:05 -07:00
Dan Field
e162fed336 Rename toGpuImage to toImageSync (flutter/engine#34504) 2022-07-08 19:41:05 +00:00
Tong Mu
25490eb3b5 Revert "Add new pointer signal for cancelling scroll inertia (#34402)" (flutter/engine#34535)
This reverts commit 0a1ee488baaddc9429c75e4a463d73ac5a4e2330.
2022-07-08 04:45:23 -07:00
Callum Moffat
0a1ee488ba Add new pointer signal for cancelling scroll inertia (flutter/engine#34402) 2022-07-08 01:32:05 +00:00
Jonas Uekötter
0c0252e166 Consolidate method signature for PlatformDispatcher.onError (flutter/engine#34428) 2022-07-07 19:44:04 +00:00
joshualitt
9234984d80 [web] Migrate Flutter Web DOM usage to JS static interop - 44. (flutter/engine#34379) 2022-07-07 10:56:41 -07:00
nbayati
f03c0fcb00 A11y high contrast (flutter/engine#34276) 2022-07-06 21:33:28 -07:00
Jackson Gardner
d68d8bddce Roll CanvasKit to 0.35.0 (flutter/engine#34415) 2022-07-01 22:01:05 +00:00
Bruno Leroux
448227384a [Web] Ignore pointer up and pointer cancel for unknown device (flutter/engine#34070) 2022-06-30 06:04:07 +00:00
Jim Graham
8168381dad Reland "render BackdropFilter layers directly to DisplayListBuilder" (flutter/engine#34381) 2022-06-29 22:26:04 +00:00
joshualitt
0c42a323c3 Revert "[web] Migrate Flutter Web DOM usage to JS static interop - 44. (#33380)" (flutter/engine#34375)
This reverts commit 38caaccb069187006063647ed1cecde5277273a0.
2022-06-29 11:51:05 -07:00
Jim Graham
fda51f006d Revert "Reland "render BackdropFilter layers directly to DisplayListBuilder"" (flutter/engine#34367) 2022-06-29 18:42:06 +00:00
joshualitt
38caaccb06 [web] Migrate Flutter Web DOM usage to JS static interop - 44. (flutter/engine#33380) 2022-06-29 10:28:56 -07:00
joshualitt
74b2af89ba [web] Migrate Flutter Web DOM usage to JS static interop - 43. (flutter/engine#33379) 2022-06-28 15:14:24 -07:00
joshualitt
249ae96480 [web] Migrate Flutter Web DOM usage to JS static interop - 40. (flutter/engine#33376) 2022-06-28 10:53:15 -07:00
Jim Graham
8986613de1 Reland "render BackdropFilter layers directly to DisplayListBuilder" (flutter/engine#34337) 2022-06-27 23:44:03 +00:00
Jim Graham
33f417d7d8 Revert "render BackdropFilter layers directly to DisplayListBuilder (#34146)" (flutter/engine#34334)
This reverts commit 7dffa322971112332579563b5df97186010a06c2. Landing on red to fix the build.
2022-06-27 14:46:52 -07:00
Jim Graham
7dffa32297 render BackdropFilter layers directly to DisplayListBuilder (flutter/engine#34146) 2022-06-27 20:44:09 +00:00
joshualitt
df7a821479 [web] Migrate Flutter Web DOM usage to JS static interop - 38. (flutter/engine#33374) 2022-06-27 11:33:45 -07:00
Xilai Zhang
9bbaf6212e [gn] use generated_files to encode entitlement information (flutter/engine#34216)
* generated_files

* for debugging push

* format files

* formate files

* trigger build

* add deps
2022-06-27 09:09:29 -07:00
Dan Field
3724bc6427 Implement toGpuImage, a synchronous, GPU-resident version of (flutter/engine#33736)
* Implement toGpuImage, a synchronous, GPU-resident version of
Picture.toImage.

This method kicks off asynchronous work on the raster task runner.
If it fails to rasterize, it will synchronously throw later when
the user attempts to draw to a canvas.

This supports several use cases:

- Quickly snapping off an expensive-to-rasterize image for reuse
  across multiple frames.
- Applying multi-pass filters to a render target.

This patch amends flutter_tester so that it can produce an image
object, but that image will always be a grey and white four square checkerboard.

Adds support for CanvasKit on Web, which basically already used
this method for its Picture.toImage implementation.

Throws an UnsupportedError for HTML on Web, since any implementation
there would almost certainly be slower than drawPicture.
2022-06-24 16:14:42 -07:00
Tong Mu
ee0e8303fb [Keyboard] Mark generated file names with infix .g. (flutter/engine#34123)
* Impl

* Format
2022-06-23 20:02:33 -07:00
Harry Terkelsen
954ed4e2f9 [canvaskit] Correctly get the directionality of the text boxes (flutter/engine#34264) 2022-06-23 17:54:52 -07:00