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

Issue 1631073002: Relocate ozone gbm overlay config cache to manager (Closed)

Created:
4 years, 11 months ago by rjkroege
Modified:
4 years, 11 months ago
Reviewers:
kalyank, dnicoara, kalyank_
CC:
chromium-reviews, kalyank, ozone-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Relocate ozone gbm overlay config cache to manager The ozone gbm overlay candidate maintains a cache of layer configurations that have previously been validated by the kernel display system. This is unnecessary. Relocate the cache to the global overlay manager to simplify the implementation of pluggable host to gpu communication. BUG=558602 Committed: https://crrev.com/9c3ee3527aa66b14374cfe074e7132cf6d955887 Cr-Commit-Position: refs/heads/master@{#371696}

Patch Set 1 #

Total comments: 8

Patch Set 2 : review comments #

Total comments: 8

Patch Set 3 : review comments #

Patch Set 4 : rebased #

Patch Set 5 : rebased correctly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -395 lines) Patch
M ui/ozone/platform/drm/BUILD.gn View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/ozone/platform/drm/gbm.gypi View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/ozone/platform/drm/host/drm_overlay_candidates_host.h View 1 2 chunks +8 lines, -53 lines 0 comments Download
M ui/ozone/platform/drm/host/drm_overlay_candidates_host.cc View 1 1 chunk +6 lines, -57 lines 0 comments Download
D ui/ozone/platform/drm/host/drm_overlay_candidates_host_core.h View 1 chunk +0 lines, -71 lines 0 comments Download
D ui/ozone/platform/drm/host/drm_overlay_candidates_host_core.cc View 1 chunk +0 lines, -146 lines 0 comments Download
M ui/ozone/platform/drm/host/drm_overlay_manager.h View 1 2 1 chunk +42 lines, -6 lines 0 comments Download
M ui/ozone/platform/drm/host/drm_overlay_manager.cc View 1 2 1 chunk +62 lines, -13 lines 0 comments Download
A ui/ozone/platform/drm/host/drm_overlay_manager_core.h View 1 2 1 chunk +78 lines, -0 lines 0 comments Download
A + ui/ozone/platform/drm/host/drm_overlay_manager_core.cc View 1 2 5 chunks +40 lines, -26 lines 0 comments Download
M ui/ozone/platform/drm/host/drm_window_host.h View 4 chunks +4 lines, -5 lines 0 comments Download
M ui/ozone/platform/drm/host/drm_window_host.cc View 1 2 3 chunks +5 lines, -10 lines 0 comments Download
M ui/ozone/platform/drm/ozone_platform_gbm.cc View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
rjkroege
ptal
4 years, 11 months ago (2016-01-25 22:50:16 UTC) #2
kalyank
https://codereview.chromium.org/1631073002/diff/1/ui/ozone/platform/drm/host/drm_overlay_candidates_host.h File ui/ozone/platform/drm/host/drm_overlay_candidates_host.h (right): https://codereview.chromium.org/1631073002/diff/1/ui/ozone/platform/drm/host/drm_overlay_candidates_host.h#newcode40 ui/ozone/platform/drm/host/drm_overlay_candidates_host.h:40: DrmOverlayManagerCore* manager_core_; // Not owned. overlay_manager_ perhaps ? https://codereview.chromium.org/1631073002/diff/1/ui/ozone/platform/drm/host/drm_overlay_manager_core.cc ...
4 years, 11 months ago (2016-01-25 23:43:44 UTC) #4
kalyank
https://codereview.chromium.org/1631073002/diff/1/ui/ozone/platform/drm/host/drm_overlay_manager_core.cc File ui/ozone/platform/drm/host/drm_overlay_manager_core.cc (right): https://codereview.chromium.org/1631073002/diff/1/ui/ozone/platform/drm/host/drm_overlay_manager_core.cc#newcode101 ui/ozone/platform/drm/host/drm_overlay_manager_core.cc:101: const std::vector<OverlayCheck_Params>& validated_params = iter->first; After thinking bit more ...
4 years, 11 months ago (2016-01-26 00:43:40 UTC) #5
rjkroege
https://codereview.chromium.org/1631073002/diff/1/ui/ozone/platform/drm/host/drm_overlay_candidates_host.h File ui/ozone/platform/drm/host/drm_overlay_candidates_host.h (right): https://codereview.chromium.org/1631073002/diff/1/ui/ozone/platform/drm/host/drm_overlay_candidates_host.h#newcode40 ui/ozone/platform/drm/host/drm_overlay_candidates_host.h:40: DrmOverlayManagerCore* manager_core_; // Not owned. On 2016/01/25 23:43:43, kalyank ...
4 years, 11 months ago (2016-01-26 01:38:40 UTC) #6
kalyank_
Non owner lgtm. https://codereview.chromium.org/1631073002/diff/1/ui/ozone/platform/drm/host/drm_overlay_manager_core.cc File ui/ozone/platform/drm/host/drm_overlay_manager_core.cc (right): https://codereview.chromium.org/1631073002/diff/1/ui/ozone/platform/drm/host/drm_overlay_manager_core.cc#newcode101 ui/ozone/platform/drm/host/drm_overlay_manager_core.cc:101: const std::vector<OverlayCheck_Params>& validated_params = iter->first; On ...
4 years, 11 months ago (2016-01-26 02:36:39 UTC) #7
dnicoara
lgtm % nits https://codereview.chromium.org/1631073002/diff/20001/ui/ozone/platform/drm/host/drm_overlay_manager.cc File ui/ozone/platform/drm/host/drm_overlay_manager.cc (right): https://codereview.chromium.org/1631073002/diff/20001/ui/ozone/platform/drm/host/drm_overlay_manager.cc#newcode43 ui/ozone/platform/drm/host/drm_overlay_manager.cc:43: IPC_MESSAGE_FORWARD(OzoneHostMsg_OverlayCapabilitiesReceived, this, nit: Since DrmOverlayManagerCore always ...
4 years, 11 months ago (2016-01-26 14:14:23 UTC) #9
rjkroege
On 2016/01/26 02:36:39, kalyank_ wrote: > Non owner lgtm. > > https://codereview.chromium.org/1631073002/diff/1/ui/ozone/platform/drm/host/drm_overlay_manager_core.cc > File ui/ozone/platform/drm/host/drm_overlay_manager_core.cc ...
4 years, 11 months ago (2016-01-26 23:23:40 UTC) #10
rjkroege
https://codereview.chromium.org/1631073002/diff/20001/ui/ozone/platform/drm/host/drm_overlay_manager.cc File ui/ozone/platform/drm/host/drm_overlay_manager.cc (right): https://codereview.chromium.org/1631073002/diff/20001/ui/ozone/platform/drm/host/drm_overlay_manager.cc#newcode43 ui/ozone/platform/drm/host/drm_overlay_manager.cc:43: IPC_MESSAGE_FORWARD(OzoneHostMsg_OverlayCapabilitiesReceived, this, On 2016/01/26 14:14:23, dnicoara wrote: > nit: ...
4 years, 11 months ago (2016-01-26 23:58:56 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1631073002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1631073002/40001
4 years, 11 months ago (2016-01-26 23:59:28 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/13248) android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, ...
4 years, 11 months ago (2016-01-27 00:06:49 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1631073002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1631073002/60001
4 years, 11 months ago (2016-01-27 01:04:03 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/13282) android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, ...
4 years, 11 months ago (2016-01-27 01:10:54 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1631073002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1631073002/80001
4 years, 11 months ago (2016-01-27 02:18:26 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 11 months ago (2016-01-27 03:06:13 UTC) #25
commit-bot: I haz the power
4 years, 11 months ago (2016-01-27 03:08:25 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9c3ee3527aa66b14374cfe074e7132cf6d955887
Cr-Commit-Position: refs/heads/master@{#371696}

Powered by Google App Engine
This is Rietveld 408576698