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

Issue 2682393003: Change MessageLoop type for GPU tests with Ozone. (Closed)

Created:
3 years, 10 months ago by kylechar
Modified:
3 years, 9 months ago
CC:
chromium-reviews, piman+watch_chromium.org, fwang, fjhenigman
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change MessageLoop type for GPU tests with Ozone. Some Ozone platforms require a specific MessageLoop type in the GPU. Namely, this is Ozone X11 that depends on libevent which in turn needs TYPE_UI message loop to get XEvents. When initializing the GPU process we check OzonePlatform::GetMessageLoopTypeForGPU() to get the message loop type. Do something similar for gpu_unittets and gpu_ipc_service_unittests so that they can pass with Ozone X11. Those tests will still run by default with Ozone headless on linux_chromium_chromeos_ozone_rel_ng. This can be changed later if the tests appear stable on an FYI bot with Ozone X11. BUG=686092 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 Review-Url: https://codereview.chromium.org/2682393003 Cr-Commit-Position: refs/heads/master@{#453602} Committed: https://chromium.googlesource.com/chromium/src/+/ffae7e0a3390a6f07620f47f95d5d00a0a887f66

Patch Set 1 #

Patch Set 2 : Fix. #

Patch Set 3 : Add dep. #

Patch Set 4 : Fix comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -5 lines) Patch
M gpu/BUILD.gn View 1 2 chunks +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc View 1 2 3 3 chunks +4 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gpu_service_test.cc View 1 2 3 2 chunks +5 lines, -2 lines 0 comments Download
M gpu/ipc/service/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gpu/ipc/service/gpu_channel_unittest.cc View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
A gpu/test_message_loop_type.h View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (25 generated)
kylechar
3 years, 9 months ago (2017-02-27 16:09:21 UTC) #20
tonikitoo
On 2017/02/27 16:09:21, kylechar wrote: informal l g t m
3 years, 9 months ago (2017-02-27 16:49:32 UTC) #21
Ken Russell (switch to Gerrit)
lgtm +fjhenigman as FYI
3 years, 9 months ago (2017-02-28 05:34:11 UTC) #22
kylechar
Thanks kbr!
3 years, 9 months ago (2017-02-28 13:44:28 UTC) #25
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/2682393003/60001
3 years, 9 months ago (2017-02-28 15:05:04 UTC) #28
commit-bot: I haz the power
3 years, 9 months ago (2017-02-28 15:10:21 UTC) #31
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/ffae7e0a3390a6f07620f47f95d5...

Powered by Google App Engine
This is Rietveld 408576698