520 Commits

Author SHA1 Message Date
Kaushik Iska
465361fb7f Record raster end as soon as frame is submitted (flutter/engine#26970) 2021-06-28 09:59:52 -07:00
Zachary Anderson
422f4b85e7 Add missing license headers (flutter/engine#26988) 2021-06-26 09:19:10 -07:00
Ahmed Ashour
6949cee7a7 Fix typo in tests names (flutter/engine#26852)
Fixes https://github.com/flutter/flutter/issues/84927
2021-06-24 13:11:53 -07:00
Matej Knopp
6f17ca29d7 Make Layer::AssignOldLayer non virtual (flutter/engine#26740) 2021-06-14 15:59:02 -07:00
Matej Knopp
d1c029c650 ImageFilterLayer should not contribute to readback region (flutter/engine#26741) 2021-06-14 15:39:01 -07:00
David Worsham
bad9b71a01 Revert "fuchsia: Delete all the legacy code! (#26422)" (flutter/engine#26637)
This reverts commit 9afd7d6af8a0d023c0db67d24c55eb6c08c48aba.
2021-06-08 12:47:44 -07:00
David Worsham
9afd7d6af8 fuchsia: Delete all the legacy code! (flutter/engine#26422) 2021-06-07 17:29:39 -07:00
Kaushik Iska
0e0589d8b3 Cloned frame timings have same frame number (flutter/engine#26513) 2021-06-01 10:49:01 -07:00
David Worsham
efff0a7bb1 fuchsia: Fix View create vs render race (flutter/engine#26368) 2021-05-24 17:46:23 -07:00
Jonah Williams
75017d4e26 plumb frame number through to framework (flutter/engine#26233) 2021-05-19 09:59:01 -07:00
Kaushik Iska
a3d8f47cd7 Add frame number to trace events so dev tools can associate the right frame (flutter/engine#26205) 2021-05-18 14:58:44 -07:00
David Worsham
9f58d5f23f fuchsia: Only send different ViewProperties (flutter/engine#26170) 2021-05-17 10:57:46 -07:00
Kaushik Iska
415e234268 Unique frame number for each frame (flutter/engine#26021)
This gets created during vsync and stays for the
lifecycle of the frame.
2021-05-11 13:59:11 -07:00
Michael Ludwig
be14e77dc7 Skip SimpleRasterizerStatistics test on Fuchsia (flutter/engine#26053)
* Skip SimpleRasterizerStatistics test on Fuchsia

This test depends on a valid default SkFontMgr to be installed. Otherwise, it uses an empty typeface, which leads to an SkTextBlob with empty bounds and unexpected test failures when Skia updates its quickReject() behavior.

Fuchsia is the only platform that does not install an SkFontMgr.

* Fix code style and line length
2021-05-11 09:37:15 -04:00
Kaushik Iska
2fead370b3 Streamline frame timings recording (flutter/engine#25892) 2021-05-07 12:14:01 -07:00
David Worsham
1e82ae9b8e fuchsia: Fix multi-views fallout (flutter/engine#25984) 2021-05-07 10:53:07 -07:00
David Worsham
e5f652a8af fuchsia: Reliably forward View insets (flutter/engine#25381) 2021-04-30 16:24:06 -07:00
Jim Graham
6de972e85e add flag to identify sub-trees with PlatformViewLayers and always paint them (flutter/engine#25824) 2021-04-29 20:50:59 -07:00
David Worsham
8b52e92f15 fuchsia: Handle multiple views in platformViews path (flutter/engine#25343) 2021-04-28 23:57:30 -07:00
Jim Graham
a4848a76ae Add a blendMode to BackdropFilter layers to enable developers to control blending on save layers (flutter/engine#19631) 2021-04-07 23:26:15 -07:00
Dan Field
22da76000a Refactor GPU access switch (flutter/engine#24356) 2021-04-06 22:16:06 -07:00
Chris Bracken
9b4a0264d5 Correct typos throughout the engine/embedder (flutter/engine#25346)
Used the the `misspell` tool available at
https://github.com/client9/misspell, then applied hand-corrections. It's
possible we could adopt this as a presubmit, but there are still enough
false positives that it may not be worth the effort.
2021-04-01 11:08:19 -07:00
Basit Ayantunde
bbdcf49857 fixed typographical error (flutter/engine#24902) 2021-03-12 00:06:57 -08:00
David Worsham
5f2b7a72ab fuchsia: Correct PlatformView scale/transform (flutter/engine#24645) 2021-03-08 15:18:16 -08:00
Jim Graham
e3b2cc8ce9 backdrop filter layer should report cull_rect as its paint bounds (flutter/engine#24489) 2021-02-23 18:02:49 -08:00
Matej Knopp
7de5184eb9 Add DiffContext (flutter/engine#21824) 2021-02-18 14:41:01 -08:00
Michael Reed
3390011c3d Defer making skshader until we know quality (flutter/engine#24376) 2021-02-17 13:56:02 -08:00
Michael Reed
ac61cb770b Update to sampling versions (flutter/engine#24125)
Co-authored-by: Mike Reed <reed@google.com>
2021-02-02 06:43:54 -08:00
Michael Reed
7ef5d67e1b Use sampling instead of (deprecated) filter-quality (flutter/engine#24101) 2021-02-01 00:16:02 -08:00
zljj0818
a184dbb90d fix video(texture) with opacity can not play issue (flutter/engine#23793) 2021-01-26 14:44:01 -08:00
Dan Field
db4709c440 Roll clang further, fix buggy test (flutter/engine#23751) 2021-01-19 12:51:53 -08:00
Michael Ludwig
4a8267990c Use non-deprecated SkImageFilter factory functions (flutter/engine#23649)
* Only use factory functions from SkImageFilters.h

Fully addresses https://github.com/flutter/flutter/issues/40602

* Update image filter factories in unittests

SkImageFilter::MakeMatrixFilter -> SkImageFilters::MatrixTransform

* Fix header
2021-01-14 09:33:55 -05:00
Brian Salomon
691f6bc3bd Use Fractal rather than Improved noise in shader mask flow unit test (flutter/engine#23537) 2021-01-08 15:29:42 -05:00
David Worsham
4715be80e3 fuchsia: Fix incorrect scale (flutter/engine#23047) 2020-12-14 11:54:03 -08:00
mikerreed
37b2722631 opt into new Skia APIs (flutter/engine#22845) 2020-12-03 15:28:02 -08:00
David Worsham
135b5f5504 fuchsia: Ensure full-screen input interceptor (flutter/engine#22687) 2020-11-25 19:10:29 -08:00
Jim Graham
b4a85a26ca Request quickReject results from correct drawing canvas (flutter/engine#22674)
Also Fix MockCanvas clipping so tests will work with new culling
2020-11-24 13:11:15 -08:00
Sanjay Chouksey
e76e35f677 Check valid view_holder ptr before updating view (flutter/engine#22545)
Co-authored-by: Sanjay Chouksey <sanjayc@google.com>
2020-11-20 14:28:32 -08:00
Wu Zhong
b66f593f07 [iOS] Fix platfotm view called multiple times (flutter/engine#19292) 2020-11-18 11:43:02 -08:00
gaaclarke
0901a93e5b started providing the GPU sync switch to external view embedders (flutter/engine#22302) 2020-11-17 18:43:01 -08:00
Jim Graham
949d20ee2e Move layer clip culling to Paint() method to fix child caching (flutter/engine#22336) 2020-11-13 15:23:03 -08:00
Kaushik Iska
356e31aef5 Reland "remove surface dependance on external view embedder (#22468)" (flutter/engine#22470) 2020-11-12 15:37:12 -08:00
Kaushik Iska
ae4dbc51b8 Reverts 2 commits that remove surface dependance on external view embedder (flutter/engine#22468)
* Revert "Remove GetExternalViewEmbedder from surface (#22272)"

This reverts commit 9dffddd08d0ad6fa7434c5a5bdff87e09da92e57.

* Revert "Rasterizer is initialized with an external view embedder (#22405)"

This reverts commit 417c869d6bcd70ba82fdd6efc8db1efa19fb997c.
2020-11-12 08:41:11 -08:00
Kaushik Iska
9dffddd08d Remove GetExternalViewEmbedder from surface (flutter/engine#22272)
This decouples surfaces from view embedders.
2020-11-11 13:45:24 -08:00
Kaushik Iska
8b9acb11b8 Move common graphics utils to //flutter/common/graphics (flutter/engine#22320) 2020-11-10 12:34:02 -08:00
mikaelpessa
92beaad3ea Add "input shield" to capture pointer input for reinjection (flutter/engine#22067) 2020-10-29 15:23:02 -07:00
Matej Knopp
5ba6d1e42f Use preTranslate when applying offset to matrix (flutter/engine#21648) 2020-10-29 15:03:02 -07:00
Kaushik Iska
2b337d1d98 Reland fuchsia external view embedder will be shared with platform view (flutter/engine#22008)
* Reland fuchsia external view embedder will be shared with platform view

This reverts commit cecec62028b09097675f041a7203708b99d4d2c6.

* wait for the external view embedder to be initialized before creating
shell
2020-10-22 13:48:36 -07:00
Chinmay Garde
2f755560eb Add FML_UNREACHABLE to declare points in code that should never be reached. (flutter/engine#21941)
A version of this macro is present in most code-bases. The use of this macro
must satisfy two requirements:

1: If reached, the process must be terminated in all runtime modes and at all
   optimization levels.
2: If the compiler requires a value to be returned from the function,
   encountering this macro should not make the compiler insist on a return value
  (since the process is about to die anyway).

We used to have a version of this macro that wasn't widely used and didn't
satisfy the two requirements. I have removed the same and another unused macro
in fml/logging.h

Fixes https://github.com/flutter/flutter/issues/68164.
2020-10-16 20:47:43 -07:00
Ren You
cecec62028 Revert "[fuchsia] External view embedder will be shared with platform view (#21850)" (flutter/engine#21924)
This reverts commit 8b0b5acd5a8a5db5a77de78e9f89cf931fa9f688.
2020-10-16 15:25:13 -07:00