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

Unified Diff: src/gpu/draws/GrDraw.cpp

Issue 1355353002: Create GrDraw and start fast pathing src over rects (Closed) Base URL: https://skia.googlesource.com/skia.git@strokerect2
Patch Set: tweaks 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/draws/GrDraw.h ('k') | src/gpu/draws/GrDrawRect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/draws/GrDraw.cpp
diff --git a/tools/VisualBench/VisualFlags.cpp b/src/gpu/draws/GrDraw.cpp
similarity index 54%
copy from tools/VisualBench/VisualFlags.cpp
copy to src/gpu/draws/GrDraw.cpp
index 80435ca3996629970843cb980dd84133e33b36d9..e6208028f12989d8f2de0814ac0804a88ff9b135 100644
--- a/tools/VisualBench/VisualFlags.cpp
+++ b/src/gpu/draws/GrDraw.cpp
@@ -5,6 +5,7 @@
* found in the LICENSE file.
*/
-#include "VisualFlags.h"
+#include "GrDraw.h"
-DEFINE_int32(msaa, 0, "Number of msaa samples.");
+// Initial static variable from GrDraw
+int32_t GrDraw::gCurrDrawClassID = GrDraw::kIllegalDrawClassID;
« no previous file with comments | « src/gpu/draws/GrDraw.h ('k') | src/gpu/draws/GrDrawRect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698