|
Android: Consolidate and simplify VSync logic
This moves handling of VSync over to WindowAndroid.
It can have one client to receive vsync signals
for the main browser-side scheduling logic.
It also forwards the vsync to the WindowAndroidObservers,
i.e. RenderWidgetHostView where it's used for sending
BeginFrame signals to the renderer.
This prepares for consolidating the scheduling logic
in a single place upstream.
Which will then further allow us to use the
cc scheduler (with SingleThreadProxy) and
unblock the landing of https://codereview.chromium.org/134623005/.
BUG= 234173, 363479
NOTRY=True
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266995
Total comments: 8
Total comments: 32
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+169 lines, -616 lines) |
Patch |
 |
M |
chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellUrlTest.java
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/android/content_view_core_impl.h
|
View
|
1
2
3
|
4 chunks |
+0 lines, -13 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/content_view_core_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+0 lines, -81 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_android.h
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_android.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
6 chunks |
+52 lines, -27 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
|
View
|
1
2
3
4
5
|
6 chunks |
+0 lines, -128 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
|
View
|
1
2
3
4
5
6
|
9 chunks |
+15 lines, -80 lines |
0 comments
|
Download
|
 |
D |
content/public/android/java/src/org/chromium/content/browser/VSyncManager.java
|
View
|
|
1 chunk |
+0 lines, -36 lines |
0 comments
|
Download
|
 |
D |
content/public/android/java/src/org/chromium/content/browser/VSyncMonitor.java
|
View
|
|
1 chunk |
+0 lines, -224 lines |
0 comments
|
Download
|
 |
M |
content/public/android/javatests/src/org/chromium/content/browser/VSyncMonitorTest.java
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A + |
ui/android/java/src/org/chromium/ui/VSyncMonitor.java
|
View
|
1
2
3
4
|
4 chunks |
+15 lines, -13 lines |
0 comments
|
Download
|
 |
M |
ui/android/java/src/org/chromium/ui/base/WindowAndroid.java
|
View
|
1
2
3
4
5
6
|
8 chunks |
+50 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/base/android/window_android.h
|
View
|
1
2
3
|
3 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/base/android/window_android.cc
|
View
|
1
2
3
|
2 chunks |
+17 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/base/android/window_android_observer.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 16 (0 generated)
|