~mc-return/compiz/compiz.merge-fix1173684-shift-switcher-broken-and-hardcoded-text-placement

Refactor screenshot code to make it clearer and also to allow us to take
screenshots in glPaintOutput as opposed to paint ().

Taking screenshots in paint () was probably correct pre-GLES, but isn't
really correct now - we want to be able to read off of the currently
bound scratch framebuffer where we last painted the frame. Reading off
the frontbuffer is an imprecise operation because the contents of both
buffers are really undefined after a swap. In the case where we are
not painting to a scratch framebuffer object, we'll just end up reading
from the backbuffer anyways, which would be correct to do mid-frame.

Also added the new static const GLenums
DRAW_FRAMEBUFFER_BINDING and
READ_FRAMEBUFFER_BINDING to opengl.h.

(LP: #771875). Fixes: https://bugs.launchpad.net/bugs/771875.

Approved by PS Jenkins bot, Sam Spilsbury.
Filename Latest Rev Last Changed Committer Comment Size
..
.bzr-builddeb 3450.1.1 11 years ago Michael Terry move debian/ packaging inline Diff
cmake 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin Diff
compizconfig 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin Diff
debian 3248.1.1 12 years ago Didier Roche first packaging Diff
gtk 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin Diff
images 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin Diff
include 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin Diff
kde 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin Diff
libdecoration 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin Diff
metadata 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin Diff
plugins 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin Diff
po 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin Diff
postinst 3262.3.66 11 years ago Sam Spilsbury Added postinst Diff
scripts 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin Diff
src 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin Diff
tests 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin Diff
xslt 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin Diff
.gitignore 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin 14 bytes Diff Download File
AUTHORS 3577.2.1 11 years ago Daniel van Vugt First draft preparing release 0.9.9.0. Still waiti 4.9 KB Diff Download File
ChangeLog 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin 525 KB Diff Download File
CMakeLists.txt 3620.3.6 11 years ago MC Return Merged latest lp:compiz 7.3 KB Diff Download File
compiz.pc.in 3486.1.1 11 years ago Daniel d'Andrada Point to compiz library dir in compiz.pc Libs sect 249 bytes Diff Download File
config.h.core.in 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin 132 bytes Diff Download File
COPYING 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin 274 bytes Diff Download File
COPYING.GPL 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin 17.5 KB Diff Download File
COPYING.LGPL 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin 25.9 KB Diff Download File
COPYING.MIT 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin 1 KB Diff Download File
Doxyfile 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin 61.9 KB Diff Download File
INSTALL 3440.2.1 11 years ago Iven Hsu Update build instructions in INSTALL. Since r3434 646 bytes Diff Download File
NEWS 3577.2.1 11 years ago Daniel van Vugt First draft preparing release 0.9.9.0. Still waiti 62.4 KB Diff Download File
README 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin 311 bytes Diff Download File
RELEASING 3139 12 years ago smspillaz Merge lp:compiz-scaleaddon-plugin 2.6 KB Diff Download File
VERSION 3667.1.2 11 years ago Sam Spilsbury Bump version to 0.9.10.0 9 bytes Diff Download File