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

Unified Diff: src/gpu/GrRenderTargetPriv.h

Issue 1717393002: Add "sample locations" feature to GrProcessor (Closed) Base URL: https://skia.googlesource.com/skia.git@upload_getmultisamp
Patch Set: comments Created 4 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: src/gpu/GrRenderTargetPriv.h
diff --git a/src/gpu/GrRenderTargetPriv.h b/src/gpu/GrRenderTargetPriv.h
index f4931db1db7475feab36d24f163aeec8b4bc0f7e..46e7b2871a68cad2b74c2e303091b34f08f90084 100644
--- a/src/gpu/GrRenderTargetPriv.h
+++ b/src/gpu/GrRenderTargetPriv.h
@@ -8,8 +8,11 @@
#ifndef GrRenderTargetPriv_DEFINED
#define GrRenderTargetPriv_DEFINED
+#include "GrCaps.h"
#include "GrRenderTarget.h"
+class GrStencilSettings;
+
/** Class that adds methods to GrRenderTarget that are only intended for use internal to Skia.
This class is purely a privileged window into GrRenderTarget. It should never have additional
data members or virtual methods. */
@@ -27,6 +30,8 @@ public:
*/
bool attachStencilAttachment(GrStencilAttachment* stencil);
+ const GrCaps::MultisampleSpecs& getMultisampleSpecs(const GrStencilSettings& stencil) const;
+
private:
explicit GrRenderTargetPriv(GrRenderTarget* renderTarget) : fRenderTarget(renderTarget) {}
GrRenderTargetPriv(const GrRenderTargetPriv&) {} // unimpl
« include/gpu/GrCaps.h ('K') | « src/gpu/GrRenderTarget.cpp ('k') | src/gpu/GrTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698