skia2/tools/VisualBench/VisualFlags.cpp
cdalton baf8fcbb1b Add offscreen mode to visualbench
Replaces "nvpr mode" with "offscreen mode" and a flag to enable/
disable nvpr. Assigns new config names to the various combinations of
flags and begins printing them with the bench results in order to match
nanobench.

BUG=skia:

Review URL: https://codereview.chromium.org/1473253002
2015-11-24 09:20:24 -08:00

14 lines
381 B
C++

/*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "VisualFlags.h"
DEFINE_int32(msaa, 0, "Number of msaa samples.");
DEFINE_bool(offscreen, false, "Perform rendering in an offscreen buffer.");
DEFINE_bool(nvpr, false, "Use nvpr?");
DEFINE_bool(cpu, false, "Run in CPU mode?");