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

Unified Diff: tools/VisualBench/VisualFlags.cpp

Issue 1473253002: Add offscreen mode to visualbench (Closed) Base URL: https://skia.googlesource.com/skia.git@visualbench_blit2
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
Index: tools/VisualBench/VisualFlags.cpp
diff --git a/tools/VisualBench/VisualFlags.cpp b/tools/VisualBench/VisualFlags.cpp
index 5876bde69f885bd4660f1f088a6712b181cdcfc2..84304c1854c679567fe0f60f879f75b75e7704fb 100644
--- a/tools/VisualBench/VisualFlags.cpp
+++ b/tools/VisualBench/VisualFlags.cpp
@@ -8,4 +8,6 @@
#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.");
+DEFINE_bool(offscreen, false, "Perform rendering in an offscreen buffer.");
+DEFINE_bool(nvpr, false, "Use nvpr?");
+DEFINE_bool(cpu, false, "Run in CPU mode?");

Powered by Google App Engine
This is Rietveld 408576698