~azzar1/compiz/fix-1234624

« back to all changes in this revision

Viewing changes to plugins/water/src/water.h

  • Committer: Tarmac
  • Author(s): Sam Spilsbury
  • Date: 2013-10-30 20:31:20 UTC
  • mfrom: (3724.5.4 compiz.fix_1024304)
  • Revision ID: tarmac-20131030203120-bxn8whir9ao7rip7
Add support for the GLX_EXT_buffer_age extension on hardware that supports it, which should result in a nice speed-boost due to the fact that we no longer have to abuse fillrate by retaining old frame contents, and instead asking the driver how defined the current frame is. Fixes: https://bugs.launchpad.net/bugs/1024304.

Approved by PS Jenkins bot, Christopher Townsend, Marco Trevisan (Treviño).

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
 
65
65
        void handleEvent (XEvent *);
66
66
 
 
67
        bool glPaintCompositedOutputRequired ();
67
68
        void glPaintCompositedOutput (const CompRegion    &region,
68
69
                                      GLFramebufferObject *fbo,
69
70
                                      unsigned int         mask);