OLD | NEW |
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 GrVkCommandBuffer_DEFINED | 8 #ifndef GrVkCommandBuffer_DEFINED |
9 #define GrVkCommandBuffer_DEFINED | 9 #define GrVkCommandBuffer_DEFINED |
10 | 10 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 71 |
72 void bindDescriptorSets(const GrVkGpu* gpu, | 72 void bindDescriptorSets(const GrVkGpu* gpu, |
73 GrVkPipelineState*, | 73 GrVkPipelineState*, |
74 VkPipelineLayout layout, | 74 VkPipelineLayout layout, |
75 uint32_t firstSet, | 75 uint32_t firstSet, |
76 uint32_t setCount, | 76 uint32_t setCount, |
77 const VkDescriptorSet* descriptorSets, | 77 const VkDescriptorSet* descriptorSets, |
78 uint32_t dynamicOffsetCount, | 78 uint32_t dynamicOffsetCount, |
79 const uint32_t* dynamicOffsets); | 79 const uint32_t* dynamicOffsets); |
80 | 80 |
| 81 void bindDescriptorSets(const GrVkGpu* gpu, |
| 82 const SkTArray<const GrVkRecycledResource*>&, |
| 83 const SkTArray<const GrVkResource*>&, |
| 84 VkPipelineLayout layout, |
| 85 uint32_t firstSet, |
| 86 uint32_t setCount, |
| 87 const VkDescriptorSet* descriptorSets, |
| 88 uint32_t dynamicOffsetCount, |
| 89 const uint32_t* dynamicOffsets); |
| 90 |
81 void setViewport(const GrVkGpu* gpu, | 91 void setViewport(const GrVkGpu* gpu, |
82 uint32_t firstViewport, | 92 uint32_t firstViewport, |
83 uint32_t viewportCount, | 93 uint32_t viewportCount, |
84 const VkViewport* viewports); | 94 const VkViewport* viewports); |
85 | 95 |
86 void setScissor(const GrVkGpu* gpu, | 96 void setScissor(const GrVkGpu* gpu, |
87 uint32_t firstScissor, | 97 uint32_t firstScissor, |
88 uint32_t scissorCount, | 98 uint32_t scissorCount, |
89 const VkRect2D* scissors); | 99 const VkRect2D* scissors); |
90 | 100 |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 } | 339 } |
330 | 340 |
331 void onFreeGPUData(const GrVkGpu* gpu) const override {} | 341 void onFreeGPUData(const GrVkGpu* gpu) const override {} |
332 | 342 |
333 friend class GrVkPrimaryCommandBuffer; | 343 friend class GrVkPrimaryCommandBuffer; |
334 | 344 |
335 typedef GrVkCommandBuffer INHERITED; | 345 typedef GrVkCommandBuffer INHERITED; |
336 }; | 346 }; |
337 | 347 |
338 #endif | 348 #endif |
OLD | NEW |