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

Issue 23286003: ash: Get output info from chromeos instead of XRandR. (Closed)

Created:
7 years, 4 months ago by Daniel Erat
Modified:
7 years, 4 months ago
Reviewers:
oshima
CC:
chromium-reviews, stevenjb+watch_chromium.org, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

ash: Get output info from chromeos instead of XRandR. This updates DisplayChangeObserverX11 to use the output info passed by OutputConfigurator instead of querying XRandR for it. Doing so avoids a 60 ms call to XRRGetScreenResources(). BUG=266113 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=218427

Patch Set 1 #

Total comments: 8

Patch Set 2 : rename and consolidate files #

Patch Set 3 : merge #

Total comments: 6

Patch Set 4 : merge #

Patch Set 5 : use index from XRandR #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -914 lines) Patch
M ash/ash.gyp View 1 6 chunks +19 lines, -17 lines 0 comments Download
A + ash/display/display_change_observer_chromeos.h View 1 3 chunks +19 lines, -18 lines 0 comments Download
A + ash/display/display_change_observer_chromeos.cc View 1 2 3 4 5 chunks +97 lines, -86 lines 0 comments Download
A + ash/display/display_change_observer_chromeos_unittest.cc View 1 2 3 4 2 chunks +44 lines, -64 lines 0 comments Download
M ash/display/display_change_observer_x11.h View 1 1 chunk +0 lines, -59 lines 0 comments Download
M ash/display/display_change_observer_x11.cc View 1 1 chunk +0 lines, -204 lines 0 comments Download
D ash/display/display_error_observer.h View 1 1 chunk +0 lines, -39 lines 0 comments Download
D ash/display/display_error_observer.cc View 1 1 chunk +0 lines, -89 lines 0 comments Download
A + ash/display/display_error_observer_chromeos.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + ash/display/display_error_observer_chromeos.cc View 1 1 chunk +1 line, -1 line 0 comments Download
A + ash/display/display_error_observer_chromeos_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
D ash/display/display_error_observer_unittest.cc View 1 1 chunk +0 lines, -85 lines 0 comments Download
M ash/display/display_info.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/display/display_info.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/display/display_util_x11.h View 1 1 chunk +0 lines, -36 lines 0 comments Download
M ash/display/display_util_x11.cc View 1 1 chunk +0 lines, -97 lines 0 comments Download
M ash/display/display_util_x11_unittest.cc View 1 1 chunk +0 lines, -104 lines 0 comments Download
M ash/shell.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M ash/shell.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download
M chromeos/display/output_configurator.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M chromeos/display/output_configurator.cc View 1 2 3 4 2 chunks +7 lines, -1 line 0 comments Download
M chromeos/display/real_output_configurator_delegate.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M tools/heapcheck/suppressions.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Daniel Erat
I'm planning to rename these files from _x11 to _chromeos and to move the contents ...
7 years, 4 months ago (2013-08-16 22:17:15 UTC) #1
oshima
On 2013/08/16 22:17:15, Daniel Erat wrote: > I'm planning to rename these files from _x11 ...
7 years, 4 months ago (2013-08-16 23:13:05 UTC) #2
Daniel Erat
https://codereview.chromium.org/23286003/diff/1/ash/display/display_change_observer_x11.cc File ash/display/display_change_observer_x11.cc (right): https://codereview.chromium.org/23286003/diff/1/ash/display/display_change_observer_x11.cc#newcode92 ash/display/display_change_observer_x11.cc:92: output.display_id); On 2013/08/16 23:13:05, oshima wrote: > output_index is ...
7 years, 4 months ago (2013-08-16 23:35:36 UTC) #3
oshima
https://codereview.chromium.org/23286003/diff/1/ash/display/display_util_x11.cc File ash/display/display_util_x11.cc (right): https://codereview.chromium.org/23286003/diff/1/ash/display/display_util_x11.cc#newcode59 ash/display/display_util_x11.cc:59: const OutputConfigurator::OutputSnapshot& output) { On 2013/08/16 23:35:36, Daniel Erat ...
7 years, 4 months ago (2013-08-16 23:54:05 UTC) #4
oshima
On 2013/08/16 23:54:05, oshima wrote: > https://codereview.chromium.org/23286003/diff/1/ash/display/display_util_x11.cc > File ash/display/display_util_x11.cc (right): > > https://codereview.chromium.org/23286003/diff/1/ash/display/display_util_x11.cc#newcode59 > ...
7 years, 4 months ago (2013-08-16 23:55:00 UTC) #5
Daniel Erat
I moved display_util into display_change_observer and renamed files from _x11 to _chromeos (which seems more ...
7 years, 4 months ago (2013-08-18 04:24:11 UTC) #6
oshima
https://codereview.chromium.org/23286003/diff/1/ash/display/display_change_observer_x11.cc File ash/display/display_change_observer_x11.cc (right): https://codereview.chromium.org/23286003/diff/1/ash/display/display_change_observer_x11.cc#newcode92 ash/display/display_change_observer_x11.cc:92: output.display_id); On 2013/08/16 23:35:36, Daniel Erat (OOO 8-20 to ...
7 years, 4 months ago (2013-08-19 20:00:24 UTC) #7
Daniel Erat
https://codereview.chromium.org/23286003/diff/1/ash/display/display_change_observer_x11.cc File ash/display/display_change_observer_x11.cc (right): https://codereview.chromium.org/23286003/diff/1/ash/display/display_change_observer_x11.cc#newcode92 ash/display/display_change_observer_x11.cc:92: output.display_id); On 2013/08/19 20:00:24, oshima wrote: > On 2013/08/16 ...
7 years, 4 months ago (2013-08-19 22:09:29 UTC) #8
oshima
lgtm
7 years, 4 months ago (2013-08-19 22:27:11 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/23286003/21001
7 years, 4 months ago (2013-08-19 22:33:02 UTC) #10
commit-bot: I haz the power
7 years, 4 months ago (2013-08-20 09:35:41 UTC) #11
Message was sent while issue was closed.
Change committed as 218427

Powered by Google App Engine
This is Rietveld 408576698