25 Commits

Author SHA1 Message Date
Casey Hillers
124093c6de Revert "Manual roll skia to d5b4acfb4" (flutter/engine#41381)
Reverts flutter/engine#41378

Tests are passing at
https://dart.googlesource.com/sdk/+/7247a1b3b7166c828a0c2e00259ec03fd737d455
2023-04-20 18:36:06 -07:00
Casey Hillers
d6886ee41e Manual roll skia to d5b4acfb4 (flutter/engine#41378) 2023-04-20 17:01:14 -07:00
Jason Simmons
7938a1c2b3 Manual Skia roll from ad90b6bd4760 to c21e7df194c3 (flutter/engine#41341)
https://skia.googlesource.com/skia.git/+log/ad90b6bd4760..c21e7df194c3

2023-04-19 brianosman@google.com Change Flutter to always use analytic
AA
2023-04-19 18:46:55 -07:00
Jim Graham
26c1ba11fa Text gradient matrix golden test (flutter/engine#33153) 2022-05-05 19:24:04 -07:00
Jim Graham
1c35cc7dc2 make sure to sync PathEffet to null for Dart Canvas rendering (flutter/engine#32672) 2022-04-14 12:39:04 -07:00
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
ColdPaleLight
d90a23b4ae Support raw straight RGBA format in Image.toByteData() (flutter/engine#28293) 2021-08-27 10:11:01 -07:00
Dan Field
5f38af543e support fallback codecs on Windows, macOS, iOS (flutter/engine#19989) 2020-07-28 17:46:02 -07:00
Dan Field
86e51b5eec 4x4.png -> 2x2.png; this file is actually 2x2 (flutter/engine#20005)
* 4x4.png -> 2x2.png; this file is actually 2x2
2020-07-28 17:12:26 -07:00
liyuqian
a7073893f4 Rename GPU to raster thread in PerformanceOverlay (flutter/engine#17148)
Rename GPU to raster thread in PerformanceOverlay and update goldens.
2020-03-24 21:43:16 -07:00
Dwayne Slater
f7eb74c11f Add ability to control dithering on Paint (flutter/engine#13868) 2019-12-11 14:53:50 -08:00
liyuqian
f8f285edcc Support non-60 refresh rate on PerformanceOverlay (flutter/engine#11419)
So we can get the correct graph on 90fps/120fps devices :)

See https://github.com/flutter/flutter/issues/37888
2019-08-24 15:22:52 -07:00
gaaclarke
fd3dac0f58 Made Picture::toImage happen on the IO thread with no need for an onscreen surface. (flutter/engine#9813)
Made Picture::toImage happen on the IO thread with no need for a surface.
2019-07-15 17:16:20 -07:00
liyuqian
7ed28478d9 Reland PerformanceOverlayLayer golden test (flutter/engine#8140)
This reverts commit c416fe99ee0ddb464ca85c0b336d679ea626a03c.

Now we shouldn't break the engine build as https://chromium-review.googlesource.com/c/chromium/tools/build/+/1480746 is landed. The golden test is disabled by default and we'll enable it later in our recipe and test it in presubmit tests.
2019-03-12 14:10:11 -07:00
Chris Bracken
c416fe99ee Revert "Revert "Revert "Reland PerformanceOverlayLayer golden test (#7863)" (#7895)" (#7911)" (flutter/engine#7916)
This breaks the Linux build with:
```
[ RUN      ] PerformanceOverlayLayer.Gold
../../flutter/flow/layers/performance_overlay_layer_unittests.cc:70: Failure
Value of: golden_data != nullptr
  Actual: false
Expected: true
Golden file not found: "/b/s/w/ir/k/src/flutter/testing/resources"/performance_overlay_gold.png.
Please either set --golden-dir, or make sure that the unit test is run from the right directory (e.g., flutter/engine/src).
```

This reverts commit 3534a2c4cdfa35f921e99466013c7c8b3f03a8c3.
2019-02-21 17:04:34 -08:00
liyuqian
3534a2c4cd Revert "Revert "Reland PerformanceOverlayLayer golden test (#7863)" (#7895)" (flutter/engine#7911)
This reverts commit def147d48ee538dd7bbf0d2f0323a5d90a3d872c.
2019-02-21 15:27:37 -08:00
Chris Bracken
def147d48e Revert "Reland PerformanceOverlayLayer golden test (#7863)" (flutter/engine#7895)
Reverting this broke the flow tests for the performance overlay:

```
../../flutter/flow/layers/performance_overlay_layer_unittests.cc:70: Failure
Value of: golden_data != nullptr
  Actual: false
Expected: true
```

This reverts commit ad96de250ecc47a7c26134ad434150199539b00b.
2019-02-20 20:45:39 -08:00
liyuqian
ad96de250e Reland PerformanceOverlayLayer golden test (flutter/engine#7863)
* Revert "Revert "Add mock capability to PerformanceOverlayLayer (#7537)" (#7765)"

This reverts commit 284016b1e1d6e8badec99cbff907ddb900cd27c4.

* Add command line args for golden dir and font file
2019-02-20 16:49:39 -08:00
Dan Field
284016b1e1 Revert "Add mock capability to PerformanceOverlayLayer (#7537)" (flutter/engine#7765)
This reverts commit a3b89e97a89a1c3bd725cf391ff7b6b0fe7e810b.
2019-02-09 00:13:14 -08:00
liyuqian
a3b89e97a8 Add mock capability to PerformanceOverlayLayer (flutter/engine#7537)
So we can do golden test on PerformanceOverlay to avoid regression like
https://github.com/flutter/flutter/issues/26387
2019-02-08 14:47:22 -08:00
Brian Osman
3dd1198f0d Remove SkColorSpaceXformCanvas, use color-managed SkSurfaces instead (flutter/engine#7548)
Behavior (visual) changes should be very minor. Things that are to be expected:
* A few things were not color managed correctly by the transform canvas (color emoji, some color filters). Those will be handled correctly with the tagged surfaces (although we're always transforming to sRGB, so nothing should change until we target a wider gamut).
* Image filtering will happen in the source color space, rather than the destination. Very minor.
* The transform canvas did caching of images in the destination color space. Now, the conversion happens at draw time. If there are performance issues, images can be pre-converted to the destination with makeColorSpace().
2019-01-22 15:34:51 -05:00
Dan Field
a9728ab07a Make IOManager own resource context (flutter/engine#7272)
* Make IOManager own resource context
2019-01-14 13:46:38 -08:00
Todd Volkert
cf5661d4ae Support different encodings in Image.toByteData() (flutter/engine#5060)
Fixes https://github.com/flutter/flutter/issues/16635
2018-04-20 19:47:27 -07:00
Todd Volkert
f10bdfbf77 Return raw (unencoded) bytes in Image.toByteData() (flutter/engine#5008)
Building image encoding into the engine bloated the
binary size. This change will return raw bytes, and
callers who use this functionality can take on the
dependency on image encoding in their apps (via a
Dart package or a platform plugin).

Fixes https://github.com/flutter/flutter/issues/16537
2018-04-16 12:39:46 -07:00
Majid Valipour
9eae92b797 Enable Image encoding by leveraging existing Skia functionality (flutter/engine#4762)
Add Image.toByeData()

Fixes flutter/flutter#11648
2018-04-05 17:26:49 -07:00