|
Prime the landing pad for the new video rendering pipeline.
This is not a functional change, it only updates the interfaces and
call sites in preparation for switching to a vsync based video
rendering pipeline.
Some notes:
- Plumbs a VideoRendererSink into the the rendering pipeline; similar to
how we have an AudioRendererSink.
- A couple VideoRendererSink mocks are introduced which will be short
lived. Like audio, we will need fakes which can pump consumption tasks.
- The "PaintCB" callback has been temporarily placed on the new sink
interface such that in the field experiments can be run comparing the
performance of the video rendering approaches.
- Finally nukes Player_X11 since setting up a vsync renderer just for
unused tool code isn't worth the effort.
- Since compositor callbacks may stop due to visibility changes, the
new VideoRendererImpl will use a countdown timer to pump video playback
as frames expire; expired frames will not count as dropped.
- Since canvas/WebGL requires frame updates in the background a new
method has been added to VideoFrameCompositor to return the current
frame if it was updated with 250ms, or to request a new one and return
the updated one.
Subsequent work:
- sunnyps@ will be switching VideoFrameProviderClientImpl over to using
a BeginFrameObserver, which will ultimately drive the Render() callbacks.
- dalecurtis@ will land the VideoRendererAlgorithm which powers the new
rendering pipeline.
BUG= 439548
TEST=everything works as is.
Committed: https://crrev.com/45a3c93f745eabf6c1b1cbdac87ed4350a919e76
Cr-Commit-Position: refs/heads/master@{#325306}
Total comments: 25
Total comments: 2
Total comments: 37
Total comments: 2
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+501 lines, -1236 lines) |
Patch |
![](/static/closedtriangle.gif) |
M |
BUILD.gn
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
build/gn_migration.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
cc/layers/video_frame_provider.h
|
View
|
1
2
3
4
5
|
3 chunks |
+49 lines, -21 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
cc/layers/video_frame_provider_client_impl.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
cc/layers/video_frame_provider_client_impl.cc
|
View
|
|
2 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
cc/layers/video_layer_impl.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
cc/test/fake_video_frame_provider.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
cc/test/fake_video_frame_provider.cc
|
View
|
1
2
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chromecast/media/base/switching_media_renderer.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chromecast/media/base/switching_media_renderer.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chromecast/media/cma/filters/cma_renderer.h
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chromecast/media/cma/filters/cma_renderer.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
6 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chromecast/renderer/media/chromecast_media_renderer_factory.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
chromecast/renderer/media/chromecast_media_renderer_factory.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
content/renderer/media/android/webmediaplayer_android.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
content/renderer/media/android/webmediaplayer_android.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
content/renderer/media/webmediaplayer_ms.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
content/renderer/media/webmediaplayer_ms.cc
|
View
|
1
2
3
|
2 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+0 lines, -31 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/base/mock_filters.h
|
View
|
1
2
3
|
2 chunks |
+11 lines, -13 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/base/pipeline.h
|
View
|
|
3 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/base/pipeline.cc
|
View
|
1
2
3
|
4 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/base/pipeline_unittest.cc
|
View
|
1
2
3
|
5 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/base/renderer.h
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/base/renderer_factory.h
|
View
|
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/base/video_renderer.h
|
View
|
1
2
3
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
A |
media/base/video_renderer_sink.h
|
View
|
1
2
3
4
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/blink/video_frame_compositor.h
|
View
|
1
2
3
4
|
2 chunks |
+65 lines, -13 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/blink/video_frame_compositor.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+84 lines, -5 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/blink/video_frame_compositor_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+16 lines, -11 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/blink/webmediaplayer_impl.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+9 lines, -18 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/media.gyp
|
View
|
1
2
3
|
1 chunk |
+0 lines, -38 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/mojo/services/mojo_renderer_factory.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/mojo/services/mojo_renderer_factory.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/mojo/services/mojo_renderer_impl.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/mojo/services/mojo_renderer_impl.cc
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/mojo/services/mojo_renderer_service.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/mojo/services/mojo_renderer_service.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/mojo/services/renderer_config.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/mojo/services/renderer_config.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/mojo/services/renderer_config_default.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/renderers/default_renderer_factory.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/renderers/default_renderer_factory.cc
|
View
|
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/renderers/renderer_impl.h
|
View
|
1
2
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/renderers/renderer_impl.cc
|
View
|
1
2
3
|
4 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/renderers/renderer_impl_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/renderers/video_renderer_impl.h
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/renderers/video_renderer_impl.cc
|
View
|
1
2
3
|
5 chunks |
+17 lines, -3 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/renderers/video_renderer_impl_unittest.cc
|
View
|
1
2
|
15 chunks |
+27 lines, -18 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/test/pipeline_integration_test.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+1 line, -9 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/test/pipeline_integration_test_base.h
|
View
|
1
2
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
media/test/pipeline_integration_test_base.cc
|
View
|
1
2
|
4 chunks |
+9 lines, -3 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
D |
media/tools/player_x11/data_source_logger.h
|
View
|
|
1 chunk |
+0 lines, -41 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
D |
media/tools/player_x11/data_source_logger.cc
|
View
|
|
1 chunk |
+0 lines, -59 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
D |
media/tools/player_x11/gl_video_renderer.h
|
View
|
|
1 chunk |
+0 lines, -43 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
D |
media/tools/player_x11/gl_video_renderer.cc
|
View
|
|
1 chunk |
+0 lines, -251 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
D |
media/tools/player_x11/player_x11.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -311 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
D |
media/tools/player_x11/x11_video_renderer.h
|
View
|
|
1 chunk |
+0 lines, -47 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
D |
media/tools/player_x11/x11_video_renderer.cc
|
View
|
|
1 chunk |
+0 lines, -215 lines |
0 comments
|
Download
|
Total messages: 77 (22 generated)
|