Chromium Code Reviews
Descriptioncc: 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. #
Messages
Total messages: 19 (14 generated)
|
||||||||||||||||||||||||||||