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

Issue 6793054: Moved code that runs in both the browser and GPU process from content/gpu to content/common/gpu. (Closed)

Created:
9 years, 8 months ago by apatrick_chromium
Modified:
9 years, 7 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, sjl, ddorwin+watch_chromium.org, fischman+watch_chromium.org, Paweł Hajdan Jr., jam, apatrick_chromium, acolwell GONE FROM CHROMIUM, annacc, pam+watch_chromium.org, ajwong+watch_chromium.org, vrk (LEFT CHROMIUM), scherkus (not reviewing)
Visibility:
Public.

Description

Moved code that runs in both the browser and GPU process from content/gpu to content/common/gpu. Also renamed GpuRenderThread to GpuChannelManager since that is what it really does. The only remaining dependency from content/common/gpu to content/gpu is gpu_watchdog_thread.h. Once that dependency has been reversed it should be possible to move most or all of the code in content/gpu to chrome/gpu. TEST=build, WebGL works, run by trybots. BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80883

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -3149 lines) Patch
M chrome/browser/gpu_data_manager.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/gpu_process_host_ui_shim.h View 1 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/gpu_process_host_ui_shim.cc View 6 chunks +9 lines, -9 lines 0 comments Download
M chrome/chrome_tests.gypi View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/child_process_logging_linux.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/child_process_logging_mac.mm View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/child_process_logging_win.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/chrome_content_gpu_client.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/gpu/gpu_pixel_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/DEPS View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/gpu_blacklist.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/gpu_blacklist_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A content/common/DEPS View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A + content/common/gpu/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
A + content/common/gpu/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/common/gpu/content_gpu_client.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/common/gpu/gpu_channel.h View 5 chunks +13 lines, -11 lines 0 comments Download
A + content/common/gpu/gpu_channel.cc View 3 chunks +7 lines, -7 lines 0 comments Download
A + content/common/gpu/gpu_channel_manager.h View 5 chunks +21 lines, -22 lines 0 comments Download
A + content/common/gpu/gpu_channel_manager.cc View 8 chunks +17 lines, -18 lines 0 comments Download
A + content/common/gpu/gpu_command_buffer_stub.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/common/gpu/gpu_command_buffer_stub.cc View 8 chunks +14 lines, -14 lines 0 comments Download
A + content/common/gpu/gpu_config.h View 1 chunk +3 lines, -3 lines 0 comments Download
A + content/common/gpu/gpu_info.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + content/common/gpu/gpu_info.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/common/gpu/gpu_info_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/common/gpu/gpu_video_decoder.h View 3 chunks +4 lines, -4 lines 0 comments Download
A + content/common/gpu/gpu_video_decoder.cc View 1 1 chunk +5 lines, -5 lines 0 comments Download
A + content/common/gpu/gpu_video_decoder_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
A + content/common/gpu/gpu_video_service.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + content/common/gpu/gpu_video_service.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M + content/common/gpu/media/fake_gl_video_decode_engine.cc View 1 chunk +1 line, -1 line 0 comments Download
M + content/common/gpu/media/fake_gl_video_device.h View 1 chunk +1 line, -1 line 0 comments Download
M + content/common/gpu/media/fake_gl_video_device.cc View 1 chunk +1 line, -1 line 0 comments Download
M + content/common/gpu/media/mft_angle_video_device.h View 1 chunk +1 line, -1 line 0 comments Download
M + content/common/gpu/media/mft_angle_video_device.cc View 1 chunk +1 line, -1 line 0 comments Download
A + content/common/gpu/x_util.h View 2 chunks +2 lines, -2 lines 0 comments Download
A + content/common/gpu/x_util.cc View 1 chunk +1 line, -1 line 0 comments Download
D content/common/gpu_info.h View 1 chunk +0 lines, -86 lines 0 comments Download
D content/common/gpu_info.cc View 1 chunk +0 lines, -63 lines 0 comments Download
D content/common/gpu_info_unittest.cc View 1 chunk +0 lines, -26 lines 0 comments Download
M content/common/gpu_messages.h View 1 chunk +1 line, -1 line 0 comments Download
M content/content_common.gypi View 4 chunks +45 lines, -2 lines 0 comments Download
M content/content_gpu.gypi View 3 chunks +0 lines, -33 lines 0 comments Download
D content/gpu/content_gpu_client.h View 1 chunk +0 lines, -24 lines 0 comments Download
D content/gpu/gpu_channel.h View 1 chunk +0 lines, -130 lines 0 comments Download
D content/gpu/gpu_channel.cc View 1 chunk +0 lines, -273 lines 0 comments Download
M content/gpu/gpu_child_thread.h View 3 chunks +7 lines, -7 lines 0 comments Download
M content/gpu/gpu_child_thread.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
D content/gpu/gpu_command_buffer_stub.h View 1 chunk +0 lines, -141 lines 0 comments Download
D content/gpu/gpu_command_buffer_stub.cc View 1 chunk +0 lines, -433 lines 0 comments Download
D content/gpu/gpu_config.h View 1 chunk +0 lines, -13 lines 0 comments Download
M content/gpu/gpu_info_collector.h View 1 chunk +1 line, -1 line 0 comments Download
M content/gpu/gpu_info_collector_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/gpu/gpu_info_unittest_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/gpu/gpu_main.cc View 1 chunk +1 line, -1 line 0 comments Download
D content/gpu/gpu_render_thread.h View 1 chunk +0 lines, -93 lines 0 comments Download
D content/gpu/gpu_render_thread.cc View 1 chunk +0 lines, -148 lines 0 comments Download
D content/gpu/gpu_video_decoder.h View 1 chunk +0 lines, -209 lines 0 comments Download
D content/gpu/gpu_video_decoder.cc View 1 chunk +0 lines, -427 lines 0 comments Download
D content/gpu/gpu_video_decoder_unittest.cc View 1 chunk +0 lines, -264 lines 0 comments Download
D content/gpu/gpu_video_service.h View 1 chunk +0 lines, -51 lines 0 comments Download
D content/gpu/gpu_video_service.cc View 1 chunk +0 lines, -82 lines 0 comments Download
D content/gpu/media/fake_gl_video_decode_engine.h View 1 chunk +0 lines, -68 lines 0 comments Download
D content/gpu/media/fake_gl_video_decode_engine.cc View 1 chunk +0 lines, -132 lines 0 comments Download
D content/gpu/media/fake_gl_video_device.h View 1 chunk +0 lines, -27 lines 0 comments Download
D content/gpu/media/fake_gl_video_device.cc View 1 chunk +0 lines, -58 lines 0 comments Download
D content/gpu/media/gpu_video_device.h View 1 chunk +0 lines, -56 lines 0 comments Download
D content/gpu/media/mft_angle_video_device.h View 1 chunk +0 lines, -42 lines 0 comments Download
D content/gpu/media/mft_angle_video_device.cc View 1 chunk +0 lines, -52 lines 0 comments Download
D content/gpu/x_util.h View 1 chunk +0 lines, -47 lines 0 comments Download
D content/gpu/x_util.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M content/renderer/gpu_channel_host.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
apatrick_chromium
9 years, 8 months ago (2011-04-05 23:22:06 UTC) #1
jam
Is there a specific part you want me to review? I'm not familiar with the ...
9 years, 8 months ago (2011-04-05 23:37:02 UTC) #2
Alexey Marinichev
Renames are good, chrome/gpu dependency in content/browser/DEPS doesn't seem right.
9 years, 8 months ago (2011-04-06 00:00:56 UTC) #3
apatrick
On Tue, Apr 5, 2011 at 4:36 PM, John Abd-El-Malek <jam@chromium.org> wrote: > Is there ...
9 years, 8 months ago (2011-04-06 00:13:45 UTC) #4
jam
On Tue, Apr 5, 2011 at 5:13 PM, Alastair Patrick <apatrick@google.com>wrote: > > > On ...
9 years, 8 months ago (2011-04-06 00:17:08 UTC) #5
jam
9 years, 8 months ago (2011-04-08 01:03:20 UTC) #6
rubber stamp lgtm

Powered by Google App Engine
This is Rietveld 408576698