-
Notifications
You must be signed in to change notification settings - Fork 6k
[iOS] Supported rendering platform views without merging the raster thread. #53826
Changes from 4 commits
02556ae
b3f6670
b31aae6
75f931a
4525bd8
6ce3aa0
be03cf8
6770376
912cd40
1f65cc3
53adc81
870b950
f8267bd
80565d5
2b9a825
0a7dc5a
2745e88
6002aa0
e7a832f
f099d74
e2e6a2a
44d5b5b
b53063a
9a84539
65a5210
735ce22
a4f523b
b6c3345
a4b771e
cd8e1de
6603d18
27c0daa
d794211
2f4314b
25a4e06
ea2e66d
d220885
9b534cd
970e13a
63ebe66
ff4802a
e3fc731
c0fab3b
d73671e
7285907
bcd8519
b25a742
5f6a8d4
be7853d
b19b4d8
ab08739
6e6e5a2
355ab30
8cd1c74
30e7b97
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,6 +14,7 @@ | |
| #include "flutter/fml/macros.h" | ||
| #include "flutter/fml/time/time_point.h" | ||
|
|
||
| #include "fml/synchronization/count_down_latch.h" | ||
cbracken marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| #include "third_party/skia/include/core/SkCanvas.h" | ||
| #include "third_party/skia/include/core/SkSurface.h" | ||
|
|
||
|
|
@@ -26,6 +27,9 @@ class SurfaceFrame { | |
| using SubmitCallback = | ||
| std::function<bool(SurfaceFrame& surface_frame, DlCanvas* canvas)>; | ||
|
|
||
| using DeferredSubmit = std::function<bool()>; | ||
|
||
| using SubmitReciever = std::function<void(DeferredSubmit)>; | ||
|
|
||
| // Information about the underlying framebuffer | ||
| struct FramebufferInfo { | ||
| // Indicates whether or not the surface supports pixel readback as used in | ||
|
|
@@ -87,6 +91,8 @@ class SurfaceFrame { | |
| // | ||
| // Defaults to true, which is generally a safe value. | ||
| bool frame_boundary = true; | ||
|
|
||
| SubmitReciever submit_receiver; | ||
| }; | ||
|
|
||
| bool Submit(); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.