kwin/effects/screenshot
Martin Gräßlin b7f06b8708 Use window size for offscreen texture size in screenshot effect
Effect used the display size which caused windows being larger than
either width or height not to be captured correctly.

Now it uses the window size for the offscreen texture which also requires
to adjust the modelviewprojection matrix.

As an unrelated change the pointer to GLRenderTarget and GLTexture are
changed to a QScopedPointer and some variables which got moved around
are consted.

BUG: 312851
FIXED-IN: 4.11
REVIEW: 108258
2013-01-15 15:05:43 +01:00
..
CMakeLists.txt New screenshot effect. 2010-07-31 20:55:48 +00:00
screenshot.cpp Use window size for offscreen texture size in screenshot effect 2013-01-15 15:05:43 +01:00
screenshot.desktop SVN_SILENT made messages (.desktop file) 2013-01-07 08:11:48 +01:00
screenshot.h Use window size for offscreen texture size in screenshot effect 2013-01-15 15:05:43 +01:00