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

Side by Side Diff: src/gpu/vk/GrVkResourceProvider.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/GrVkPipelineStateCache.cpp ('k') | src/gpu/vk/GrVkResourceProvider.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 #ifndef GrVkResourceProvider_DEFINED 8 #ifndef GrVkResourceProvider_DEFINED
9 #define GrVkResourceProvider_DEFINED 9 #define GrVkResourceProvider_DEFINED
10 10
(...skipping 26 matching lines...) Expand all
37 37
38 class GrVkResourceProvider { 38 class GrVkResourceProvider {
39 public: 39 public:
40 GrVkResourceProvider(GrVkGpu* gpu); 40 GrVkResourceProvider(GrVkGpu* gpu);
41 ~GrVkResourceProvider(); 41 ~GrVkResourceProvider();
42 42
43 // Set up any initial vk objects 43 // Set up any initial vk objects
44 void init(); 44 void init();
45 45
46 GrVkPipeline* createPipeline(const GrPipeline& pipeline, 46 GrVkPipeline* createPipeline(const GrPipeline& pipeline,
47 const GrStencilSettings& stencil,
47 const GrPrimitiveProcessor& primProc, 48 const GrPrimitiveProcessor& primProc,
48 VkPipelineShaderStageCreateInfo* shaderStageInf o, 49 VkPipelineShaderStageCreateInfo* shaderStageInf o,
49 int shaderStageCount, 50 int shaderStageCount,
50 GrPrimitiveType primitiveType, 51 GrPrimitiveType primitiveType,
51 const GrVkRenderPass& renderPass, 52 const GrVkRenderPass& renderPass,
52 VkPipelineLayout layout); 53 VkPipelineLayout layout);
53 54
54 GrVkCopyPipeline* findOrCreateCopyPipeline(const GrVkRenderTarget* dst, 55 GrVkCopyPipeline* findOrCreateCopyPipeline(const GrVkRenderTarget* dst,
55 VkPipelineShaderStageCreateInfo*, 56 VkPipelineShaderStageCreateInfo*,
56 VkPipelineLayout); 57 VkPipelineLayout);
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 250
250 // Cache of GrVkPipelineStates 251 // Cache of GrVkPipelineStates
251 PipelineStateCache* fPipelineStateCache; 252 PipelineStateCache* fPipelineStateCache;
252 253
253 SkSTArray<4, GrVkDescriptorSetManager, true> fDescriptorSetManagers; 254 SkSTArray<4, GrVkDescriptorSetManager, true> fDescriptorSetManagers;
254 255
255 GrVkDescriptorSetManager::Handle fUniformDSHandle; 256 GrVkDescriptorSetManager::Handle fUniformDSHandle;
256 }; 257 };
257 258
258 #endif 259 #endif
OLDNEW
« no previous file with comments | « src/gpu/vk/GrVkPipelineStateCache.cpp ('k') | src/gpu/vk/GrVkResourceProvider.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698