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

Issue 2176303002: services/ui: Remove deprecated gpu code (Closed)

Created:
4 years, 5 months ago by sadrul
Modified:
3 years, 10 months ago
Reviewers:
Fady Samuel, piman, Peng, sky, xing.xu
CC:
chromium-reviews, rjkroege
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

services/ui: Remove deprecated gpu code Summary of changes: . Move RasterThreadHelper into the client lib, since it's used by mus clients (views). . Remove the --use-mojo-gpu-command-buffer-in-mus flag, which means chrome gpu command buffer is now used on Windows for mus. . Delete the rest of the code in services/ui/gles2, and OzoneGpuMemoryBuffer from services/ui/surfaces. BUG=623157, 630893 Committed: https://crrev.com/d4628518ceaafa1f53bc0903dcf5fff3c61635ac Cr-Commit-Position: refs/heads/master@{#408207}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 4

Patch Set 5 : . #

Patch Set 6 : tot-merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -3385 lines) Patch
M content/browser/compositor/gpu_process_transport_factory.cc View 1 2 3 4 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/compositor/mus_browser_compositor_output_surface.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private.cc View 1 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 2 chunks +0 lines, -5 lines 0 comments Download
M services/ui/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M services/ui/common/gpu_service.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M services/ui/common/gpu_service.cc View 1 1 chunk +0 lines, -12 lines 0 comments Download
M services/ui/common/switches.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M services/ui/common/switches.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
D services/ui/gles2/BUILD.gn View 1 2 1 chunk +0 lines, -89 lines 0 comments Download
D services/ui/gles2/DEPS View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
D services/ui/gles2/OWNERS View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
D services/ui/gles2/command_buffer_driver.h View 1 2 1 chunk +0 lines, -173 lines 0 comments Download
D services/ui/gles2/command_buffer_driver.cc View 1 2 1 chunk +0 lines, -568 lines 0 comments Download
D services/ui/gles2/command_buffer_driver_manager.h View 1 2 1 chunk +0 lines, -46 lines 0 comments Download
D services/ui/gles2/command_buffer_driver_manager.cc View 1 2 3 4 5 1 chunk +0 lines, -50 lines 0 comments Download
D services/ui/gles2/command_buffer_impl.h View 1 2 1 chunk +0 lines, -126 lines 0 comments Download
D services/ui/gles2/command_buffer_impl.cc View 1 2 1 chunk +0 lines, -301 lines 0 comments Download
D services/ui/gles2/command_buffer_local.h View 1 2 1 chunk +0 lines, -184 lines 0 comments Download
D services/ui/gles2/command_buffer_local.cc View 1 2 1 chunk +0 lines, -568 lines 0 comments Download
D services/ui/gles2/command_buffer_local_client.h View 1 2 1 chunk +0 lines, -31 lines 0 comments Download
D services/ui/gles2/command_buffer_task_runner.h View 1 2 1 chunk +0 lines, -78 lines 0 comments Download
D services/ui/gles2/command_buffer_task_runner.cc View 1 2 1 chunk +0 lines, -77 lines 0 comments Download
D services/ui/gles2/gl_surface_adapter.h View 1 2 1 chunk +0 lines, -71 lines 0 comments Download
D services/ui/gles2/gl_surface_adapter.cc View 1 2 1 chunk +0 lines, -57 lines 0 comments Download
D services/ui/gles2/gpu_impl.h View 1 2 1 chunk +0 lines, -39 lines 0 comments Download
D services/ui/gles2/gpu_impl.cc View 1 2 1 chunk +0 lines, -27 lines 0 comments Download
D services/ui/gles2/gpu_memory_tracker.h View 1 2 1 chunk +0 lines, -39 lines 0 comments Download
D services/ui/gles2/gpu_memory_tracker.cc View 1 2 1 chunk +0 lines, -36 lines 0 comments Download
D services/ui/gles2/gpu_state.h View 1 2 1 chunk +0 lines, -107 lines 0 comments Download
D services/ui/gles2/gpu_state.cc View 1 2 1 chunk +0 lines, -82 lines 0 comments Download
D services/ui/gles2/ozone_gpu_memory_buffer.h View 1 2 1 chunk +0 lines, -71 lines 0 comments Download
D services/ui/gles2/ozone_gpu_memory_buffer.cc View 1 2 1 chunk +0 lines, -115 lines 0 comments Download
D services/ui/gles2/raster_thread_helper.h View 1 2 1 chunk +0 lines, -34 lines 0 comments Download
D services/ui/gles2/raster_thread_helper.cc View 1 2 1 chunk +0 lines, -27 lines 0 comments Download
M services/ui/public/cpp/BUILD.gn View 1 2 3 chunks +2 lines, -1 line 0 comments Download
M services/ui/public/cpp/lib/gles2_context.cc View 1 1 chunk +24 lines, -41 lines 0 comments Download
A + services/ui/public/cpp/lib/raster_thread_helper.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
A + services/ui/public/cpp/raster_thread_helper.h View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M services/ui/service.h View 1 2 3 4 5 3 chunks +0 lines, -6 lines 0 comments Download
M services/ui/service.cc View 1 2 3 4 5 9 chunks +2 lines, -44 lines 0 comments Download
M services/ui/surfaces/BUILD.gn View 1 2 3 4 2 chunks +0 lines, -3 lines 0 comments Download
M services/ui/surfaces/direct_output_surface_ozone.h View 1 2 3 4 2 chunks +0 lines, -2 lines 0 comments Download
M services/ui/surfaces/direct_output_surface_ozone.cc View 1 2 3 4 1 chunk +3 lines, -10 lines 0 comments Download
M services/ui/surfaces/display_compositor.h View 1 2 chunks +0 lines, -2 lines 0 comments Download
M services/ui/surfaces/display_compositor.cc View 1 2 chunks +1 line, -2 lines 0 comments Download
D services/ui/surfaces/ozone_gpu_memory_buffer_manager.h View 1 2 3 4 1 chunk +0 lines, -39 lines 0 comments Download
M services/ui/surfaces/ozone_gpu_memory_buffer_manager.cc View 1 2 3 4 1 chunk +0 lines, -49 lines 0 comments Download
M services/ui/surfaces/surfaces_context_provider.h View 1 2 5 chunks +1 line, -14 lines 0 comments Download
M services/ui/surfaces/surfaces_context_provider.cc View 1 2 3 chunks +30 lines, -78 lines 0 comments Download
M services/ui/ws/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M services/ui/ws/frame_generator.h View 1 3 chunks +0 lines, -3 lines 0 comments Download
M services/ui/ws/frame_generator.cc View 1 2 3 4 5 2 chunks +2 lines, -5 lines 0 comments Download
M services/ui/ws/frame_generator_unittest.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download
M services/ui/ws/platform_display.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download
M services/ui/ws/platform_display_init_params.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M services/ui/ws/platform_display_init_params.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M services/ui/ws/window_tree_host_factory.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M ui/views/mus/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ui/views/mus/native_widget_mus.h View 1 2 3 4 3 chunks +0 lines, -6 lines 0 comments Download
M ui/views/mus/native_widget_mus.cc View 1 2 3 4 3 chunks +0 lines, -18 lines 0 comments Download
M ui/views/mus/surface_context_factory.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 50 (32 generated)
sadrul
I still need to try this out on a Windows build, but the windows trybots ...
4 years, 5 months ago (2016-07-26 04:50:10 UTC) #19
Fady Samuel
Yay, thanks for doing this Sadrul! LGTM!
4 years, 4 months ago (2016-07-26 11:50:17 UTC) #20
Peng
https://codereview.chromium.org/2176303002/diff/60001/services/ui/service.cc File services/ui/service.cc (right): https://codereview.chromium.org/2176303002/diff/60001/services/ui/service.cc#newcode212 services/ui/service.cc:212: connection->AddInterface<mojom::GpuService>(this); Reorder interfaces? https://codereview.chromium.org/2176303002/diff/60001/services/ui/surfaces/direct_output_surface_ozone.cc File services/ui/surfaces/direct_output_surface_ozone.cc (right): https://codereview.chromium.org/2176303002/diff/60001/services/ui/surfaces/direct_output_surface_ozone.cc#newcode38 services/ui/surfaces/direct_output_surface_ozone.cc:38: ...
4 years, 4 months ago (2016-07-26 15:47:04 UTC) #21
sadrul
https://codereview.chromium.org/2176303002/diff/60001/services/ui/service.cc File services/ui/service.cc (right): https://codereview.chromium.org/2176303002/diff/60001/services/ui/service.cc#newcode212 services/ui/service.cc:212: connection->AddInterface<mojom::GpuService>(this); On 2016/07/26 15:47:03, Peng wrote: > Reorder interfaces? ...
4 years, 4 months ago (2016-07-26 16:13:05 UTC) #22
Peng
On 2016/07/26 16:13:05, sadrul wrote: > https://codereview.chromium.org/2176303002/diff/60001/services/ui/service.cc > File services/ui/service.cc (right): > > https://codereview.chromium.org/2176303002/diff/60001/services/ui/service.cc#newcode212 > ...
4 years, 4 months ago (2016-07-26 17:16:59 UTC) #28
sadrul
piman@chromium.org: Please review changes in //content/ sky@chromium.org: Please review changes in //services/ui (other than the ...
4 years, 4 months ago (2016-07-26 17:43:42 UTC) #30
piman
LGTM, yay!
4 years, 4 months ago (2016-07-26 20:29:04 UTC) #31
sky
LGTM
4 years, 4 months ago (2016-07-26 21:24:17 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2176303002/100001
4 years, 4 months ago (2016-07-27 18:59:52 UTC) #39
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 4 months ago (2016-07-27 19:05:27 UTC) #41
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/d4628518ceaafa1f53bc0903dcf5fff3c61635ac Cr-Commit-Position: refs/heads/master@{#408207}
4 years, 4 months ago (2016-07-27 19:07:20 UTC) #43
xing.xu
Sorry, I didn't get why here remove CommandBufferImpl here. Now that many componenets are moving ...
3 years, 11 months ago (2017-01-20 06:49:52 UTC) #44
Fady Samuel
On 2017/01/20 06:49:52, xing.xu wrote: > Sorry, I didn't get why here remove CommandBufferImpl here. ...
3 years, 11 months ago (2017-01-22 22:23:45 UTC) #45
xing.xu
On 2017/01/22 22:23:45, Fady Samuel wrote: > On 2017/01/20 06:49:52, xing.xu wrote: > > Sorry, ...
3 years, 11 months ago (2017-01-26 02:36:38 UTC) #46
sadrul
On 2017/01/26 02:36:38, xing.xu wrote: > On 2017/01/22 22:23:45, Fady Samuel wrote: > > On ...
3 years, 11 months ago (2017-01-26 02:40:43 UTC) #47
sadrul
On 2017/01/26 02:40:43, sadrul wrote: > On 2017/01/26 02:36:38, xing.xu wrote: > > On 2017/01/22 ...
3 years, 11 months ago (2017-01-26 03:04:27 UTC) #48
xing.xu
Clear! I am looking forward to it. Thanks all your guys!
3 years, 11 months ago (2017-01-26 07:00:36 UTC) #49
sadrul
3 years, 10 months ago (2017-01-27 17:37:21 UTC) #50
Message was sent while issue was closed.
On 2017/01/26 07:00:36, xing.xu wrote:
> Clear! I am looking forward to it.

Note that we would gladly accept patches for this too :-)

> 
> Thanks all your guys!

Powered by Google App Engine
This is Rietveld 408576698