Commit Graph

1932 Commits

Author SHA1 Message Date
David Worsham 1423191f33 Wire frame metrics through contexts 2019-12-04 18:31:38 -08:00
Chinmay Garde e6887328a1 Fix platform view offsets incorrectly taking into account device pixel ratios. (#14135)
This issue was hidden by an incorrect test expectation that has been corrected.

Fixes b/144555069
Fixes https://github.com/flutter/flutter/issues/45991
2019-12-04 13:15:47 -08:00
David Worsham 2fc1e1bce1 Relanding: Add Flow unittests and fixtures (#14091) 2019-12-03 14:33:02 -08:00
Kaushik Iska ea228f2f83 Revert "Fix fml_unittests (#14062)" (#14087)
This reverts commit 6c605f8a96.
2019-12-03 12:24:19 -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
David Worsham 620f5281b8 Add flow test fixtures and tests (#13986) 2019-12-03 09:43:02 -08:00
Dan Field e3e2a3899e Remove suprious warning (#14079) 2019-12-02 16:51:30 -08:00
stuartmorgan 063efce92b Report backing store changes in the macOS view (#13933) 2019-12-02 16:33:04 -08:00
Francisco Magdaleno a68805bcf8 Listen to keyUp event on meta modified keys (#13984) 2019-12-02 16:17:19 -08:00
Dan Field ea721ebf1a Fix live region logic (#14081) 2019-12-02 15:49:15 -08:00
David Worsham 6c605f8a96 Fix fml_unittests (#14062) 2019-11-27 16:04:30 -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
Gary Qian bcb826759d Revert "Do not default to downstream affinity on iOS insertText (#13852)" (#14053)
This reverts commit 0d60e1a324.
2019-11-28 07:34:40 +09:00
神楽坂花火 f61bec8467 Pass "null" when copy data is null to iOS pasteboard.string (#14046) 2019-11-27 23:46:30 +09:00
Gary Qian 2c0eee4392 Always set mEditable values when different in TextPlugin (#13951) 2019-11-27 07:51:04 +09:00
Dan Field c139def52f Avoid retaining self in block (#14022) 2019-11-26 14:47:00 -08:00
Chinmay Garde ca68af252c Add a separate target for Dart coverter on FML types. (#14011)
The converters are still in a separate target that must be included manually. This allows targets that depend on FML but not Dart runtime not have to depend on the runtime.

Adds a test that includes this target and tests image decompression from assets. There is also a test for the standalone DartConvertor in shell_unittests but not in fml_unittests be cause FML uni-tests cannot yet launch a VM. I will work on adding fixtures for those.
2019-11-26 13:33:56 -08:00
gaaclarke 27fa60793b Added docstring for FlutterOverlayView. (#14019) 2019-11-26 13:10:24 -08:00
Kaushik Iska 201cfae8c7 [vulkan] Bundle vulkan validation layer so files (#13930)
Enable vulkan validation for Fuchsia in debug mode as well.
2019-11-25 16:09:56 -08:00
Chinmay Garde 9f6401362d Don't crash but warn when the scene builder specifies no layers. (#14008) 2019-11-25 15:38:41 -08:00
Francisco Magdaleno c0db9aa11f Remove device independent mask (#14010) 2019-11-25 14:55:12 -08:00
Jason Simmons c7ec5bbc1c Convert images to raster on the GPU thread for Image.toByteData (#13647)
If the image is a cross-context image that might be read from the GPU thread
during onscreen rendering, then it is not safe to read it concurrently from
the IO thread as part of Image.toByteData.

If the GPU thread does not have a graphics context, then fall back to
converting the image on the IO thread.

Fixes https://github.com/flutter/flutter/issues/30697
2019-11-25 14:44:57 -08:00
David Worsham e2aa235ab8 Fix most fml tests on Fuchsia (#14007)
* Add fuchsia MessageLoopImpl; fix several tests
2019-11-25 14:16:50 -08:00
gaaclarke 97a23a80e1 Made a way to turn off the OpenGL operations on the IO thread for backgrounded apps (#13908) 2019-11-22 14:08:33 -08:00
Gary Qian 0d60e1a324 Do not default to downstream affinity on iOS insertText (#13852) 2019-11-22 14:02:50 -08:00