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

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

Issue 1962243002: Separate user and raw stencil settings (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 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
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 GrPipeline_DEFINED 8 #ifndef GrPipeline_DEFINED
9 #define GrPipeline_DEFINED 9 #define GrPipeline_DEFINED
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 class GrPipeline : public GrNonAtomicRef<GrPipeline> { 44 class GrPipeline : public GrNonAtomicRef<GrPipeline> {
45 public: 45 public:
46 /////////////////////////////////////////////////////////////////////////// 46 ///////////////////////////////////////////////////////////////////////////
47 /// @name Creation 47 /// @name Creation
48 48
49 struct CreateArgs { 49 struct CreateArgs {
50 const GrPipelineBuilder* fPipelineBuilder; 50 const GrPipelineBuilder* fPipelineBuilder;
51 const GrCaps* fCaps; 51 const GrCaps* fCaps;
52 GrPipelineOptimizations fOpts; 52 GrPipelineOptimizations fOpts;
53 const GrScissorState* fScissor; 53 const GrScissorState* fScissor;
54 int fNumStencilBits;
55 bool fHasStencilClip;
54 GrXferProcessor::DstTexture fDstTexture; 56 GrXferProcessor::DstTexture fDstTexture;
55 }; 57 };
56 58
57 /** Creates a pipeline into a pre-allocated buffer */ 59 /** Creates a pipeline into a pre-allocated buffer */
58 static GrPipeline* CreateAt(void* memory, const CreateArgs&, GrXPOverridesFo rBatch*); 60 static GrPipeline* CreateAt(void* memory, const CreateArgs&, GrXPOverridesFo rBatch*);
59 61
60 /// @} 62 /// @}
61 63
62 /////////////////////////////////////////////////////////////////////////// 64 ///////////////////////////////////////////////////////////////////////////
63 /// @name Comparisons 65 /// @name Comparisons
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 FragmentProcessorArray fFragmentProcessors; 211 FragmentProcessorArray fFragmentProcessors;
210 bool fIgnoresCoverage; 212 bool fIgnoresCoverage;
211 213
212 // This value is also the index in fFragmentProcessors where coverage proces sors begin. 214 // This value is also the index in fFragmentProcessors where coverage proces sors begin.
213 int fNumColorProcessors; 215 int fNumColorProcessors;
214 216
215 typedef SkRefCnt INHERITED; 217 typedef SkRefCnt INHERITED;
216 }; 218 };
217 219
218 #endif 220 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698