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

Unified Diff: tools/VisualBench/VisualStreamTimingModule.cpp

Issue 1441073005: Fix visualbench flicker on triple buffered platforms (Closed) Base URL: https://skia.googlesource.com/skia.git@upload_continuous_timing
Patch Set: Created 5 years, 1 month 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: tools/VisualBench/VisualStreamTimingModule.cpp
diff --git a/tools/VisualBench/VisualStreamTimingModule.cpp b/tools/VisualBench/VisualStreamTimingModule.cpp
index cb748ca5d825619d18119b377668e0d6a3d3a132..0ac698eff203de5a416edbdb16a123f6288ea1b0 100644
--- a/tools/VisualBench/VisualStreamTimingModule.cpp
+++ b/tools/VisualBench/VisualStreamTimingModule.cpp
@@ -25,7 +25,7 @@ inline void VisualStreamTimingModule::handleInitState(SkCanvas* canvas) {
case kReset_InitState:
// This will flicker unfortunately, but as we are reseting the GLContext each bench,
// we unfortunately don't have a choice
- fOwner->clear(canvas, SK_ColorWHITE, 2);
+ fOwner->clear(canvas, SK_ColorWHITE, 3);
fBenchmarkStream->current()->preTimingHooks(canvas);
break;
case kNone_InitState:
« 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