summaryrefslogtreecommitdiff
path: root/src/workarounds.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/workarounds.h')
-rw-r--r--src/workarounds.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/workarounds.h b/src/workarounds.h
index ff821cc..8f3a665 100644
--- a/src/workarounds.h
+++ b/src/workarounds.h
@@ -45,6 +45,7 @@ class WorkaroundsScreen :
public PluginClassHandler <WorkaroundsScreen, CompScreen>,
public ScreenInterface,
public GLScreenInterface,
+ public CompositeScreenInterface,
public WorkaroundsOptions
{
public:
@@ -61,11 +62,17 @@ class WorkaroundsScreen :
GL::GLProgramParameter4fProc origProgramEnvParameter4f;
GLProgramParameter4dvProc programEnvParameter4dv;
+ GL::GLXGetVideoSyncProc origGetVideoSync;
+ GL::GLXWaitVideoSyncProc origWaitVideoSync;
+
GL::GLXCopySubBufferProc origCopySubBuffer;
void
handleEvent (XEvent *);
+ void
+ preparePaint (int);
+
bool
glPaintOutput (const GLScreenPaintAttrib &,
const GLMatrix &,
@@ -83,6 +90,9 @@ class WorkaroundsScreen :
updateParameterFix ();
void
+ updateVideoSyncFix ();
+
+ void
optionChanged (CompOption *opt,
WorkaroundsOptions::Options num);