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

Unified Diff: src/gpu/GrRenderTargetPriv.h

Issue 1333383002: Move some of the adding stencil attachment logic of Gpu and into Render Target. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 3 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 59262f4b11229df0891dd3461476e16e24cb76fe..f514a3c00d65b821c02b3d629101db0e7d22a6b2 100644
--- a/src/gpu/GrRenderTargetPriv.h
+++ b/src/gpu/GrRenderTargetPriv.h
@@ -24,7 +24,7 @@ public:
* If this render target already has a stencil buffer, return it. Otherwise attempt to attach
* one.
*/
- GrStencilAttachment* attachStencilAttachment() const;
+ GrStencilAttachment* attachStencilAttachment();
void didAttachStencilAttachment(GrStencilAttachment*);

Powered by Google App Engine
This is Rietveld 408576698