Chromium Code Reviews
DescriptionFix black screen when switching primary display without bounds change
In ScreenManager::GetModesetBuffer() we need to check controller's
DrmDevice and only re-use primary buffer if it matches the DrmDevice
on which the buffer is allocated.
Also in DrmWindow::SchedulePageFlip(), we need to force buffer
reallocation when the buffer's DrmDevice doesn't match that of the
hardware display controller.
BUG=591368
TEST=verify on auron_yuna with UDL resolution at 1920x1080 and switch primary
Committed: https://crrev.com/28c0dd4fc82d8834c0508492fc693204da39e21b
Cr-Commit-Position: refs/heads/master@{#392165}
Patch Set 1 #Patch Set 2 : Add DrmDevice check in ScreenManager::GetModesetBuffer #
Total comments: 2
Patch Set 3 : Add comments. #Patch Set 4 : Fix build failure in MockScanoutBuffer #Patch Set 5 : Fix build failure in MockScanoutBuffer (again! sorry) #
Messages
Total messages: 16 (6 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||