skia2/tools/VisualBench/VisualFlags.cpp
cdalton 60795d99ff Add visualbench option for nvpr stencil samples
Repurposes the --nvpr flag as an int that says how many stencil samples
to use, or disables nvpr with a value of zero.

BUG=skia:

Review URL: https://codereview.chromium.org/1444543002
2015-11-13 09:10:31 -08:00

12 lines
306 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_int32(nvpr, 0, "Number of stencil samples for nvpr, or zero to disable it.");