|
Don't require VDAs to return all PictureBuffers at once.
The android deferred rendering backing strategy cannot always
guarantee a minimum number of outstanding PictureBuffers beyond
one at the client. Failure to do so can cause the pipeline to
hang waiting for more pictures before returning any.
This CL allows the VDA to provide a flag with its SupportedProfiles,
collectively called the VDA Capabilities, that indicates that it
cannot promise to return all of the PictureBuffers at once. In
practice, GpuVideoDecoder uses this flag to always return false from
CanReadWithoutStalling, once picture buffers are assigned.
BUG= 531606
Committed: https://crrev.com/57587790264882a5e0b83f90b896a81d7c0b7212
Cr-Commit-Position: refs/heads/master@{#364387}
Total comments: 9
Total comments: 3
Total comments: 2
Total comments: 22
Total comments: 8
Total comments: 10
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+206 lines, -116 lines) |
Patch |
 |
M |
content/common/gpu/gpu_messages.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/android_copying_backing_strategy.h
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/android_copying_backing_strategy.cc
|
View
|
1
2
|
2 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/android_deferred_rendering_backing_strategy.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/android_deferred_rendering_backing_strategy.cc
|
View
|
1
2
|
2 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/android_video_decode_accelerator.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/android_video_decode_accelerator.cc
|
View
|
1
2
3
4
5
6
7
8
|
9 chunks |
+25 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/android_video_decode_accelerator_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/gpu_video_accelerator_util.h
|
View
|
1
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/gpu_video_accelerator_util.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/gpu_video_decode_accelerator.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/gpu_video_decode_accelerator.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+19 lines, -22 lines |
0 comments
|
Download
|
 |
M |
content/gpu/gpu_main.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/renderer_gpu_video_accelerator_factories.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/renderer_gpu_video_accelerator_factories.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/rtc_video_decoder.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/rtc_video_decoder_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
gpu/config/gpu_info.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
gpu/config/gpu_info.cc
|
View
|
1
2
|
3 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
gpu/config/gpu_info_collector.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
gpu/config/gpu_info_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/filters/gpu_video_decoder.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/filters/gpu_video_decoder.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+18 lines, -9 lines |
0 comments
|
Download
|
 |
M |
media/renderers/gpu_video_accelerator_factories.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
media/renderers/mock_gpu_video_accelerator_factories.h
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
media/video/video_decode_accelerator.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
 |
M |
media/video/video_decode_accelerator.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
Total messages: 32 (10 generated)
|