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

Side by Side Diff: tools/VisualBench/VisualLightweightBenchModule.cpp

Issue 1336043003: Add viewer mode to VisualBench. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix short option again Created 5 years, 3 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 * 6 *
7 */ 7 */
8 8
9 #include "VisualLightweightBenchModule.h" 9 #include "VisualLightweightBenchModule.h"
10 10
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 this->postDraw(canvas); 247 this->postDraw(canvas);
248 this->nextState(kPreWarmLoopsPerCanvasPreDraw_State); 248 this->nextState(kPreWarmLoopsPerCanvasPreDraw_State);
249 } else { 249 } else {
250 this->nextState(kPreWarmTimingPerCanvasPreDraw_State); 250 this->nextState(kPreWarmTimingPerCanvasPreDraw_State);
251 } 251 }
252 this->resetTimingState(); 252 this->resetTimingState();
253 } else { 253 } else {
254 fCurrentFrame++; 254 fCurrentFrame++;
255 } 255 }
256 } 256 }
257
258 bool VisualLightweightBenchModule::onHandleChar(SkUnichar c) {
259 return true;
260 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698