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

Unified Diff: dm/DMGpuSupport.h

Issue 704563003: Turn on NVPR 4x MSAA by default when supported in DM and nanobench. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix dm Created 6 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
« no previous file with comments | « dm/DMGpuGMTask.cpp ('k') | include/gpu/gl/GrGLFunctions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMGpuSupport.h
diff --git a/dm/DMGpuSupport.h b/dm/DMGpuSupport.h
index af6270dfc3525be9605de25189f81c01694ae864..90b0ea55cff70c0615f4746626e325a723e2f8d3 100644
--- a/dm/DMGpuSupport.h
+++ b/dm/DMGpuSupport.h
@@ -36,6 +36,7 @@ enum GrGLStandard {
kGL_GrGLStandard,
kGLES_GrGLStandard
};
+static const int kGrGLStandardCnt = 3;
class GrContextFactory {
public:
@@ -47,6 +48,7 @@ public:
kNVPR_GLContextType = 0,
kNative_GLContextType = 0,
kNull_GLContextType = 0;
+ static const int kGLContextTypeCnt = 1;
void destroyContexts() {}
void abandonContexts() {}
« no previous file with comments | « dm/DMGpuGMTask.cpp ('k') | include/gpu/gl/GrGLFunctions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698