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

Unified Diff: src/gpu/GrPipelineBuilder.h

Issue 1893133002: Add requireHWAA param to GrPipelineBuilder constructor (Closed) Base URL: https://skia.googlesource.com/skia.git@upload_create_data
Patch Set: rebase Created 4 years, 8 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 | src/gpu/GrPipelineBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrPipelineBuilder.h
diff --git a/src/gpu/GrPipelineBuilder.h b/src/gpu/GrPipelineBuilder.h
index 08ac5db8b7989bab8de8470e16319af2b8ac7e8f..e1c397f8465b88269c78d50dbe33a5cea4d85f43 100644
--- a/src/gpu/GrPipelineBuilder.h
+++ b/src/gpu/GrPipelineBuilder.h
@@ -35,9 +35,11 @@ public:
* Initializes the GrPipelineBuilder based on a GrPaint, render target, and clip. Note
* that GrPipelineBuilder encompasses more than GrPaint. Aspects of GrPipelineBuilder that have
* no GrPaint equivalents are set to default values with the exception of vertex attribute state
- * which is unmodified by this function and clipping which will be enabled.
+ * which is unmodified by this function and clipping which will be enabled. HW antialias will
+ * only be enabled if the paint is antialiased and the render target is unified multisampled, or
+ * if requireHWAA is true.
*/
- GrPipelineBuilder(const GrPaint&, GrRenderTarget*, const GrClip&);
bsalomon 2016/04/19 14:57:40 I'm thinking that the GrPB should completely ignor
+ GrPipelineBuilder(const GrPaint&, GrRenderTarget*, const GrClip&, bool requireHWAA = false);
virtual ~GrPipelineBuilder();
« no previous file with comments | « no previous file | src/gpu/GrPipelineBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698