~compiz-team/compiz/0.9.11

« back to all changes in this revision

Viewing changes to debian/patches/100_workaround_virtualbox_hang.patch

  • Committer: CI Train Bot
  • Author(s): Stephen M. Webb
  • Date: 2015-01-22 14:51:41 UTC
  • mfrom: (3869.1.2 lp-269904-trusty)
  • Revision ID: ci-train-bot@canonical.com-20150122145141-m6fpm6djd2s54try
Use the GL_EXT_x11_sync_object OpenGL extension to synchronize updates with X11 to avoid unrefreshed parts of the screen on Nvidia hardware. Fixes: #269904
Approved by: Christopher Townsend

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
        bool incorrectRefreshRate; // hack for NVIDIA specifying an incorrect
80
80
                                   // refresh rate, causing us to miss vblanks
81
81
 
82
 
@@ -253,6 +273,10 @@
83
 
        bool postprocessingRequired;
84
 
        mutable CompString prevRegex;
85
 
        mutable bool       prevBlacklisted;
 
82
@@ -266,6 +266,10 @@
 
83
        std::vector<XToGLSync*>::size_type currentSyncNum;
 
84
        XToGLSync *currentSync;
 
85
        std::vector<XToGLSync*>::size_type warmupSyncs;
86
86
+
87
87
+    private:
88
88
+