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

Issue 1881463002: Set GpuPreferences correctly in GpuDataManagerImplPrivate::AppendGpuCommandLine. (Closed)

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

Description

Set GpuPreferences correctly in GpuDataManagerImplPrivate::AppendGpuCommandLine. GpuDataManagerImplPrivate::AppendGpuCommandLine() may add some GPU command line switches which have been replaced by GpuPreferences. So we need set those preferences in GpuDataManagerImplPrivate::AppendGpuCommandLine() to allow GPU process get the correct GpuPreferences via IPC message. BUG=601647 Committed: https://crrev.com/4c901e8f2249a4efacb311d0e24d09f3c88c8e0c Cr-Commit-Position: refs/heads/master@{#386669}

Patch Set 1 #

Patch Set 2 : Update #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -17 lines) Patch
M content/browser/gpu/gpu_data_manager_impl.h View 1 2 chunks +6 lines, -1 line 2 comments Download
M content/browser/gpu/gpu_data_manager_impl.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private.h View 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private.cc View 4 chunks +14 lines, -4 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/gpu/gpu_process_host.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 4 chunks +8 lines, -6 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
Peng
hi jbauman, PTAL. Thanks.
4 years, 8 months ago (2016-04-11 15:32:17 UTC) #2
jbauman
https://codereview.chromium.org/1881463002/diff/20001/content/browser/gpu/gpu_data_manager_impl.h File content/browser/gpu/gpu_data_manager_impl.h (right): https://codereview.chromium.org/1881463002/diff/20001/content/browser/gpu/gpu_data_manager_impl.h#newcode121 content/browser/gpu/gpu_data_manager_impl.h:121: gpu::GpuPreferences* gpu_preferences) const; It would probably be best to ...
4 years, 8 months ago (2016-04-12 01:30:49 UTC) #3
Peng
https://codereview.chromium.org/1881463002/diff/20001/content/browser/gpu/gpu_data_manager_impl.h File content/browser/gpu/gpu_data_manager_impl.h (right): https://codereview.chromium.org/1881463002/diff/20001/content/browser/gpu/gpu_data_manager_impl.h#newcode121 content/browser/gpu/gpu_data_manager_impl.h:121: gpu::GpuPreferences* gpu_preferences) const; On 2016/04/12 01:30:49, jbauman wrote: > ...
4 years, 8 months ago (2016-04-12 02:13:24 UTC) #4
jbauman
On 2016/04/12 02:13:24, Peng wrote: > https://codereview.chromium.org/1881463002/diff/20001/content/browser/gpu/gpu_data_manager_impl.h > File content/browser/gpu/gpu_data_manager_impl.h (right): > > https://codereview.chromium.org/1881463002/diff/20001/content/browser/gpu/gpu_data_manager_impl.h#newcode121 > ...
4 years, 8 months ago (2016-04-12 02:41:49 UTC) #5
jbauman
On 2016/04/12 02:41:49, jbauman wrote: > On 2016/04/12 02:13:24, Peng wrote: > > > https://codereview.chromium.org/1881463002/diff/20001/content/browser/gpu/gpu_data_manager_impl.h ...
4 years, 8 months ago (2016-04-12 02:43:58 UTC) #6
chromium-reviews
I think for single process mode, we need only modify the command line for the ...
4 years, 8 months ago (2016-04-12 02:54:40 UTC) #7
jbauman
I guess this works, then. lgtm On 2016/04/12 02:54:40, chromium-reviews wrote: > I think for ...
4 years, 8 months ago (2016-04-12 02:57:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1881463002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1881463002/20001
4 years, 8 months ago (2016-04-12 12:06:35 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-12 13:32:12 UTC) #11
commit-bot: I haz the power
4 years, 8 months ago (2016-04-12 13:33:54 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4c901e8f2249a4efacb311d0e24d09f3c88c8e0c
Cr-Commit-Position: refs/heads/master@{#386669}

Powered by Google App Engine
This is Rietveld 408576698