Convert virtual backend to per screen rendering
ClosedPublic

Authored by davidedmundson on Nov 7 2016, 11:48 PM.

Details

Summary

Output scaling can't ever work on a single buffer; especially if they're
different scales and overlapping.

This ports the virtual backend to perScreenRendering so that I can use it for
tests.

ctest fails here, but it fails on the tests that it failed on before..

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson retitled this revision from to Convert virtual backend to per screen rendering.
davidedmundson updated this object.
davidedmundson edited the test plan for this revision. (Show Details)
davidedmundson added a reviewer: Plasma.
Restricted Application added a project: KWin. · View Herald TranscriptNov 7 2016, 11:48 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript

code looks fine to me. Which tests are failing for you?

kwin-testPointerInput
kwin-testDontCrashEmptyDeco (which freezes)
kwin-testSceneOpenGL
kwin-testGlobalShortcuts
....

at this point I think there's something wrong with my system rather than the code.

Compile against master rather than scaling branch

Restricted Application edited projects, added Plasma; removed KWin. · View Herald TranscriptNov 9 2016, 12:36 PM

does the sceneqpaintertest pass? That's probably the only one which could be affected by this change.

does the sceneqpaintertest pass? That's probably the only one which could be affected by this change.

Yes, that passes

graesslin accepted this revision.Nov 11 2016, 12:48 PM
graesslin added a reviewer: graesslin.
This revision is now accepted and ready to land.Nov 11 2016, 12:48 PM
This revision was automatically updated to reflect the committed changes.