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

Issue 2156093004: Use mojo for cursor control in ozone drm (Closed)

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

Description

Use mojo for cursor control in ozone drm Use mojo to control the cursor in ozone drm in mus. First in a series of patches to convert Ozone IPC to mojo. BUG=620927 Committed: https://crrev.com/19f44a11dcc5866c52e86bee2eab07149d06ddd0 Cr-Commit-Position: refs/heads/master@{#408840}

Patch Set 1 #

Patch Set 2 : more proof-reading #

Total comments: 19

Patch Set 3 : review comments #

Total comments: 2

Patch Set 4 : review comments #

Total comments: 2

Patch Set 5 : more review comments #

Patch Set 6 : proof-reading #

Patch Set 7 : rebased #

Patch Set 8 : corrected small code oversight #

Unified diffs Side-by-side diffs Delta from patch set Stats (+291 lines, -46 lines) Patch
M services/ui/common/run_all_shelltests.cc View 1 chunk +3 lines, -1 line 0 comments Download
M services/ui/gpu/gpu_service_mus.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M services/ui/manifest.json View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M services/ui/service.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M ui/gl/test/run_all_unittests.cc View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M ui/ozone/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/platform/drm/BUILD.gn View 1 2 3 3 chunks +5 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
A ui/ozone/platform/drm/cursor_proxy_mojo.h View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download
A ui/ozone/platform/drm/cursor_proxy_mojo.cc View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_thread.h View 1 2 3 4 5 6 7 5 chunks +18 lines, -4 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_thread.cc View 1 2 3 4 3 chunks +9 lines, -2 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_thread_proxy.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_thread_proxy.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/host/drm_cursor.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/platform/drm/mus_thread_proxy.h View 1 2 3 2 chunks +19 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/mus_thread_proxy.cc View 3 1 chunk +18 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/ozone_platform_gbm.cc View 1 2 3 7 chunks +65 lines, -19 lines 0 comments Download
A + ui/ozone/public/interfaces/BUILD.gn View 1 2 3 1 chunk +9 lines, -15 lines 0 comments Download
A + ui/ozone/public/interfaces/OWNERS View 0 chunks +-1 lines, --1 lines 0 comments Download
A ui/ozone/public/interfaces/device_cursor.mojom View 1 2 3 4 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (11 generated)
rjkroege
PTAL rockot@ general mojom review and ui/ozone/platform/drm/DEPS tsepez@ mojom security spang@: ui/ozone/* sky@: services/ui/* sievers@: ...
4 years, 5 months ago (2016-07-19 00:35:20 UTC) #2
sky
https://codereview.chromium.org/2156093004/diff/20001/ui/ozone/public/interfaces/cursor.mojom File ui/ozone/public/interfaces/cursor.mojom (right): https://codereview.chromium.org/2156093004/diff/20001/ui/ozone/public/interfaces/cursor.mojom#newcode14 ui/ozone/public/interfaces/cursor.mojom:14: interface Cursor { Can this be named CursorOzone? I ...
4 years, 5 months ago (2016-07-19 13:21:48 UTC) #3
spang
https://codereview.chromium.org/2156093004/diff/20001/ui/ozone/platform/drm/cursor_proxy_mojo.cc File ui/ozone/platform/drm/cursor_proxy_mojo.cc (right): https://codereview.chromium.org/2156093004/diff/20001/ui/ozone/platform/drm/cursor_proxy_mojo.cc#newcode31 ui/ozone/platform/drm/cursor_proxy_mojo.cc:31: evdev_cursor_ptr_->MoveCursor(widget, location); Why is it necessary to have two ...
4 years, 5 months ago (2016-07-19 14:59:37 UTC) #4
spang
4 years, 5 months ago (2016-07-19 14:59:39 UTC) #5
spang
4 years, 5 months ago (2016-07-19 14:59:43 UTC) #6
Tom Sepez
lgtm https://codereview.chromium.org/2156093004/diff/20001/ui/ozone/platform/drm/cursor_proxy_mojo.h File ui/ozone/platform/drm/cursor_proxy_mojo.h (right): https://codereview.chromium.org/2156093004/diff/20001/ui/ozone/platform/drm/cursor_proxy_mojo.h#newcode14 ui/ozone/platform/drm/cursor_proxy_mojo.h:14: class SingleThreadTaskRunner; nit: is this required? I didn't ...
4 years, 5 months ago (2016-07-19 16:14:38 UTC) #7
rjkroege
ptal https://codereview.chromium.org/2156093004/diff/20001/ui/ozone/platform/drm/cursor_proxy_mojo.cc File ui/ozone/platform/drm/cursor_proxy_mojo.cc (right): https://codereview.chromium.org/2156093004/diff/20001/ui/ozone/platform/drm/cursor_proxy_mojo.cc#newcode31 ui/ozone/platform/drm/cursor_proxy_mojo.cc:31: evdev_cursor_ptr_->MoveCursor(widget, location); On 2016/07/19 14:59:37, spang wrote: > ...
4 years, 5 months ago (2016-07-21 01:10:42 UTC) #8
sky
I would have preferred DeviceCursorOzone, but DeviceCursor is better than Cursor, so LGTM
4 years, 5 months ago (2016-07-21 15:27:26 UTC) #9
Ken Rockot(use gerrit already)
lgtm https://codereview.chromium.org/2156093004/diff/40001/ui/ozone/public/interfaces/BUILD.gn File ui/ozone/public/interfaces/BUILD.gn (right): https://codereview.chromium.org/2156093004/diff/40001/ui/ozone/public/interfaces/BUILD.gn#newcode13 ui/ozone/public/interfaces/BUILD.gn:13: get_path_info("../../../..", "abspath"), ... Is this really necessary?
4 years, 5 months ago (2016-07-21 19:12:30 UTC) #10
spang
https://codereview.chromium.org/2156093004/diff/20001/ui/ozone/platform/drm/cursor_proxy_mojo.cc File ui/ozone/platform/drm/cursor_proxy_mojo.cc (right): https://codereview.chromium.org/2156093004/diff/20001/ui/ozone/platform/drm/cursor_proxy_mojo.cc#newcode31 ui/ozone/platform/drm/cursor_proxy_mojo.cc:31: evdev_cursor_ptr_->MoveCursor(widget, location); On 2016/07/21 01:10:41, rjkroege wrote: > On ...
4 years, 5 months ago (2016-07-21 19:21:58 UTC) #11
spang
https://codereview.chromium.org/2156093004/diff/40001/ui/ozone/platform/drm/host/drm_cursor.cc File ui/ozone/platform/drm/host/drm_cursor.cc (right): https://codereview.chromium.org/2156093004/diff/40001/ui/ozone/platform/drm/host/drm_cursor.cc#newcode181 ui/ozone/platform/drm/host/drm_cursor.cc:181: SendCursorMoveLocked(UI); Assuming MoveCursorTo() is called from UI is broken, ...
4 years, 5 months ago (2016-07-22 19:52:54 UTC) #12
rjkroege
On 2016/07/22 19:52:54, spang wrote: > https://codereview.chromium.org/2156093004/diff/40001/ui/ozone/platform/drm/host/drm_cursor.cc > File ui/ozone/platform/drm/host/drm_cursor.cc (right): > > https://codereview.chromium.org/2156093004/diff/40001/ui/ozone/platform/drm/host/drm_cursor.cc#newcode181 > ...
4 years, 4 months ago (2016-07-27 01:39:17 UTC) #13
spang
lgtm https://codereview.chromium.org/2156093004/diff/60001/ui/ozone/platform/drm/gpu/drm_thread.h File ui/ozone/platform/drm/gpu/drm_thread.h (right): https://codereview.chromium.org/2156093004/diff/60001/ui/ozone/platform/drm/gpu/drm_thread.h#newcode93 ui/ozone/platform/drm/gpu/drm_thread.h:93: uint32_t frame_delay_ms); Should it really be unsigned? I'd ...
4 years, 4 months ago (2016-07-27 17:00:59 UTC) #14
rjkroege
https://codereview.chromium.org/2156093004/diff/60001/ui/ozone/platform/drm/gpu/drm_thread.h File ui/ozone/platform/drm/gpu/drm_thread.h (right): https://codereview.chromium.org/2156093004/diff/60001/ui/ozone/platform/drm/gpu/drm_thread.h#newcode93 ui/ozone/platform/drm/gpu/drm_thread.h:93: uint32_t frame_delay_ms); On 2016/07/27 17:00:59, spang wrote: > Should ...
4 years, 4 months ago (2016-07-27 20:55:14 UTC) #15
no sievers
ui/gl lgtm
4 years, 4 months ago (2016-07-27 21:32:44 UTC) #20
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/2156093004/120001
4 years, 4 months ago (2016-07-27 21:41:33 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/208622)
4 years, 4 months ago (2016-07-27 22:00:47 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/2156093004/140001
4 years, 4 months ago (2016-07-30 00:49:27 UTC) #28
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 4 months ago (2016-07-30 01:59:42 UTC) #29
commit-bot: I haz the power
4 years, 4 months ago (2016-07-30 02:01:20 UTC) #31
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/19f44a11dcc5866c52e86bee2eab07149d06ddd0
Cr-Commit-Position: refs/heads/master@{#408840}

Powered by Google App Engine
This is Rietveld 408576698