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

Issue 2746393005: cc: Pick the biggest Quad when selecting an overlay. (Closed)

Created:
3 years, 9 months ago by Daniele Castagna
Modified:
3 years, 9 months ago
Reviewers:
reveman
CC:
cc-bugs_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Pick the biggest Quad when selecting an overlay. When selecting an overlay with OverlayStrategySingleOnTop, that picks only one quad to be used as HW overlays, prefer a bigger quad than a small one. This is convenient in cases where we get buffers from exo, where one buffer reprents a title bar and one the content. Before this patch we might have schedule the title bar as HW overlay since it comes first in the rendering order. After this CL we should prioritize the content. BUG=695296 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2746393005 Cr-Commit-Position: refs/heads/master@{#457079} Committed: https://chromium.googlesource.com/chromium/src/+/786f5cde9ec32c296aa372006df3fa3e07dd03be

Patch Set 1 #

Patch Set 2 : Consider only one candidate. #

Patch Set 3 : Early out if we can't find a candidate. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -36 lines) Patch
M cc/output/overlay_strategy_single_on_top.cc View 1 2 2 chunks +16 lines, -11 lines 0 comments Download
M cc/output/overlay_unittest.cc View 13 chunks +78 lines, -25 lines 0 comments Download

Messages

Total messages: 19 (14 generated)
Daniele Castagna
3 years, 9 months ago (2017-03-15 00:45:45 UTC) #5
Daniele Castagna
PTAL. The code has been simplified as we discussed offline. We now just pick the ...
3 years, 9 months ago (2017-03-15 05:40:42 UTC) #13
reveman
lgtm
3 years, 9 months ago (2017-03-15 12:18:38 UTC) #14
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/2746393005/40001
3 years, 9 months ago (2017-03-15 14:56:08 UTC) #16
commit-bot: I haz the power
3 years, 9 months ago (2017-03-15 15:00:16 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/786f5cde9ec32c296aa372006df3...

Powered by Google App Engine
This is Rietveld 408576698