|
Add external surface rendering mode
In Android, some content can only be rendered directly to
SurfaceFlinger. Chrome's embedded video rendering model cannot render
this kind of content because the video should be composited with web
content in GLRenderer.
This change adds "render-video-on-external-surface" flag to enable
content to be rendered on an external surface.
* TODOs
- Handle location/size changes.
- Figure out a way to determine which content needs to be rendered
directly to SurfaceFlinger.
- Polish up messaging scheme.
BUG= 7371621
Total comments: 16
Total comments: 32
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+235 lines, -96 lines) |
Patch |
 |
M |
content/browser/android/content_video_view.h
|
View
|
1
2
|
4 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/android/content_video_view.cc
|
View
|
1
2
3
|
2 chunks |
+11 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/media_player_manager_android.h
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/media_player_manager_android.cc
|
View
|
1
2
3
4
|
15 chunks |
+65 lines, -31 lines |
0 comments
|
Download
|
 |
M |
content/common/media/media_player_messages.h
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java
|
View
|
1
2
3
|
11 chunks |
+58 lines, -23 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/content_switches.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/public/common/content_switches.cc
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webmediaplayer_proxy_impl_android.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/webmediaplayer_proxy_impl_android.cc
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
 |
M |
webkit/media/android/webmediaplayer_android.h
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/media/android/webmediaplayer_android.cc
|
View
|
1
2
3
4
|
3 chunks |
+16 lines, -6 lines |
0 comments
|
Download
|
 |
M |
webkit/media/android/webmediaplayer_impl_android.h
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/media/android/webmediaplayer_impl_android.cc
|
View
|
1
2
3
4
|
2 chunks |
+31 lines, -10 lines |
0 comments
|
Download
|
Total messages: 19 (0 generated)
|