Commit Graph

275 Commits

Author SHA1 Message Date
Jim Graham ffcd8564a2 Imagefilter wrapper object (#13711)
Make ImageFilter objects comparable and printable.

This will help in areas in the Widget and RenderObject trees which try to avoid marking objects for updates if a setter is called with the same value (previously all ImageFilter objects would compare as not equal and appear to be new values).
2019-11-19 13:43:06 -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
chunhtai 1f1e2ba58e reland add lifecycle enum (#13767)
This reverts commit 8ebb318401.
2019-11-13 11:26:25 -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
Greg Spencer f7e73b6236 Move TextRange from the framework to dart:ui. (#13747)
This removes TextRange from the framework and moves it to the engine, in preparation for using it to return text ranges from the text extent APIs, like Paragraph.getWordBoundary instead of a List<int>.

Also added new tests for TextRange.
2019-11-08 12:21:46 -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
Alexander Markov ddceed5f7a Cleanup obsolete --strong option of front-end server (#13735) 2019-11-07 13:34:55 -08:00
George Wright bc7a007978 Package fml_unittests in a .far file for fml unit tests on Fuchsia (#13471)
Add fml_tests target for the fml unit tests on Fuchsia
2019-11-06 13:01:54 -08:00
chunhtai 8ebb318401 Revert "Issues/39832 reland (#13642)" (#13720)
This reverts commit 1bfb928e07.
2019-11-06 11:41:36 -08:00
chunhtai 1bfb928e07 Issues/39832 reland (#13642)
* Reland "Added new lifecycle enum (#11913)"
2019-11-05 14:52:16 -08:00
chunhtai fe0838e948 Revert "Added new lifecycle enum (#11913)" (#13632)
This reverts commit 02a4790074.
2019-11-04 13:40:20 -08:00
chunhtai 02a4790074 Added new lifecycle enum (#11913) 2019-11-04 12:33:41 -08:00
gaaclarke 1af0e585b3 Disabled GPUThreadMerger tests. (#13480)
* Disabled GPUThreadMerger tests.

* switched to a single gtest_filter argument
2019-11-01 15:20:45 -07:00
Dan Field 21c049e202 Print the output (#13479) 2019-11-01 14:45:17 -07:00
Dan Field a5243c024c use check_output instead of check_call so that exceptions show the output. (#13478) 2019-11-01 11:17:15 -07:00
Amir Hardon 8997f34819 Fix stale platform view gr context on iOS (#13469)
When gr context is changed (this happens when sending the app to the background and then to the foreground) we need to update it for all the platform view overlay surfaces.

The update logic was caching the previous gr context to figure if it had to be updated, but after updating it for a given overlay we were updating the cached context. In apps with multiple platform views this will result in overlays with a stale gr context.

This fixes flutter/flutter#36437
And I believe it should fix flutter/flutter#36999 as well (though I don't have repro code to verify).
2019-10-31 16:51:11 -07:00
chunhtai d33b91837e Reland "fix fml_unittes is not run during presubmit (#13395)" (#13426) 2019-10-31 13:50:19 -07:00
Amir Hardon c63aefd28b Fix iOS crash when multiple platform views are in the scene (#13449)
Having 2 or more platform views simultaneously in the layer tree was crashing immediately on iOS with GL backend.

This regressed in #11070 which passed gl_context to a function in a loop using std::move (which meant on the second iteration the caller is no longer the owner of the field).

I added a scenarios_app test, though this test doesn't run on a physical device on CI so it would have only caught the problem when running locally (flutter/flutter#43852).
2019-10-31 10:30:15 -07:00
chunhtai e569294902 Revert "fix fml_unittes is not run during presubmit (#13395)" (#13425)
This reverts commit 4d553cfe1c.
2019-10-29 16:36:43 -07:00
chunhtai 4d553cfe1c fix fml_unittes is not run during presubmit (#13395) 2019-10-29 15:31:25 -07:00