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

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

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « src/gpu/vk/GrVkMemory.cpp ('k') | src/gpu/vk/GrVkPipeline.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 GrVkPipeline_DEFINED 8 #ifndef GrVkPipeline_DEFINED
9 #define GrVkPipeline_DEFINED 9 #define GrVkPipeline_DEFINED
10 10
11 #include "GrTypes.h" 11 #include "GrTypes.h"
12 12
13 #include "GrVkResource.h" 13 #include "GrVkResource.h"
14 14
15 #include "vk/GrVkDefines.h" 15 #include "vk/GrVkDefines.h"
16 16
17 class GrNonInstancedVertices; 17 class GrNonInstancedVertices;
18 class GrPipeline; 18 class GrPipeline;
19 class GrPrimitiveProcessor; 19 class GrPrimitiveProcessor;
20 class GrVkCommandBuffer; 20 class GrVkCommandBuffer;
21 class GrVkGpu; 21 class GrVkGpu;
22 class GrVkRenderPass; 22 class GrVkRenderPass;
23 23
24 class GrVkPipeline : public GrVkResource { 24 class GrVkPipeline : public GrVkResource {
25 public: 25 public:
26 static GrVkPipeline* Create(GrVkGpu* gpu, 26 static GrVkPipeline* Create(GrVkGpu* gpu,
27 const GrPipeline& pipeline, 27 const GrPipeline& pipeline,
28 const GrPrimitiveProcessor& primProc, 28 const GrPrimitiveProcessor& primProc,
29 VkPipelineShaderStageCreateInfo* shaderStageInfo , 29 VkPipelineShaderStageCreateInfo* shaderStageInfo ,
30 int shaderStageCount, 30 int shaderStageCount,
31 GrPrimitiveType primitiveType, 31 GrPrimitiveType primitiveType,
32 const GrVkRenderPass& renderPass, 32 const GrVkRenderPass& renderPass,
33 VkPipelineLayout layout, 33 VkPipelineLayout layout,
34 VkPipelineCache cache); 34 VkPipelineCache cache);
35 35
36 VkPipeline pipeline() const { return fPipeline; } 36 VkPipeline pipeline() const { return fPipeline; }
37 37
38 static void SetDynamicState(GrVkGpu*, GrVkCommandBuffer*, const GrPipeline&) ; 38 static void SetDynamicState(GrVkGpu*, GrVkCommandBuffer*, const GrPipeline&) ;
39 39
40 40
41 private: 41 private:
42 GrVkPipeline(VkPipeline pipeline) : INHERITED(), fPipeline(pipeline) {} 42 GrVkPipeline(VkPipeline pipeline) : INHERITED(), fPipeline(pipeline) {}
43 43
44 GrVkPipeline(const GrVkPipeline&); 44 GrVkPipeline(const GrVkPipeline&);
45 GrVkPipeline& operator=(const GrVkPipeline&); 45 GrVkPipeline& operator=(const GrVkPipeline&);
46 46
47 void freeGPUData(const GrVkGpu* gpu) const override; 47 void freeGPUData(const GrVkGpu* gpu) const override;
48 48
49 VkPipeline fPipeline; 49 VkPipeline fPipeline;
50 50
51 typedef GrVkResource INHERITED; 51 typedef GrVkResource INHERITED;
52 }; 52 };
53 53
54 #endif 54 #endif
OLDNEW
« no previous file with comments | « src/gpu/vk/GrVkMemory.cpp ('k') | src/gpu/vk/GrVkPipeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698