Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(850)

Issue 1656433002: Sample code: IPC Transport object for GPU

Created:
4 years, 10 months ago by Fady Samuel
Modified:
4 years, 10 months ago
Reviewers:
CC:
chromium-reviews, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Sample code: IPC Transport object for GPU BUG=

Patch Set 1 #

Patch Set 2 : Command Buffer Transport Object #

Patch Set 3 : ChromeCommandBufferIPCTransport handles all sending and receving of IPC. TODO: Get rid of reference… #

Patch Set 4 : GpuCreateCommandBufferConfig refactor #

Patch Set 5 : Towards ChromeGpuChannelHostIPCTransport #

Patch Set 6 : Make message routing more magical #

Patch Set 7 : Cleanup transport object creation #

Patch Set 8 : JpegDecodeParams #

Patch Set 9 : VideoDecodeParams #

Patch Set 10 : Move more types out of _messages.h #

Patch Set 11 : GpuVideoDecodeAcceleratorHostIPCTransport #

Patch Set 12 : Fixed incorrect Command Buffer ID #

Patch Set 13 : GpuJpegDecodeAcceleratorHostIPCTransport #

Patch Set 14 : GpuHostIPCTransportFactory #

Patch Set 15 : Move transport objects to ipc subdirectory #

Patch Set 16 : GpuVideoEncodeAcceleratorHostIPCTransport #

Patch Set 17 : Removed some IPC dependencies. Listener => Client, BindToChannel => BindToService #

