- 14 8月, 2020 1 次提交
-
-
由 Yuqian Li 提交于
Related issue: https://github.com/flutter/flutter/issues/56719
-
- 01 8月, 2020 1 次提交
-
-
由 Zachary Anderson 提交于
-
- 01 7月, 2020 1 次提交
-
-
- 11 4月, 2020 1 次提交
-
-
由 Chris Yang 提交于
-
- 10 4月, 2020 1 次提交
-
-
由 liyuqian 提交于
Fixes https://github.com/flutter/flutter/issues/53117 Test added: - ShellTest.CanLoadSkSLsFromAsset
-
- 09 4月, 2020 2 次提交
-
-
由 Chris Yang 提交于
This reverts commit f6b8eda7.
-
由 Chris Yang 提交于
-
- 04 4月, 2020 1 次提交
-
-
由 Jason Simmons 提交于
-
- 03 4月, 2020 1 次提交
-
-
由 Kaushik Iska 提交于
This change also adds TimeRecorder which records time at the start of each frame to capture the latest vsync target display time and wires it in to the rasterizer to add trace events when there is a lag.
-
- 25 3月, 2020 1 次提交
-
-
- 01 2月, 2020 1 次提交
-
-
由 Chinmay Garde 提交于
Also update all known test harnesses to use this and fixes the broken shell_unittests harness. Fixes https://github.com/flutter/flutter/issues/49853
-
- 25 1月, 2020 1 次提交
-
-
由 George Wright 提交于
This paves the way for us to have shell_unittests backed by different rendering APIs (e.g. OpenGL, Vulkan, Metal).
-
- 19 12月, 2019 2 次提交
-
-
由 Kaushik Iska 提交于
This reverts commit 6ea69a0d. On top of the revert, it reverted a commit in the PR: https://github.com/flutter/engine/pull/14024 This reverts commit ea67e5b0b930ebf552bc7dbd678a35ee6a129c39.
-
由 Kaushik Iska 提交于
This reverts commit d117ac97.
-
- 18 12月, 2019 1 次提交
-
-
由 Gary Qian 提交于
-
- 13 12月, 2019 2 次提交
-
-
由 Kaushik Iska 提交于
This makes it so that the platform views can be passed an arbitraty CreateVsyncWaiter callback that lets us inject a vsync waiter other than just the simulated monotonic vsync waiter that currently exists.
-
由 Kaushik Iska 提交于
This move makes it easier to add more vsync waiters.
-
- 05 12月, 2019 1 次提交
-
-
由 David Worsham 提交于
* Remove erroneous ChildView opacity * Wire frame metrics through contexts * Maintain layer stack inside of SceneBuilder * Remove EnsureSingleChild * Centralize system-composite and elevation logic * Wire up OpacityLayer to Scenic
-
- 04 12月, 2019 3 次提交
-
-
由 David Worsham 提交于
-
由 David Worsham 提交于
-
- 20 11月, 2019 1 次提交
-
-
由 chunhtai 提交于
* Moves pointer event sanitizing to engine * fix comment format * fix formatting * addressing comment * fix format * fix format * addressing comment
-
- 19 11月, 2019 1 次提交
-
-
由 Todd Volkert 提交于
This reverts commit f456423c. This is being reverted because it caused flutter/flutter#45098 (images don't load on iOS).
-
- 15 11月, 2019 1 次提交
-
-
由 Chris Yang 提交于
-
- 12 11月, 2019 1 次提交
-
-
由 Chris Yang 提交于
This reverts commit 2dcfaaeb.
-
- 09 11月, 2019 5 次提交
-
-
由 Chris Yang 提交于
-
由 Chris Yang 提交于
This reverts commit 618e6666.
-
由 Chris Yang 提交于
-
由 Chris Yang 提交于
Revert "Always use `IOSGLContextSwitch` to access EAGLContexts to prevent plugins from polluting Flutter's EAGLContext (#13314)" (#13753)
-
由 Chris Yang 提交于
Always use `IOSGLContextSwitch` to access EAGLContexts to prevent plugins from polluting Flutter's EAGLContext (#13314)
-
- 18 10月, 2019 1 次提交
-
-
由 George Wright 提交于
This re-enables thread safety checks for WeakPtr. WeakPtrs can't be used on a thread other than the one the WeakPtrFactory was created on. This fixes the unit tests and adds a getUnsafe() method to WeakPtr to work around the remaining unresolved locations where we are using WeakPtr unsafely.
-
- 17 10月, 2019 1 次提交
-
-
- 09 10月, 2019 1 次提交
-
-
由 liyuqian 提交于
For https://github.com/flutter/flutter/issues/40686 Unit tests added: - CacheSkSLWorks - VisitFilesCanBeCalledTwice - CanListFilesRecursively
-
- 01 10月, 2019 1 次提交
-
-
由 liyuqian 提交于
This reverts commit c2879cae. Additionally, we fix https://github.com/flutter/flutter/issues/40863 by adding a secondary VSYNC callback. Unit tests are updated to provide VSYNC mocking and check the fix of https://github.com/flutter/flutter/issues/40863. The root cause of having https://github.com/flutter/flutter/issues/40863 is the false assumption that each input event must trigger a new frame. That was true in the framework PR https://github.com/flutter/flutter/pull/36616 because the input events there are all scrolling move events. When the PR was ported to the engine, we can no longer distinguish different types of events, and tap events may no longer trigger a new frame. Therefore, this PR directly hooks into the `VsyncWaiter` and uses its (newly added) secondary callback to dispatch the pending input event.
-
- 24 9月, 2019 1 次提交
-
-
由 chunhtai 提交于
* Add windows font change logic * update * fix comment
-
- 20 9月, 2019 1 次提交
-
- 17 9月, 2019 1 次提交
-
-
由 liyuqian 提交于
Additionally, we now use the engine directly as a delegate instead of storing potentially dead runtime_controller. Unit tests have been updated to include an engine restart check which would fail before the fix. This fixes https://github.com/flutter/flutter/issues/40303
-
- 13 9月, 2019 1 次提交
-
-
由 Michael Klimushyn 提交于
This reverts commit b569e8c2.
-
- 11 9月, 2019 1 次提交
-
-
由 liyuqian 提交于
Fixes https://github.com/flutter/flutter/issues/31086 This patch is a lower level implementation of https://github.com/flutter/flutter/pull/36616 that would only impact iOS engine, and host unittests.
-
- 14 8月, 2019 1 次提交
-
-
由 Chinmay Garde 提交于
This patch allows embedders to split the Flutter layer tree into multiple chunks. These chunks are meant to be composed one on top of another. This gives embedders a chance to interleave their own contents between these chunks. The Flutter embedder API already provides hooks for the specification of textures for the Flutter engine to compose within its own hierarchy (for camera feeds, video, etc..). However, not all embedders can render the contents of such sources into textures the Flutter engine can accept. Moreover, this composition model may have overheads that are non-trivial for certain use cases. In such cases, the embedder may choose to specify multiple render target for Flutter to render into instead of just one. The use of this API allows embedders to perform composition very similar to the iOS embedder. This composition model is used on that platform for the embedding of UIKit view such and web view and map views within the Flutter hierarchy. However, do note that iOS also has threading configurations that are currently not available to custom embedders. The embedder API updates in this patch are ABI stable and existing embedders will continue to work are normal. For embedders that want to enable this composition mode, the API is designed to make it easy to opt into the same in an incremental manner. Rendering of contents into the “root” rendering surface remains unchanged. However, now the application can push “platform views” via a scene builder. These platform views need to handled by a FlutterCompositor specified in a new field at the end of the FlutterProjectArgs struct. When a new platform view in introduced within the layer tree, the compositor will ask the embedder to create a new render target for that platform view. Render targets can currently be OpenGL framebuffers, OpenGL textures or software buffers. The type of the render target returned by the embedder must be compatible with the root render surface. That is, if the root render surface is an OpenGL framebuffer, the render target for each platform view must either be a texture or a framebuffer in the same OpenGL context. New render target types as well as root renderers for newer APIs like Metal & Vulkan can and will be added in the future. The addition of these APIs will be done in an ABI & API stable manner. As Flutter renders frames, it gives the embedder a callback with information about the position of the various platform views in the effective hierarchy. The embedder is then meant to put the contents of the render targets that it setup and had previously given to the engine onto the screen (of course interleaving the contents of the platform views). Unit-tests have been added that test not only the structure and properties of layer hierarchy given to the compositor, but also the contents of the texels rendered by a test compositor using both the OpenGL and software rendering backends. Fixes b/132812775 Fixes flutter/flutter#35410
-