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

Unified Diff: src/gpu/vk/GrVkImage.h

Issue 1950713006: Clean up GrVkImage::setLayout() (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix one set of flags Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/vk/GrVkGpu.cpp ('k') | src/gpu/vk/GrVkImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/vk/GrVkImage.h
diff --git a/src/gpu/vk/GrVkImage.h b/src/gpu/vk/GrVkImage.h
index 006c0f1983964d5aa957116500575215cbf4c4ec..e73d314e5e82a8ab2d2a6ee49d8bd2680c20af6a 100644
--- a/src/gpu/vk/GrVkImage.h
+++ b/src/gpu/vk/GrVkImage.h
@@ -88,23 +88,8 @@ public:
void setImageLayout(const GrVkGpu* gpu,
VkImageLayout newLayout,
- VkAccessFlags srcAccessMask,
VkAccessFlags dstAccessMask,
- VkPipelineStageFlags srcStageMask,
VkPipelineStageFlags dstStageMask,
- bool byRegion) {
- this->setImageLayout(gpu, newLayout, srcAccessMask, dstAccessMask,
- srcStageMask, dstStageMask, 0, fResource->fLevelCount, byRegion);
- }
-
- void setImageLayout(const GrVkGpu* gpu,
- VkImageLayout newLayout,
- VkAccessFlags srcAccessMask,
- VkAccessFlags dstAccessMask,
- VkPipelineStageFlags srcStageMask,
- VkPipelineStageFlags dstStageMask,
- uint32_t baseMipLevel,
- uint32_t levelCount,
bool byRegion);
struct ImageDesc {
« no previous file with comments | « src/gpu/vk/GrVkGpu.cpp ('k') | src/gpu/vk/GrVkImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698