|
Android: Move scheduling logic to CompositorImpl
This adds two ways of scheduling:
- implicitly from LTHClient::ScheduleComposite():
This will post a task to composite immediately.
- explicitly (for Chrome) through SetNeedsComposite() where
there are no layer tree changes, but instead a Composite()
will be scheduled for vsync with the Layout() callback giving
the app a chance to update the tree.
TBR=skyostil@chromium.org
NOTRY=True
BUG= 234173
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270231
Total comments: 6
Total comments: 22
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+189 lines, -177 lines) |
Patch |
 |
M |
content/browser/android/content_view_render_view.h
|
View
|
1
2
|
1 chunk |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/content_view_render_view.cc
|
View
|
1
2
|
3 chunks |
+4 lines, -19 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/compositor_impl_android.h
|
View
|
1
2
3
|
6 chunks |
+39 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/compositor_impl_android.cc
|
View
|
1
2
3
6
|
8 chunks |
+120 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_android.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
View
|
1
2
3
4
5
|
3 chunks |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
|
View
|
1
2
3
4
5
|
9 chunks |
+8 lines, -82 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/android/compositor.h
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/android/compositor_client.h
|
View
|
1
2
|
1 chunk |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/android/java/src/org/chromium/ui/base/WindowAndroid.java
|
View
|
1
|
3 chunks |
+2 lines, -31 lines |
0 comments
|
Download
|
 |
M |
ui/base/android/window_android.cc
|
View
|
1
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/base/android/window_android_compositor.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 16 (0 generated)
|