Diffusion KWin 9cb666f469ce

Restore the backend set viewport when popping the final render target

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

Description

Restore the backend set viewport when popping the final render target

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.

Reviewers: Plasma

Subscribers: plasma-devel, kwin, KWin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D4952