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

Unified Diff: include/gpu/GrContext.h

Issue 12607013: Add MSAA configs to bench. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 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: include/gpu/GrContext.h
===================================================================
--- include/gpu/GrContext.h (revision 8174)
+++ include/gpu/GrContext.h (working copy)
@@ -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
« no previous file with comments | « bench/benchmain.cpp ('k') | src/gpu/GrContext.cpp » ('j') | src/gpu/GrDrawTarget.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698