Restore the backend set viewport when popping the final render target
ClosedPublic

Authored by davidedmundson on Mar 6 2017, 12:38 AM.

Details

Summary

The backend is responsible for setting the viewport, the GLRenderTarget
should save and restore the viewport actually set by the backend.

Test Plan

Ran Blur effect which uses this method, under scaling the viewport "restored"
differed from the one set by the backend.

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 created this revision.Mar 6 2017, 12:38 AM
Restricted Application added a project: KWin. · View Herald TranscriptMar 6 2017, 12:38 AM
Restricted Application added subscribers: KWin, kwin, plasma-devel. · View Herald Transcript
graesslin accepted this revision.Mar 10 2017, 3:08 PM
This revision is now accepted and ready to land.Mar 10 2017, 3:08 PM
This revision was automatically updated to reflect the committed changes.