Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Unified Diff: ui/surface/accelerated_surface_win.cc

Issue 10878064: Disable DWM call for VSync parameters on Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/surface/accelerated_surface_win.cc
diff --git a/ui/surface/accelerated_surface_win.cc b/ui/surface/accelerated_surface_win.cc
index 2fadfc00fdd31e64b4ca04acd7695b803428162b..4a35e306a3dd99e9cdbc66045d9aa569e6acea42 100644
--- a/ui/surface/accelerated_surface_win.cc
+++ b/ui/surface/accelerated_surface_win.cc
@@ -849,6 +849,10 @@ void AcceleratedPresenter::DoPresentAndAcknowledge(
}
}
+ // Disable call to DwmGetCompositionTimingInfo until we figure out why it
+ // causes a flicker of the last software window during tab switch and
+ // navigate. crbug.com/143854
+#if 0
{
TRACE_EVENT0("gpu", "GetPresentationStats");
base::TimeTicks timebase;
@@ -866,6 +870,7 @@ void AcceleratedPresenter::DoPresentAndAcknowledge(
"timebase", timebase.ToInternalValue(),
"interval", interval.ToInternalValue());
}
+#endif
hidden_ = false;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698