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

Side by Side Diff: src/gpu/GrPipelineBuilder.h

Issue 2041283002: Replace targetHasUnifiedMultisampling in GrPB constructor (Closed) Base URL: https://skia.googlesource.com/skia.git@fixdash
Patch Set: rebase Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « src/gpu/GrDrawContext.cpp ('k') | src/gpu/GrPipelineBuilder.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrPipelineBuilder_DEFINED 8 #ifndef GrPipelineBuilder_DEFINED
9 #define GrPipelineBuilder_DEFINED 9 #define GrPipelineBuilder_DEFINED
10 10
(...skipping 18 matching lines...) Expand all
29 class GrPipelineBuilder : public SkNoncopyable { 29 class GrPipelineBuilder : public SkNoncopyable {
30 public: 30 public:
31 GrPipelineBuilder(); 31 GrPipelineBuilder();
32 32
33 /** 33 /**
34 * Initializes the GrPipelineBuilder based on a GrPaint and MSAA availabilit y. Note 34 * Initializes the GrPipelineBuilder based on a GrPaint and MSAA availabilit y. Note
35 * that GrPipelineBuilder encompasses more than GrPaint. Aspects of GrPipeli neBuilder that have 35 * that GrPipelineBuilder encompasses more than GrPaint. Aspects of GrPipeli neBuilder that have
36 * no GrPaint equivalents are set to default values with the exception of ve rtex attribute state 36 * no GrPaint equivalents are set to default values with the exception of ve rtex attribute state
37 * which is unmodified by this function and clipping which will be enabled. 37 * which is unmodified by this function and clipping which will be enabled.
38 */ 38 */
39 GrPipelineBuilder(const GrPaint&, bool targetHasUnifiedMultisampling); 39 GrPipelineBuilder(const GrPaint&, bool useHWAA = false);
40 40
41 virtual ~GrPipelineBuilder(); 41 virtual ~GrPipelineBuilder();
42 42
43 /////////////////////////////////////////////////////////////////////////// 43 ///////////////////////////////////////////////////////////////////////////
44 /// @name Fragment Processors 44 /// @name Fragment Processors
45 /// 45 ///
46 /// GrFragmentProcessors are used to compute per-pixel color and per-pixel f ractional coverage. 46 /// GrFragmentProcessors are used to compute per-pixel color and per-pixel f ractional coverage.
47 /// There are two chains of FPs, one for color and one for coverage. The fir st FP in each 47 /// There are two chains of FPs, one for color and one for coverage. The fir st FP in each
48 /// chain gets the initial color/coverage from the GrPrimitiveProcessor. It computes an output 48 /// chain gets the initial color/coverage from the GrPrimitiveProcessor. It computes an output
49 /// color/coverage which is fed to the next FP in the chain. The last color and coverage FPs 49 /// color/coverage which is fed to the next FP in the chain. The last color and coverage FPs
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 DrawFace fDrawFace; 311 DrawFace fDrawFace;
312 mutable SkAutoTUnref<const GrXPFactory> fXPFactory; 312 mutable SkAutoTUnref<const GrXPFactory> fXPFactory;
313 FragmentProcessorArray fColorFragmentProcessors; 313 FragmentProcessorArray fColorFragmentProcessors;
314 FragmentProcessorArray fCoverageFragmentProcessors; 314 FragmentProcessorArray fCoverageFragmentProcessors;
315 315
316 friend class GrPipeline; 316 friend class GrPipeline;
317 friend class GrDrawTarget; 317 friend class GrDrawTarget;
318 }; 318 };
319 319
320 #endif 320 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrDrawContext.cpp ('k') | src/gpu/GrPipelineBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698