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

Unified Diff: include/gpu/GrRenderTarget.h

Issue 1232103002: Enable stencil clipping in mixed sampled render targets (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove the use of hardcoded sample locations 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: include/gpu/GrRenderTarget.h
diff --git a/include/gpu/GrRenderTarget.h b/include/gpu/GrRenderTarget.h
index 2309dbd876f6cf4e9d58b715730088045e83fb65..5557e936e2f457483eabf1957b5cf745cc8e1d4c 100644
--- a/include/gpu/GrRenderTarget.h
+++ b/include/gpu/GrRenderTarget.h
@@ -175,6 +175,9 @@ private:
GrStencilAttachment* fStencilAttachment;
SampleConfig fSampleConfig;
+ // True if sample locations colocated at pixel center are currently in use, false if default
+ // sample locations are currently in use.
bsalomon 2015/09/29 17:41:57 I'm wondering whether this should be in the GL sub
vbuzinov 2015/09/30 06:08:29 I agree, I think this property belongs to the GL s
+ bool fUsesColocatedSampleLocations;
SkIRect fResolveRect;
« no previous file with comments | « include/gpu/GrCaps.h ('k') | include/gpu/gl/GrGLFunctions.h » ('j') | src/gpu/gl/GrGLGpu.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698