Store GLRenderTarget::scale
ClosedPublic

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

Details

Summary

GLRenderTarget already stores the translation from global compositor
space to the render target co-ordinates, we also need a scale factor for
the exact same reasons.

Test Plan

Used in various effects after this patch and it works there.

Diff Detail

Repository
R108 KWin
Lint
No Linters Available
Unit
No Unit Test Coverage
davidedmundson created this revision.Mar 6 2017, 12:29 AM
Restricted Application added a project: KWin. · View Herald TranscriptMar 6 2017, 12:29 AM
Restricted Application added subscribers: KWin, kwin, plasma-devel. · View Herald Transcript
graesslin accepted this revision.Mar 10 2017, 3:07 PM
This revision is now accepted and ready to land.Mar 10 2017, 3:07 PM
This revision was automatically updated to reflect the committed changes.