|
Make VEA client of command buffer; move sync. IPC to VDA/VEA::Initialize()
Much refactoring of VDA/VEA. Issues:
* Encoders will need to be able to synchronize with the 3D command buffer to
support encoding from textures.
* The IPC interface from GpuVideo{Decode,Encode}AcceleratorHost to
GpuVideo{Decode,Encode}Accelerator collapses the creation and initialization
IPC calls into one to save a round-trip. Unfortunately this synchronous IPC
happens in the constructor, making the interface unwieldy (and requiring that
initialization parameters be passed both on construction and initialization).
Solutions:
* Make the VEA a client of the command buffer. Harmonize
GpuVideo{Decode,Encode}AcceleratorHost implementations to make codepaths
parallel (and easier to reason about).
* Move the synchronous IPC calls in the constructor of GpuV{D,E}AH into the
Initialize() call, and remove the requirement that the initialization
parameters be passed in the constructor.
* Make VEA::Initialize() a 'bool' function call, as it is done in VDA, to allow
Initialize() to be used synchronously.
* (minor) remove SupportsWeakPtr from VDA interface.
BUG= 269312
TEST=local build, run, unittests on CrOS snow
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261365
Total comments: 10
Total comments: 43
Total comments: 10
Total comments: 18
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+814 lines, -643 lines) |
Patch |
|
M |
content/common/gpu/client/command_buffer_proxy_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+15 lines, -7 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/client/command_buffer_proxy_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+14 lines, -17 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/client/gpu_channel_host.h
|
View
|
|
3 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/client/gpu_channel_host.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+9 lines, -16 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/client/gpu_video_decode_accelerator_host.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+17 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/client/gpu_video_decode_accelerator_host.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+67 lines, -43 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/client/gpu_video_encode_accelerator_host.h
|
View
|
1
2
3
4
5
6
|
6 chunks |
+35 lines, -22 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/client/gpu_video_encode_accelerator_host.cc
|
View
|
1
2
3
4
5
6
|
9 chunks |
+90 lines, -56 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/gpu_channel.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/gpu_channel.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+0 lines, -24 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/gpu_command_buffer_stub.h
|
View
|
|
2 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/gpu_command_buffer_stub.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+23 lines, -1 line |
0 comments
|
Download
|
|
M |
content/common/gpu/gpu_messages.h
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+14 lines, -11 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/media/android_video_decode_accelerator.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/media/android_video_decode_accelerator.cc
|
View
|
1
2
3
|
12 chunks |
+51 lines, -38 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/media/android_video_decode_accelerator_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
content/common/gpu/media/android_video_encode_accelerator.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/common/gpu/media/android_video_encode_accelerator.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+18 lines, -19 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/media/dxva_video_decode_accelerator.h
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/media/dxva_video_decode_accelerator.cc
|
View
|
|
11 chunks |
+47 lines, -35 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/media/exynos_video_encode_accelerator.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/common/gpu/media/exynos_video_encode_accelerator.cc
|
View
|
|
11 chunks |
+31 lines, -37 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/media/gpu_video_decode_accelerator.h
|
View
|
1
2
3
4
|
3 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/media/gpu_video_decode_accelerator.cc
|
View
|
1
2
3
4
5
6
7
8
|
13 chunks |
+27 lines, -39 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/media/gpu_video_encode_accelerator.h
|
View
|
1
2
3
4
|
6 chunks |
+31 lines, -16 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/media/gpu_video_encode_accelerator.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+103 lines, -68 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/media/v4l2_video_decode_accelerator.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/media/v4l2_video_decode_accelerator.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/media/vaapi_video_decode_accelerator.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/media/vaapi_video_decode_accelerator.cc
|
View
|
1
2
3
|
3 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/media/video_decode_accelerator_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
10 chunks |
+24 lines, -23 lines |
0 comments
|
Download
|
|
M |
content/common/gpu/media/video_encode_accelerator_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+12 lines, -13 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/pepper_platform_video_decoder.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/media/pepper_platform_video_decoder.cc
|
View
|
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/renderer_gpu_video_accelerator_factories.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/media/renderer_gpu_video_accelerator_factories.cc
|
View
|
1
2
3
4
|
3 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/rtc_video_decoder.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/media/rtc_video_decoder.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+1 line, -6 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/rtc_video_decoder_unittest.cc
|
View
|
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
content/renderer/media/rtc_video_encoder.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+8 lines, -11 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/pepper_video_capture_host.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/pepper/ppb_video_decoder_impl.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/pepper/ppb_video_decoder_impl.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
media/cast/test/fake_video_encode_accelerator.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+19 lines, -2 lines |
0 comments
|
Download
|
|
M |
media/cast/test/fake_video_encode_accelerator.cc
|
View
|
|
5 chunks |
+44 lines, -10 lines |
0 comments
|
Download
|
|
M |
media/cast/video_sender/external_video_encoder.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+12 lines, -16 lines |
0 comments
|
Download
|
|
M |
media/cast/video_sender/external_video_encoder_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
media/cast/video_sender/video_sender_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
media/filters/gpu_video_accelerator_factories.h
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
|
M |
media/filters/gpu_video_decoder.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
media/filters/gpu_video_decoder.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
media/filters/mock_gpu_video_accelerator_factories.h
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
media/filters/mock_gpu_video_accelerator_factories.cc
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
media/video/video_decode_accelerator.h
|
View
|
1
2
3
4
|
5 chunks |
+10 lines, -12 lines |
0 comments
|
Download
|
|
M |
media/video/video_encode_accelerator.h
|
View
|
1
2
3
4
|
4 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
Total messages: 54 (0 generated)
|