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

Issue 2781993002: Get the proper GPU Info in GpuProcessHost (Closed)

Created:
3 years, 8 months ago by sugoi1
Modified:
3 years, 8 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, piman+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Get the proper GPU Info in GpuProcessHost As a follow up to https://codereview.chromium.org/2770933008/, a few changes were made: - When setting Swiftshader in the GpuDataManagerImplPrivate, gpu_info_ and gpu_feature_info_ are cleared of previously recorded info regarding the GPU to reflect SwiftShader currently being in use - Made sure GpuProcessHost uses the proper GPUInfo, meaning when SwiftShader is in use, it should get its info from GpuDataManagerImpl instead of setting new GPUInfo into GpuDataManagerImpl. The functions calls would return right away anyway and GpuDataManagerImpl and GpuProcessHost would then be out of sync. BUG=630728 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2781993002 Cr-Commit-Position: refs/heads/master@{#461322} Committed: https://chromium.googlesource.com/chromium/src/+/4b4a2c65e6ef9e8609a6a7b3bcd32c0438b5655a

Patch Set 1 #

Total comments: 3

Patch Set 2 : Added tests #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -27 lines) Patch
M content/browser/gpu/gpu_data_manager_impl_private.cc View 1 2 chunks +18 lines, -6 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private_unittest.cc View 1 2 chunks +32 lines, -18 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 1 chunk +8 lines, -3 lines 0 comments Download
M content/test/gpu/gpu_tests/gpu_process_integration_test.py View 1 1 chunk +16 lines, -0 lines 2 comments Download

Messages

Total messages: 22 (13 generated)
sugoi1
This is a little cleanup which may fix issues where the GpuProcessHost would have had ...
3 years, 8 months ago (2017-03-28 22:02:02 UTC) #4
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2781993002/diff/1/content/browser/gpu/gpu_data_manager_impl_private.cc File content/browser/gpu/gpu_data_manager_impl_private.cc (right): https://codereview.chromium.org/2781993002/diff/1/content/browser/gpu/gpu_data_manager_impl_private.cc#newcode1287 content/browser/gpu/gpu_data_manager_impl_private.cc:1287: status = gpu::kGpuFeatureStatusBlacklisted; Is this status update correct? Isn't ...
3 years, 8 months ago (2017-03-29 17:29:22 UTC) #7
sugoi1
https://codereview.chromium.org/2781993002/diff/1/content/browser/gpu/gpu_data_manager_impl_private.cc File content/browser/gpu/gpu_data_manager_impl_private.cc (right): https://codereview.chromium.org/2781993002/diff/1/content/browser/gpu/gpu_data_manager_impl_private.cc#newcode1287 content/browser/gpu/gpu_data_manager_impl_private.cc:1287: status = gpu::kGpuFeatureStatusBlacklisted; On 2017/03/29 17:29:22, Ken Russell wrote: ...
3 years, 8 months ago (2017-03-29 17:39:48 UTC) #8
Zhenyao Mo
https://codereview.chromium.org/2781993002/diff/1/content/browser/gpu/gpu_data_manager_impl_private.cc File content/browser/gpu/gpu_data_manager_impl_private.cc (right): https://codereview.chromium.org/2781993002/diff/1/content/browser/gpu/gpu_data_manager_impl_private.cc#newcode1287 content/browser/gpu/gpu_data_manager_impl_private.cc:1287: status = gpu::kGpuFeatureStatusBlacklisted; On 2017/03/29 17:39:47, sugoi1 wrote: > ...
3 years, 8 months ago (2017-03-29 17:48:48 UTC) #9
sugoi1
On 2017/03/29 17:48:48, Zhenyao Mo wrote: > https://codereview.chromium.org/2781993002/diff/1/content/browser/gpu/gpu_data_manager_impl_private.cc > File content/browser/gpu/gpu_data_manager_impl_private.cc (right): > > https://codereview.chromium.org/2781993002/diff/1/content/browser/gpu/gpu_data_manager_impl_private.cc#newcode1287 ...
3 years, 8 months ago (2017-03-31 21:49:21 UTC) #13
Ken Russell (switch to Gerrit)
LGTM https://codereview.chromium.org/2781993002/diff/20001/content/test/gpu/gpu_tests/gpu_process_integration_test.py File content/test/gpu/gpu_tests/gpu_process_integration_test.py (right): https://codereview.chromium.org/2781993002/diff/20001/content/test/gpu/gpu_tests/gpu_process_integration_test.py#newcode567 content/test/gpu/gpu_tests/gpu_process_integration_test.py:567: self.fail("Wrong device ID. Expected 0, got " + ...
3 years, 8 months ago (2017-03-31 22:47:11 UTC) #14
sugoi1
https://codereview.chromium.org/2781993002/diff/20001/content/test/gpu/gpu_tests/gpu_process_integration_test.py File content/test/gpu/gpu_tests/gpu_process_integration_test.py (right): https://codereview.chromium.org/2781993002/diff/20001/content/test/gpu/gpu_tests/gpu_process_integration_test.py#newcode567 content/test/gpu/gpu_tests/gpu_process_integration_test.py:567: self.fail("Wrong device ID. Expected 0, got " + hex(device.device_id)) ...
3 years, 8 months ago (2017-04-01 02:05:40 UTC) #17
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/2781993002/20001
3 years, 8 months ago (2017-04-01 12:09:13 UTC) #19
commit-bot: I haz the power
3 years, 8 months ago (2017-04-01 12:15:27 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/4b4a2c65e6ef9e8609a6a7b3bcd3...

Powered by Google App Engine
This is Rietveld 408576698