Commit Graph

961 Commits

Author SHA1 Message Date
David Worsham 065aaf683c Maintain layer stack inside of SceneBuilder 2019-12-04 18:31:39 -08:00
David Worsham 1423191f33 Wire frame metrics through contexts 2019-12-04 18:31:38 -08:00
David Worsham a46a98c526 Remove erroneous ChildView opacity 2019-12-04 18:31:38 -08:00
Yegor 5d9509ae05 [web][felt] fix source map path (#14134) 2019-12-04 13:28:23 -08:00
Mouad Debbar 8d1c59811c [web] Fix text measurement when constraint width is infinite (#14132) 2019-12-04 13:27:14 -08:00
chunhtai 3e6d6bc612 add pointer data santizing in flutter web engine (#14082) 2019-12-03 18:41:36 -08:00
Casey Hillers 6179380243 Update fallback to Roboto url to be HTTPS (#14086) 2019-12-03 12:25:53 -08:00
Brian Osman 1a96087747 Update to newer path fill-type API in Skia (#14070) 2019-12-03 11:57:54 -05:00
Harry Terkelsen 8d6fa7e85c Fallback to Roboto if no suitable font is found (#14061) 2019-11-27 17:20:28 -08:00
Nurhan Turgut 4bdd15cd54 more tests for enabling semantics (#14060)
* more tests for enabling semantics

* addressing pr comments
2019-11-27 14:53:48 -08:00
Mouad Debbar bc07e6a239 [web] Initial support for LineMetrics (#13985) 2019-11-27 12:56:44 -08:00
Nurhan Turgut 268107d2fc fixing the method call for testing semantics (#14056) 2019-11-27 10:39:16 -08:00
Nurhan Turgut e3e5f8dabc Adding support for enabling semantics on desktop (#14003)
* DRAFT: adding support for enabling semantics on desktop

* Working solution for desktop.

* Refactoring class structure. Removing unrelated comments.

* Fixing enabling semantics from dom_renderer

* Adding unit tests.Fixing failing cases. More refactoring.

* more work on tests.

* Fixing licences

* addressing PR comments
2019-11-26 18:59:26 -08:00
Harry Terkelsen 7b07be61b9 Refactor CanvasKit backend in preparation for platform views (#13935)
* SkCanvas -> SkLayerCanvas

SkRecordingCanvas -> SkCanvas

* Move files

* WIP on canvas refactor

* Refactor CanvasKit backend

* fix tests

* update licenses

* Respond to PR comments
2019-11-25 18:21:45 -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
Jonah Williams 298e053bdc Add support for FontLoader API for the web (#13999) 2019-11-25 11:07:13 -08:00
Brian Osman 388f814d0e Use new SkPathDirection enum, previous one is deprecated (#14005) 2019-11-25 14:03:16 -05: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
Mouad Debbar 72e167e47d [web] Fix bug in rich text layout (#13981) 2019-11-22 12:20:16 -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
Ferhat 7e68097cc1 [web] Fix line-height for Firefox (#13960) 2019-11-21 13:04:51 -08:00
Mouad Debbar f6a3eb9d19 [web] Allow users to enable canvas text measurement (#13929) 2019-11-21 12:37:07 -08:00
Mouad Debbar 96fc607b8a [web] Refactor text editing to handle any order of platform messages gracefully (#13741) 2019-11-21 12:36:53 -08:00
Ferhat ff448c307f Fix edge detection for correct dom_renderer reset (#13940) 2019-11-20 08:56:56 -08:00
Nurhan Turgut df55ed4c5b [web] Flutter for web autocorrect support (#13922)
* support for autocorrect

* fixing the unit tests. Note there is no unit tests for the autocorrect since the unit tests do not run on webkit

* addressing PR comments

* fix typo
2019-11-20 06:47:09 -08:00