Devon Carew
d9fcfb35c1
add padding around the perf overlay ( flutter/engine#4638 )
2018-02-06 07:18:45 -08:00
P.Y. Laligand
996feda91d
Adjust to thinner Fuchsia sysroot. ( flutter/engine#4624 )
2018-02-01 13:33:22 -08:00
Brian Osman
24c68f8454
Include SkBitmap and SkPaint ( flutter/engine#4582 )
...
Skia is trimming some of these transitive includes
2018-01-23 16:12:43 -05:00
amirh
b86da443de
Explicitly check if the shape layer is an oval. ( flutter/engine#4577 )
...
isRRect returns false for RRects that are oval.
Fixes flutter/flutter#14186
2018-01-22 12:15:24 -08:00
amirh
ac2c85c69b
Update comment on Scenic shapes following feedback from schwa423@ ( flutter/engine#4563 )
2018-01-17 14:39:40 -08:00
amirh
9ee5ab1d8b
Fallback to compose shapes as their bounding rectangles. ( flutter/engine#4553 )
...
Scenic doesn't currently support arbitrary shaped frames.
2018-01-16 18:20:18 -08:00
amirh
af26adb128
Revive always using SkPath for physical models ( flutter/engine#4537 )
2018-01-11 15:11:00 -08:00
amirh
fcfe94380f
Revert "Delete the SkPath/SkRRect code duplication in for physical model layers. ( #4519 )" ( flutter/engine#4527 )
...
This reverts commit 0847830c7e3e2abff050596f911f77878b7a3c96.
2018-01-08 19:25:56 -08:00
amirh
0847830c7e
Delete the SkPath/SkRRect code duplication in for physical model layers. ( flutter/engine#4519 )
2018-01-08 16:13:15 -08:00
Zachary Anderson
bd6f350f6d
Fix Fuchsia build errors ( flutter/engine#4508 )
2018-01-03 08:34:04 -08:00
amirh
82c6be7588
Remove extraneous const from PhysicalLayerRRect::getPath ( flutter/engine#4490 )
...
This caused a breakage on mac due to inconsistent signatures for
declaration and implementation.
2017-12-21 16:26:12 -08:00
amirh
9efe7a7285
Engine support for arbitrary shape physical layers ( flutter/engine#4488 )
...
* Adjust PhysicalModelLayer to use an abstract shape, and provide concrete RRect and Path shape implementations
* add a pushPhysicalShape to scene_builder and compositing.dart
2017-12-21 15:57:10 -08:00
Ben Konyi
31f0a6055c
Changes to assets/ build/ flow/ runtime/ and shell/ to allow for compilation on Windows ( flutter/engine#4407 )
...
Made changes to assets/ build/ flow/ runtime/ and shell/ to allow for
compilation on Windows.
2017-11-30 19:47:20 -05:00
Sigurd Meldgaard
2338eae934
Move texture registry to platform view ( flutter/engine#4388 )
...
* Move texture registry ownership to platform view
This enables the texture registry to survive activity pause on Android.
* Remove debug info
* Formatted
* Set texture registry on initial rasterizer
* Remove unneccessary std::move
2017-11-22 14:39:03 +01:00
Sigurd Meldgaard
f3bf571559
Revert "Move texture registry ownership to platform view ( #4348 )" ( flutter/engine#4387 )
...
This reverts commit 2c2ddf97d3bc0b385a4f2e38e6a52066efbe4f25.
2017-11-22 14:12:25 +01:00
Sigurd Meldgaard
2c2ddf97d3
Move texture registry ownership to platform view ( flutter/engine#4348 )
...
* Move texture registry ownership to platform view
This enables the texture registry to survive activity pause on Android.
2017-11-22 09:55:45 +01:00
Brian Osman
59fc5fe74f
Disable linear blending, use SkColorSpaceXformCanvas instead ( flutter/engine#4355 )
...
This retains gamut correction (adjusting colors for screens with different capabilities), but does all blending and interpolation with sRGB-encoded values. That matches the behavior expected by most users, as well as the behavior of nearly all other systems. It also greatly simplifies the EGL code.
A future Skia change will make this behavior more of a first-class citizen, so some of these implementation details will change again, but the behavior will not. The bulk of this change (elimination of complication from the GL surface code) is permanent - it's just the SkColorSpaceXformCanvas that will be replaced.
2017-11-14 13:33:26 -05:00
Jason Simmons
895bbeabed
In GetTexture, do not insert missing IDs into the texture registry map ( flutter/engine#4339 )
...
Fixes https://github.com/flutter/flutter/issues/12924
2017-11-09 10:04:41 -08:00
mikejurka
f70c94e381
Fix low-res rasterized images on Fuchsia. ( flutter/engine#4325 )
...
Plumb through Scenic display metrics to use during
Preroll.
2017-11-08 14:59:54 -08:00
Mikkel Nygaard Ravn
9184c2fd2f
Fix compile error in scene_update_context ( flutter/engine#4311 )
2017-11-02 12:22:32 +01:00
Chinmay Garde
d0ec6228a5
Add texture support (eg video, camera) ( flutter/engine#4159 )
2017-11-02 10:57:29 +01:00
P.Y. Laligand
0768d0714e
Move //dart to //third_party/dart. ( flutter/engine#4245 )
2017-10-19 01:20:38 -07:00
P.Y. Laligand
235f07742a
Allow the project to be mapped to a location other than //flutter. ( flutter/engine#4203 )
...
This is for Fuchsia where we would like it to be located at //third_party/flutter.
2017-10-13 17:00:58 -07:00
Chinmay Garde
eac6438ce8
Make flow::Layer::Paint const. ( flutter/engine#4200 )
2017-10-11 16:48:31 -07:00
Chinmay Garde
5020651ee0
Make flow::LayerBuilder virtual and plug in the default layer builder. ( flutter/engine#4199 )
2017-10-11 16:26:18 -07:00
Chinmay Garde
adaa3a0303
Move layer tree construction into flow::LayerBuilder so alternate builders can be plugged in. ( flutter/engine#4197 )
2017-10-11 12:25:55 -07:00
Adam Barth
80b35ebe57
Update paths to Fuchsia libraries ( flutter/engine#4147 )
...
These libraries are in Topaz now.
2017-09-27 13:45:49 -07:00
Jason Simmons
858be590cf
Set a higher filter quality for drawing raster cache images ( flutter/engine#4116 )
...
According to Skia, kLow offers a quality improvement with little cost over
the default kNone
Fixes https://github.com/flutter/flutter/issues/12091
2017-09-18 12:28:52 -07:00
George Kulakowski
fb411f977b
Rename Magenta to Zircon, along with associated abbreviations ( flutter/engine#4114 )
2017-09-14 22:49:46 -07:00
Michael Goderbauer
ac24af87f0
Format all c-like sources with clang-format ( flutter/engine#4088 )
...
* format
* license script adaptions
* updated licenses
* review comments
2017-09-12 15:36:20 -07:00
George Kulakowski
fa539e618e
Rename ftl to fxl in Fuchsia specific code ( flutter/engine#4090 )
2017-09-11 15:58:48 -07:00
Petr Hosek
4bee84e385
Add missing virtual destructors to virtual classes ( flutter/engine#4083 )
...
These were previously undetected because Wdelete-non-virtual-dtor
didn't work with std::unique_ptr, but that's no longer the case.
2017-09-09 14:01:31 -07:00
Adam Barth
77597e6279
Update paths for Mozart move ( flutter/engine#4081 )
2017-09-08 15:24:16 -07:00
Ian McKellar
6ea4f8e327
Updates for the dart:fidl.internal rename and split. ( flutter/engine#4070 )
...
Now it references dart:zircon and dart:fuchsia.
2017-09-06 15:33:43 -07:00
Josh Gargus
e4f4e785ba
Rename Mozart SceneManager to "Scenic". ( flutter/engine#4056 )
2017-09-01 17:40:27 -07:00
Adam Barth
a5906680dd
Fix Fuchsia build
2017-08-31 17:23:41 -07:00
Adam Barth
2cf3cffd3f
Add //garnet ( flutter/engine#4043 )
...
This repository contains FTL now in the Fuchsia build.
2017-08-31 16:47:13 -07:00
mikejurka
3bf835e3cd
Fix crash when removing stories. ( flutter/engine#4003 )
...
Ensure that a Mozart EntityNode (that corresponds
to an ExportNode) is always released on the
Rasterizer thread.
MZ-259
2017-08-23 17:32:19 -07:00
Ian McKellar
294cb8fa86
Update to new Dart FIDL bindings API. ( flutter/engine#3988 )
...
* Update to new Dart FIDL bindings API.
2017-08-22 13:32:46 -07:00
Jason Simmons
0f2c77f194
Capture fractional pixel coordinates in the bounds of raster cache bitmaps ( flutter/engine#3974 )
...
The bitmap used to hold a prerolled image in the raster cache must have an
integer width/height in pixels. However, the picture used to draw the image
may have a non-integer width/height in physical coordinates and thus not
completely fill the bitmap. The compositor should only select the subset
of the bitmap that reflects the portion filled by the rendered picture.
2017-08-10 14:08:16 -07:00
Chinmay Garde
e94546d547
On emulators, render onscreen (with warnings) if any of the MakeS32 based SkSurface creation calls fail. ( flutter/engine#3947 )
2017-08-02 14:29:29 -07:00
Jeff Brown
adef60fe5a
Use metrics provided by scene events. ( flutter/engine#3922 )
...
Compute the necessary texture resolution using more accurate scaling
information provided by Mozart scene node metrics events instead of the
device pixel ratio provided by the Mozart view properties (which we
might remove in the future).
This allows us to allocate smaller textures when a Flutter view is
being scaled down.
2017-07-24 19:17:55 -07:00
Jason Simmons
2afa2eefd9
Incorporate the device pixel ratio when drawing shadows ( flutter/engine#3919 )
2017-07-24 12:01:43 -07:00
Chinmay Garde
f7b67119d3
Update the content handler to use the Mozart session API. ( flutter/engine#3887 )
2017-07-18 15:40:18 -07:00
Brian Osman
1a126078de
Revert "Revert "Reland "Run Flutter on iOS and Android with color correct Skia ( #3826 )" ( #3878 )" ( flutter/engine#3895 )
...
This reverts commit 849b700434fdcd3fc24f05640582b127654aa7d8.
2017-07-18 15:58:35 -04:00
Benjamin Lerman
5d9d760e1d
Fix usage of std::labs ( flutter/engine#3891 )
2017-07-18 09:54:24 -04:00
Chinmay Garde
b0b010349e
Ensure that the source rect used for the the raster cache replacement is the same as the size of the N32Premul surface. ( flutter/engine#3889 )
...
Also adds debug printers for SkRect and SkPoint.
2017-07-17 23:42:40 -07:00
freiling
fd6da1b2df
[flow] remove flush from SceneUpdateContext::ExecutePaintTasks ( flutter/engine#3863 )
...
Instead of flushing each canvas, flush once on the context from which each of the canvas is derived.
This gives us a significant performance increase on the fuchsia vulkan backend
2017-07-14 12:06:10 -07:00
Collin Jackson
849b700434
Revert "Reland "Run Flutter on iOS and Android with color correct Skia ( #3826 )" ( flutter/engine#3878 )
...
This reverts commit 3cfb2821b9aa7f288d6aedd9f90c51b11bf451ad.
Fixes a regression with semitransparent images (flutter/flutter#11169 )
2017-07-13 14:22:25 -07:00
Brian Osman
3cfb2821b9
Reland "Run Flutter on iOS and Android with color correct Skia ( flutter/engine#3826 )
...
* Revert "Revert "Reland "Run Flutter on iOS and Android with color correct Skia" (#3818 )" (#3823 )"
This reverts commit fdaab5c38fa82de669347508817b377285733946.
* Fix test code to match internal API change
2017-06-27 13:30:10 -04:00