Jim Graham
85953615eb
Conditionally use offscreen root surface only when needed
...
Currently helps primarily on iOS when no BackdropFilter is present by lowering energy usage
2019-12-11 15:10:55 -08:00
liyuqian
84bf72917c
Revert PRs to unblock David and Jim's work ( #14088 )
...
* Revert "Add flow test fixtures and tests (#13986 )"
This reverts commit 620f5281b8 .
* Revert "Dynamically determine whether to use offscreen surface based on need (#13976 )"
This reverts commit a86ef94656 .
2019-12-03 12:02:37 -08:00
Jim Graham
a86ef94656
Dynamically determine whether to use offscreen surface based on need ( #13976 )
...
Only use an offscreen surface on iOS if a layer which reads back from the destination surface, such as BackdropFilter, is present.
2019-11-27 15:01:25 -08:00
gaaclarke
89e395853c
Refactor to passing functions by const ref ( #13975 )
...
Moved our code to passing functions by const ref
2019-11-22 12:20:02 -08:00
Todd Volkert
762294cf2d
Revert "RendererContextSwitch guard flutter's gl context rework. ( #13812 )" ( #13906 )
...
This reverts commit f456423cfb .
This is being reverted because it caused flutter/flutter#45098
(images don't load on iOS).
2019-11-18 18:28:04 -08:00
Chris Yang
f456423cfb
RendererContextSwitch guard flutter's gl context rework. ( #13812 )
2019-11-14 11:50:45 -08:00
Chris Yang
6d66993b1d
Revert "Reland "Guarding EAGLContext used by Flutter #13314 " ( #13759 )" ( #13788 )
...
This reverts commit 2dcfaaeb5d .
2019-11-11 17:17:18 -08:00
Chris Yang
2dcfaaeb5d
Reland "Guarding EAGLContext used by Flutter #13314 " ( #13759 )
2019-11-08 20:09:18 -08:00
Chris Yang
f5754357b6
Revert "Reland "Guarding EAGLContext used by Flutter #13314 " ( #13755 )" ( #13757 )
...
This reverts commit 618e6666ce .
2019-11-08 13:44:29 -08:00
Chris Yang
618e6666ce
Reland "Guarding EAGLContext used by Flutter #13314 " ( #13755 )
2019-11-08 12:26:48 -08:00
Chris Yang
2036530c4d
Revert "Always use IOSGLContextSwitch to access EAGLContexts to prevent plugins from polluting Flutter's EAGLContext ( #13314 )" ( #13753 )
2019-11-08 10:59:45 -08:00
Chris Yang
bec554211b
Always use IOSGLContextSwitch to access EAGLContexts to prevent plugins from polluting Flutter's EAGLContext ( #13314 )
2019-11-08 10:02:23 -08:00
gaaclarke
1121fda40a
Added class docstrings for classes inside of shell/common. ( #9303 )
...
Added class docstrings for classes inside of shell/common.
2019-06-13 16:15:10 -07:00
liyuqian
8ff631f3df
Rename flow namespace to flutter ( #8615 )
...
This follows our namespace change from shell to flutter: https://github.com/flutter/engine/pull/8520 .
2019-04-17 14:38:45 -07:00
Chinmay Garde
56052c70af
Rename the shell namespace to flutter. ( #8520 )
2019-04-09 17:10:46 -07:00
Chinmay Garde
e37bd27b48
Fix weak pointer use violations in shell and platform view. ( #8046 )
2019-03-05 15:21:06 -08:00
Brian Osman
50ddc3712f
Remove SkColorSpaceXformCanvas, use color-managed SkSurfaces instead ( #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
Jason Simmons
4dbdf94aaf
Ensure that the EGL rendering context is bound to the GPU thread in Rasterizer::MakeRasterSnapshot ( #6816 )
...
Fixes https://github.com/flutter/flutter/issues/24083
2018-11-09 17:05:05 -08:00
Michael Goderbauer
70a1106b50
Unify copyright lines ( #6757 )
2018-11-07 12:24:35 -08:00
Amir Hardon
df85722fa0
Plumb the iOS PlatformViewsController into flow. ( #6603 )
...
For flow to manipulate the embedded UIViews during the paint traversal
it needs some hook in PaintContext.
This PR introduces a ViewEmbeder interface that is implemented by the
iOS PlatformViewsController and plumbs it into PaintContext.
The ViewEmbedder interface is mainly a place holder at this point, as
this PR is focused on just the plumbing.
2018-10-26 14:26:59 -07:00
Chinmay Garde
47a1ce0e62
Allow embedders to set the root surface transformation. ( #6085 )
2018-08-28 14:13:49 -07:00
Chinmay Garde
9f8285ac6c
Remove all dependencies on Garnet. ( #5869 )
2018-07-26 12:49:34 -07:00
Chinmay Garde
d8eb659b15
Make the rasterizer own the compositor context. ( #5034 )
...
This allows the texture registry to be accessed before render surface acquisition.
2018-04-17 18:45:58 -07:00
Chinmay Garde
58e84c8bf0
Re-land "Support multiple shells in a single process. ( #4932 )" ( #4998 )
...
* Re-land "Support multiple shells in a single process. (#4932 )"
This reverts commit 723c7d0143 .
2018-04-13 13:48:15 -07:00
Vyacheslav Egorov
723c7d0143
Revert "Re-land "Support multiple shells in a single process. ( #4932 )" ( #4977 )" ( #4981 )
...
This reverts commit a3327bff86 .
2018-04-12 18:28:55 +02:00