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

Issue 2220093002: GpuInfo mojom struct and struct traits and unit test (Closed)

Created:
4 years, 4 months ago by Alex Z.
Modified:
4 years, 4 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, piman+watch_chromium.org, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GpuInfo mojom struct and struct traits and unit test The mojom struct corresponds to gpu::GPUInfo. Serializing GPUInfo in mojo enables full support for hardware rendering. BUG=622707 CQ_INCLUDE_TRYBOTS=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 Committed: https://crrev.com/bf90a8e911d48f0055bd2676460f48b8c669324b Cr-Commit-Position: refs/heads/master@{#411413}

Patch Set 1 #

Patch Set 2 : Changed deps in gpu_info.typemap #

Patch Set 3 : Added a missing field in GpuInfo #

Patch Set 4 : Removed unnecessary change #

Patch Set 5 : Fixed a dependency error and added more readable comments #

Patch Set 6 : Added include #

Total comments: 7

Patch Set 7 : Used nullable field for dx_diagnostics; Improved unit test and bug fixes #

Patch Set 8 : Compare only values for DxDiagNode #

Patch Set 9 : Fixed a typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+439 lines, -4 lines) Patch
M gpu/ipc/common/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gpu/ipc/common/dx_diag_node.mojom View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M gpu/ipc/common/gpu_info.mojom View 1 2 3 4 5 6 2 chunks +44 lines, -0 lines 0 comments Download
M gpu/ipc/common/gpu_info.typemap View 1 1 chunk +4 lines, -2 lines 0 comments Download
M gpu/ipc/common/gpu_info_struct_traits.h View 1 2 3 4 5 6 2 chunks +167 lines, -0 lines 0 comments Download
M gpu/ipc/common/gpu_info_struct_traits.cc View 1 2 3 4 5 6 2 chunks +51 lines, -0 lines 0 comments Download
M gpu/ipc/common/struct_traits_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +168 lines, -0 lines 0 comments Download
M gpu/ipc/common/traits_test_service.mojom View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 51 (37 generated)
Alex Z.
This should be the last CL for the GpuInfo mojom struct series :) fsamuel@: Please ...
4 years, 4 months ago (2016-08-08 18:24:36 UTC) #19
Fady Samuel
https://codereview.chromium.org/2220093002/diff/100001/gpu/ipc/common/gpu_info.mojom File gpu/ipc/common/gpu_info.mojom (right): https://codereview.chromium.org/2220093002/diff/100001/gpu/ipc/common/gpu_info.mojom#newcode74 gpu/ipc/common/gpu_info.mojom:74: struct GpuInfo { reference to where this C++ type ...
4 years, 4 months ago (2016-08-08 19:06:21 UTC) #22
Fady Samuel
https://codereview.chromium.org/2220093002/diff/100001/gpu/ipc/common/gpu_info_struct_traits.h File gpu/ipc/common/gpu_info_struct_traits.h (right): https://codereview.chromium.org/2220093002/diff/100001/gpu/ipc/common/gpu_info_struct_traits.h#newcode271 gpu/ipc/common/gpu_info_struct_traits.h:271: static const gpu::DxDiagNode dx_diag_node; This is very icky. I'm ...
4 years, 4 months ago (2016-08-10 12:13:24 UTC) #24
yzshen1
https://codereview.chromium.org/2220093002/diff/100001/gpu/ipc/common/gpu_info_struct_traits.h File gpu/ipc/common/gpu_info_struct_traits.h (right): https://codereview.chromium.org/2220093002/diff/100001/gpu/ipc/common/gpu_info_struct_traits.h#newcode271 gpu/ipc/common/gpu_info_struct_traits.h:271: static const gpu::DxDiagNode dx_diag_node; On 2016/08/10 12:13:24, Fady Samuel ...
4 years, 4 months ago (2016-08-10 16:29:19 UTC) #25
Alex Z.
On 2016/08/10 16:29:19, yzshen1 wrote: > https://codereview.chromium.org/2220093002/diff/100001/gpu/ipc/common/gpu_info_struct_traits.h > File gpu/ipc/common/gpu_info_struct_traits.h (right): > > https://codereview.chromium.org/2220093002/diff/100001/gpu/ipc/common/gpu_info_struct_traits.h#newcode271 > ...
4 years, 4 months ago (2016-08-10 18:45:10 UTC) #26
Alex Z.
https://codereview.chromium.org/2220093002/diff/100001/gpu/ipc/common/gpu_info.mojom File gpu/ipc/common/gpu_info.mojom (right): https://codereview.chromium.org/2220093002/diff/100001/gpu/ipc/common/gpu_info.mojom#newcode74 gpu/ipc/common/gpu_info.mojom:74: struct GpuInfo { On 2016/08/08 19:06:20, Fady Samuel wrote: ...
4 years, 4 months ago (2016-08-10 19:27:54 UTC) #27
Fady Samuel
lgtm assuming all the bots are happy.
4 years, 4 months ago (2016-08-10 19:36:30 UTC) #28
yzshen1
On 2016/08/10 18:45:10, StarAZ1 wrote: > On 2016/08/10 16:29:19, yzshen1 wrote: > > > https://codereview.chromium.org/2220093002/diff/100001/gpu/ipc/common/gpu_info_struct_traits.h ...
4 years, 4 months ago (2016-08-10 20:01:08 UTC) #31
Alex Z.
On 2016/08/10 20:01:08, yzshen1 wrote: > On 2016/08/10 18:45:10, StarAZ1 wrote: > > On 2016/08/10 ...
4 years, 4 months ago (2016-08-10 20:02:36 UTC) #32
Alex Z.
tsepez@: Please do a security review on the changed IPC files.
4 years, 4 months ago (2016-08-11 19:15:51 UTC) #44
Tom Sepez
On 2016/08/11 19:15:51, StarAZ1 wrote: > tsepez@: Please do a security review on the changed ...
4 years, 4 months ago (2016-08-11 20:11:53 UTC) #45
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/2220093002/160001
4 years, 4 months ago (2016-08-11 20:17:18 UTC) #48
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 4 months ago (2016-08-11 20:22:36 UTC) #49
commit-bot: I haz the power
4 years, 4 months ago (2016-08-11 20:24:43 UTC) #51
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/bf90a8e911d48f0055bd2676460f48b8c669324b
Cr-Commit-Position: refs/heads/master@{#411413}

Powered by Google App Engine
This is Rietveld 408576698