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

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

Issue 2274663005: Add GrVkCopyPipeline to handle vulkan copies as draws (Closed) Base URL: https://skia.googlesource.com/skia.git@compatibleCopyDS
Patch Set: indent nits Created 4 years, 2 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/GrVkCaps.cpp ('k') | src/gpu/vk/GrVkCommandBuffer.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 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
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
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
OLDNEW
« no previous file with comments | « src/gpu/vk/GrVkCaps.cpp ('k') | src/gpu/vk/GrVkCommandBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698