|
Implement proper synchronization between HW video decode IPC and CommandBuffer.
This is done by inserting tokens into the command-buffer stream
when synchronization is needed, and adding a
last-read/last-written token pair to each IPC message. This
allowed me to remove the bogus FinishGL() calls from the gles2
sample pepper plugin.
As part of this CL, the return value for VideoDecodeAccelerator::{Decode,Flush,Abort} changed from bool to void. These are all async methods so errors ought to be signaled using callbacks.
BUG=none
TEST=gles2 works, no crashes; trybots
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=90971
Total comments: 2
Total comments: 39
Total comments: 18
Total comments: 13
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+579 lines, -334 lines) |
Patch |
 |
M |
content/common/gpu/gpu_channel.h
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_channel.cc
|
View
|
|
3 chunks |
+7 lines, -20 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_command_buffer_stub.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_command_buffer_stub.cc
|
View
|
1
2
3
|
3 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/gpu_messages.h
|
View
|
1
2
3
4
|
6 chunks |
+43 lines, -20 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/gpu_video_decode_accelerator.h
|
View
|
1
2
3
4
|
2 chunks |
+53 lines, -12 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/gpu_video_decode_accelerator.cc
|
View
|
1
2
3
4
|
6 chunks |
+113 lines, -40 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/gpu_video_service.h
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/gpu_video_service.cc
|
View
|
1
2
3
|
4 chunks |
+24 lines, -13 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/omx_video_decode_accelerator.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/omx_video_decode_accelerator.cc
|
View
|
|
6 chunks |
+9 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/common/gpu/media/omx_video_decode_accelerator_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/gpu/gpu_channel_host.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/gpu/gpu_video_decode_accelerator_host.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+30 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/renderer/gpu/gpu_video_decode_accelerator_host.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+59 lines, -22 lines |
0 comments
|
Download
|
 |
M |
content/renderer/gpu/gpu_video_service_host.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+19 lines, -13 lines |
0 comments
|
Download
|
 |
M |
content/renderer/gpu/gpu_video_service_host.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+24 lines, -29 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper_platform_video_decoder_impl.h
|
View
|
1
2
3
4
|
4 chunks |
+13 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper_platform_video_decoder_impl.cc
|
View
|
1
2
3
4
|
4 chunks |
+31 lines, -73 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper_plugin_delegate_impl.h
|
View
|
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/pepper_plugin_delegate_impl.cc
|
View
|
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/common/command_buffer.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
A |
gpu/command_buffer/common/command_buffer.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gpu_scheduler.h
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/command_buffer/service/gpu_scheduler.cc
|
View
|
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
gpu/gpu.gyp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
media/video/video_decode_accelerator.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ppapi/examples/gles2/gles2.cc
|
View
|
|
5 chunks |
+1 line, -17 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/mock_plugin_delegate.h
|
View
|
1
2
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/mock_plugin_delegate.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/plugin_delegate.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppb_video_decoder_impl.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppb_video_decoder_impl.cc
|
View
|
1
2
3
4
|
8 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/resource_tracker.h
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
Total messages: 18 (0 generated)
|