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

Unified Diff: include/gpu/GrContext.h

Issue 12875005: Add support for IMG's MSAA extension. (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
« no previous file with comments | « no previous file | include/gpu/gl/GrGLFunctions.h » ('j') | src/gpu/gl/GrGpuGL.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrContext.h
===================================================================
--- include/gpu/GrContext.h (revision 8223)
+++ include/gpu/GrContext.h (working copy)
@@ -113,7 +113,7 @@
size_t getGpuTextureCacheBytes() const;
///////////////////////////////////////////////////////////////////////////
- // Textures
+ // Textures and Render Targets
/**
* Creates a new entry, based on the specified key and texture and returns it. The caller owns a
@@ -251,6 +251,12 @@
*/
int getMaxTextureSize() const;
+ /**
+ * Returns the max sample count for a render target. It will be 0 if MSAA
+ * is not supported.
+ */
+ int getMaxSampleCount() const;
+
///////////////////////////////////////////////////////////////////////////
// Render targets
« no previous file with comments | « no previous file | include/gpu/gl/GrGLFunctions.h » ('j') | src/gpu/gl/GrGpuGL.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698