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

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

Issue 1916563002: Add automatic generation of mipmaps to Vulkan (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address comments 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/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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 void copyImage(const GrVkGpu* gpu, 121 void copyImage(const GrVkGpu* gpu,
122 GrVkImage* srcImage, 122 GrVkImage* srcImage,
123 VkImageLayout srcLayout, 123 VkImageLayout srcLayout,
124 GrVkImage* dstImage, 124 GrVkImage* dstImage,
125 VkImageLayout dstLayout, 125 VkImageLayout dstLayout,
126 uint32_t copyRegionCount, 126 uint32_t copyRegionCount,
127 const VkImageCopy* copyRegions); 127 const VkImageCopy* copyRegions);
128 128
129 void blitImage(const GrVkGpu* gpu, 129 void blitImage(const GrVkGpu* gpu,
130 GrVkImage* srcImage, 130 const GrVkImage::Resource* srcImage,
131 VkImageLayout srcLayout, 131 VkImageLayout srcLayout,
132 GrVkImage* dstImage, 132 const GrVkImage::Resource* dstImage,
133 VkImageLayout dstLayout, 133 VkImageLayout dstLayout,
134 uint32_t blitRegionCount, 134 uint32_t blitRegionCount,
135 const VkImageBlit* blitRegions, 135 const VkImageBlit* blitRegions,
136 VkFilter filter); 136 VkFilter filter);
137 137
138 void copyImageToBuffer(const GrVkGpu* gpu, 138 void copyImageToBuffer(const GrVkGpu* gpu,
139 GrVkImage* srcImage, 139 GrVkImage* srcImage,
140 VkImageLayout srcLayout, 140 VkImageLayout srcLayout,
141 GrVkTransferBuffer* dstBuffer, 141 GrVkTransferBuffer* dstBuffer,
142 uint32_t copyRegionCount, 142 uint32_t copyRegionCount,
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 const GrVkRenderPass* fActiveRenderPass; 214 const GrVkRenderPass* fActiveRenderPass;
215 215
216 // Cached values used for dynamic state updates 216 // Cached values used for dynamic state updates
217 VkViewport fCachedViewport; 217 VkViewport fCachedViewport;
218 VkRect2D fCachedScissor; 218 VkRect2D fCachedScissor;
219 float fCachedBlendConstant[4]; 219 float fCachedBlendConstant[4];
220 }; 220 };
221 221
222 222
223 #endif 223 #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