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

Issue 1423793003: Optimize plane usage when primary is obscured by Overlay (Closed)

Created:
5 years, 2 months ago by kalyank
Modified:
5 years, 1 month ago
CC:
chromium-reviews, piman+watch_chromium.org, 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

Optimize plane usage when primary is obscured by Overlay Currently, when playing Video in fullscreen and using Overlays, we update both Primary and Overlay planes. This means hardware needs to scan out primary and Overlay plane. This is redundant in case buffer bound to Overlay is not transparent and covers the complete region of primary. In such cases, if primary can support the given format, we can bound the buffer to primary itself and avoid updating the overlay plane. This avoids the need to scan an extra plane with size equal to the resolution. BUG=370522 Committed: https://crrev.com/e7c278226f369deb471963d68dc79ea02ee9ab31 Cr-Commit-Position: refs/heads/master@{#356938}

Patch Set 1 #

Patch Set 2 : Fix tests #

Patch Set 3 : More test fix #

Patch Set 4 : Check that primary and Overlay formats are same #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -21 lines) Patch
M ui/ozone/platform/drm/gpu/hardware_display_controller_unittest.cc View 1 4 chunks +29 lines, -4 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc View 1 2 3 4 chunks +51 lines, -6 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_manager_legacy.cc View 1 chunk +9 lines, -3 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_manager_unittest.cc View 1 2 5 chunks +17 lines, -7 lines 0 comments Download

Messages

Total messages: 24 (6 generated)
kalyank
@dnicoara @achaulk PTAL
5 years, 1 month ago (2015-10-26 00:11:10 UTC) #3
kalyank
@dnicoara ping
5 years, 1 month ago (2015-10-27 16:51:00 UTC) #5
dnicoara
+ alexst@ Would it be possible to have the Compositor drop the primary plane in ...
5 years, 1 month ago (2015-10-29 15:28:41 UTC) #7
achaulk
lgtm but it probably does make more sense to detect this in the compositor, yes
5 years, 1 month ago (2015-10-29 15:34:54 UTC) #8
alexst (slow to review)
lgtm, I think it's okay to optimize this in the platform. Although ideally CC would ...
5 years, 1 month ago (2015-10-29 16:07:12 UTC) #9
kalyank
On 2015/10/29 16:07:12, alexst (slow to review) wrote: > lgtm, I think it's okay to ...
5 years, 1 month ago (2015-10-29 16:15:05 UTC) #10
dnicoara
On 2015/10/29 16:07:12, alexst (slow to review) wrote: > lgtm, I think it's okay to ...
5 years, 1 month ago (2015-10-29 16:17:20 UTC) #11
kalyank
On 2015/10/29 16:17:20, dnicoara wrote: > On 2015/10/29 16:07:12, alexst (slow to review) wrote: > ...
5 years, 1 month ago (2015-10-29 16:36:05 UTC) #12
kalyank
On 2015/10/29 16:36:05, kalyank wrote: > On 2015/10/29 16:17:20, dnicoara wrote: > > On 2015/10/29 ...
5 years, 1 month ago (2015-10-29 16:40:35 UTC) #13
dnicoara
On 2015/10/29 16:36:05, kalyank wrote: > On 2015/10/29 16:17:20, dnicoara wrote: > > On 2015/10/29 ...
5 years, 1 month ago (2015-10-29 16:40:52 UTC) #14
kalyank
On 2015/10/29 16:40:52, dnicoara wrote: > On 2015/10/29 16:36:05, kalyank wrote: > > On 2015/10/29 ...
5 years, 1 month ago (2015-10-29 16:50:14 UTC) #15
kalyank
On 2015/10/29 16:40:52, dnicoara wrote: > On 2015/10/29 16:36:05, kalyank wrote: > > On 2015/10/29 ...
5 years, 1 month ago (2015-10-29 18:14:03 UTC) #16
dnicoara
On 2015/10/29 18:14:03, kalyank wrote: > On 2015/10/29 16:40:52, dnicoara wrote: > > On 2015/10/29 ...
5 years, 1 month ago (2015-10-29 18:20:41 UTC) #17
kalyank
> If I remember correctly the issue was that the stride was different on devices ...
5 years, 1 month ago (2015-10-29 18:59:52 UTC) #18
dnicoara
On 2015/10/29 18:59:52, kalyank wrote: > > If I remember correctly the issue was that ...
5 years, 1 month ago (2015-10-29 19:30:34 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1423793003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1423793003/60001
5 years, 1 month ago (2015-10-29 20:19:29 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-10-29 20:37:35 UTC) #23
commit-bot: I haz the power
5 years, 1 month ago (2015-10-29 20:38:28 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e7c278226f369deb471963d68dc79ea02ee9ab31
Cr-Commit-Position: refs/heads/master@{#356938}

Powered by Google App Engine
This is Rietveld 408576698