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

Unified Diff: src/gpu/GrGpu.h

Issue 553583008: Add counting of some GL calls (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix some indents Created 6 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
Index: src/gpu/GrGpu.h
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h
index 48bb0d6400dd9a52c22ac14fc2302930a45b1027..102e2764c916f8674dd520151add183ff6118de9 100644
--- a/src/gpu/GrGpu.h
+++ b/src/gpu/GrGpu.h
@@ -340,6 +340,10 @@ public:
return kDrawPath_DrawType == type || kDrawPaths_DrawType == type;
}
+#if GR_GPU_STATS
+ virtual const GrContext::GPUStats& gpuStats() const = 0;
bsalomon 2014/09/17 18:50:16 Why does this have to be virtual?
+#endif
+
protected:
DrawType PrimTypeToDrawType(GrPrimitiveType type) {
switch (type) {
« no previous file with comments | « src/gpu/GrContext.cpp ('k') | src/gpu/gl/GrGpuGL.h » ('j') | src/gpu/gl/GrGpuGL.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698