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

Side by Side Diff: src/gpu/vk/GrVkPipelineState.h

Issue 2468653002: Remove GrStencilSettings from GrPipeline (Closed)
Patch Set: Remove GrStencilSettings from GrPipeline Created 4 years, 1 month 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/vk/GrVkPipeline.cpp ('k') | src/gpu/vk/GrVkPipelineState.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 2016 Google Inc. 2 * Copyright 2016 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 8
9 #ifndef GrVkPipelineState_DEFINED 9 #ifndef GrVkPipelineState_DEFINED
10 #define GrVkPipelineState_DEFINED 10 #define GrVkPipelineState_DEFINED
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 * pipline. This includes stencil settings, blending information, render pas s format, draw face 67 * pipline. This includes stencil settings, blending information, render pas s format, draw face
68 * information, and primitive type. Note that some state is set dynamically on the pipeline for 68 * information, and primitive type. Note that some state is set dynamically on the pipeline for
69 * each draw and thus is not included in this descriptor. This includes the viewport, scissor, 69 * each draw and thus is not included in this descriptor. This includes the viewport, scissor,
70 * and blend constant. 70 * and blend constant.
71 */ 71 */
72 class Desc : public GrProgramDesc { 72 class Desc : public GrProgramDesc {
73 public: 73 public:
74 static bool Build(Desc*, 74 static bool Build(Desc*,
75 const GrPrimitiveProcessor&, 75 const GrPrimitiveProcessor&,
76 const GrPipeline&, 76 const GrPipeline&,
77 const GrStencilSettings&,
77 GrPrimitiveType primitiveType, 78 GrPrimitiveType primitiveType,
78 const GrGLSLCaps&); 79 const GrGLSLCaps&);
79 private: 80 private:
80 typedef GrProgramDesc INHERITED; 81 typedef GrProgramDesc INHERITED;
81 }; 82 };
82 83
83 const Desc& getDesc() { return fDesc; } 84 const Desc& getDesc() { return fDesc; }
84 85
85 private: 86 private:
86 typedef GrVkPipelineStateDataManager::UniformInfoArray UniformInfoArray; 87 typedef GrVkPipelineStateDataManager::UniformInfoArray UniformInfoArray;
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 Desc fDesc; 228 Desc fDesc;
228 229
229 GrVkPipelineStateDataManager fDataManager; 230 GrVkPipelineStateDataManager fDataManager;
230 231
231 int fNumSamplers; 232 int fNumSamplers;
232 233
233 friend class GrVkPipelineStateBuilder; 234 friend class GrVkPipelineStateBuilder;
234 }; 235 };
235 236
236 #endif 237 #endif
OLDNEW
« no previous file with comments | « src/gpu/vk/GrVkPipeline.cpp ('k') | src/gpu/vk/GrVkPipelineState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698