Patch Set 18 : GpuMemoryBufferService + Transport object. TODO: Eliminate ChildThreadImpl dependency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3336 lines, -1052 lines) Patch
M base/threading/thread_restrictions.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/gpu/browser_gpu_channel_host_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +8 lines, -2 lines 0 comments Download
M content/browser/gpu/browser_gpu_channel_host_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +13 lines, -6 lines 0 comments Download
M content/browser/gpu/gpu_process_host.h View 1 2 3 3 chunks +6 lines, -8 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +3 lines, -3 lines 0 comments Download
M content/common/gpu/client/command_buffer_proxy_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 7 chunks +24 lines, -25 lines 0 comments Download
M content/common/gpu/client/command_buffer_proxy_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 26 chunks +69 lines, -126 lines 0 comments Download
M content/common/gpu/client/gpu_channel_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 chunks +15 lines, -113 lines 0 comments Download
M content/common/gpu/client/gpu_channel_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 10 chunks +64 lines, -251 lines 0 comments Download
A content/common/gpu/client/gpu_channel_host_factory.h View 1 2 3 4 1 chunk +35 lines, -0 lines 0 comments Download
M content/common/gpu/client/gpu_jpeg_decode_accelerator_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +4 lines, -14 lines 0 comments Download
M content/common/gpu/client/gpu_jpeg_decode_accelerator_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +15 lines, -93 lines 0 comments Download
M content/common/gpu/client/gpu_video_decode_accelerator_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +20 lines, -24 lines 0 comments Download
M content/common/gpu/client/gpu_video_decode_accelerator_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 7 chunks +25 lines, -89 lines 0 comments Download
M content/common/gpu/client/gpu_video_encode_accelerator_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +14 lines, -19 lines 0 comments Download
M content/common/gpu/client/gpu_video_encode_accelerator_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 13 chunks +28 lines, -73 lines 0 comments Download
A content/common/gpu/client/ipc/chrome/chrome_command_buffer_ipc_transport.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +108 lines, -0 lines 0 comments Download
A content/common/gpu/client/ipc/chrome/chrome_command_buffer_ipc_transport.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +295 lines, -0 lines 0 comments Download
A content/common/gpu/client/ipc/chrome/chrome_gpu_channel_host_ipc_transport.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +141 lines, -0 lines 0 comments Download
A content/common/gpu/client/ipc/chrome/chrome_gpu_channel_host_ipc_transport.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +317 lines, -0 lines 0 comments Download
A content/common/gpu/client/ipc/chrome/chrome_gpu_jpeg_decode_accelerator_host_ipc_transport.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +54 lines, -0 lines 0 comments Download
A content/common/gpu/client/ipc/chrome/chrome_gpu_jpeg_decode_accelerator_host_ipc_transport.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +179 lines, -0 lines 0 comments Download
A content/common/gpu/client/ipc/chrome/chrome_gpu_video_decode_accelerator_host_ipc_transport.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +85 lines, -0 lines 0 comments Download
A content/common/gpu/client/ipc/chrome/chrome_gpu_video_decode_accelerator_host_ipc_transport.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +218 lines, -0 lines 0 comments Download
A content/common/gpu/client/ipc/chrome/chrome_gpu_video_encode_accelerator_host_ipc_transport.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +77 lines, -0 lines 0 comments Download
A content/common/gpu/client/ipc/chrome/chrome_gpu_video_encode_accelerator_host_ipc_transport.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +170 lines, -0 lines 0 comments Download
A content/common/gpu/client/ipc/command_buffer_ipc_transport.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +120 lines, -0 lines 0 comments Download
A content/common/gpu/client/ipc/gpu_channel_host_ipc_transport.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +65 lines, -0 lines 0 comments Download
A content/common/gpu/client/ipc/gpu_host_ipc_transport_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +45 lines, -0 lines 0 comments Download
A content/common/gpu/client/ipc/gpu_host_ipc_transport_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +16 lines, -0 lines 0 comments Download
A content/common/gpu/client/ipc/gpu_host_ipc_transport_factory_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +37 lines, -0 lines 0 comments Download
A content/common/gpu/client/ipc/gpu_host_ipc_transport_factory_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +49 lines, -0 lines 0 comments Download
A content/common/gpu/client/ipc/gpu_jpeg_decode_accelerator_host_ipc_transport.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +43 lines, -0 lines 0 comments Download
A content/common/gpu/client/ipc/gpu_video_decode_accelerator_host_ipc_transport.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +66 lines, -0 lines 0 comments Download
A content/common/gpu/client/ipc/gpu_video_encode_accelerator_host_ipc_transport.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +58 lines, -0 lines 0 comments Download
A content/common/gpu/command_buffer_console_message.h View 1 1 chunk +24 lines, -0 lines 0 comments Download
A content/common/gpu/create_gpu_memory_buffer_from_handle_params.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +26 lines, -0 lines 0 comments Download
A content/common/gpu/create_gpu_memory_buffer_from_handle_params.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +15 lines, -0 lines 0 comments Download
A content/common/gpu/create_gpu_memory_buffer_params.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +27 lines, -0 lines 0 comments Download
A content/common/gpu/create_gpu_memory_buffer_params.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +18 lines, -0 lines 0 comments Download
A content/common/gpu/create_image_params.h View 1 1 chunk +29 lines, -0 lines 0 comments Download
A content/common/gpu/create_image_params.cc View 1 1 chunk +17 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_channel.h View 1 2 3 4 chunks +3 lines, -4 lines 0 comments Download
M content/common/gpu/gpu_channel.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/gpu/gpu_channel_manager.h View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M content/common/gpu/gpu_channel_manager.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.h View 1 2 chunks +2 lines, -4 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
A content/common/gpu/gpu_create_command_buffer_config.h View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download
A content/common/gpu/gpu_create_command_buffer_config.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 12 chunks +92 lines, -85 lines 0 comments Download
A content/common/gpu/jpeg_decode_params.h View 1 2 3 4 5 6 7 1 chunk +30 lines, -0 lines 0 comments Download
A + content/common/gpu/jpeg_decode_params.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -5 lines 0 comments Download
M content/common/gpu/media/gpu_jpeg_decode_accelerator.cc View 1 2 3 4 5 6 7 3 chunks +4 lines, -4 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -2 lines 0 comments Download
M content/common/gpu/media/gpu_video_encode_accelerator.h View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -5 lines 0 comments Download
M content/common/gpu/media/gpu_video_encode_accelerator.cc View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -4 lines 0 comments Download
A content/common/gpu/video_decode_params.h View 1 2 3 4 5 6 7 8 1 chunk +33 lines, -0 lines 0 comments Download
A + content/common/gpu/video_decode_params.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -5 lines 0 comments Download
A content/common/gpu/video_encode_params.h View 1 2 3 4 5 6 7 8 9 1 chunk +42 lines, -0 lines 0 comments Download
A content/common/gpu/video_encode_params.cc View 1 2 3 4 5 6 7 8 9 1 chunk +18 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 7 chunks +35 lines, -0 lines 0 comments Download
M content/content_gpu.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +5 lines, -0 lines 0 comments Download
M content/gpu/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +5 lines, -0 lines 0 comments Download
A content/gpu/chrome_gpu_memory_buffer_service_ipc_transport.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +67 lines, -0 lines 0 comments Download
A content/gpu/chrome_gpu_memory_buffer_service_ipc_transport.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +111 lines, -0 lines 0 comments Download
M content/gpu/gpu_child_thread.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +14 lines, -68 lines 0 comments Download
A content/gpu/gpu_memory_buffer_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +45 lines, -0 lines 0 comments Download
A content/gpu/gpu_memory_buffer_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +50 lines, -0 lines 0 comments Download
A content/gpu/gpu_memory_buffer_service_ipc_transport.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +43 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +5 lines, -1 line 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +10 lines, -8 lines 0 comments Download

Powered by Google App Engine
This is Rietveld 408576698