OLD | NEW |
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 "vulkan/vulkan.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: |
(...skipping 19 matching lines...) Expand all Loading... |
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 |
OLD | NEW |