Add MSAA configs to bench.
Review URL: https://codereview.chromium.org/12607013

git-svn-id: http://skia.googlecode.com/svn/trunk@8217 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index ac61ea8..c5572ac 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -251,12 +251,6 @@
      */
     int getMaxTextureSize() const;
 
-    /**
-     * Return the max width or height of a render target supported by the
-     * current GPU.
-     */
-    int getMaxRenderTargetSize() const;
-
     ///////////////////////////////////////////////////////////////////////////
     // Render targets
 
@@ -280,6 +274,18 @@
      */
     bool isConfigRenderable(GrPixelConfig config) const;
 
+    /**
+     * Return the max width or height of a render target supported by the
+     * current GPU.
+     */
+    int getMaxRenderTargetSize() const;
+
+    /**
+     * Returns the max sample count for a render target. It will be 0 if MSAA
+     * is not supported.
+     */
+    int getMaxSampleCount() const;
+
     ///////////////////////////////////////////////////////////////////////////
     // Backend Surfaces