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

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

Issue 2104353002: Add discard support to Vulkan (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: comment Created 4 years, 6 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/GrVkGpuCommandBuffer.cpp ('k') | tests/GpuLayerCacheTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/vk/GrVkRenderTarget.h
diff --git a/src/gpu/vk/GrVkRenderTarget.h b/src/gpu/vk/GrVkRenderTarget.h
index 01ebf269df422ccd1b745b4e2a9275297c4b50b5..9628e3bdce8878a82ba5d599232bbae4ed5eb9ea 100644
--- a/src/gpu/vk/GrVkRenderTarget.h
+++ b/src/gpu/vk/GrVkRenderTarget.h
@@ -48,6 +48,7 @@ public:
}
return nullptr;
}
+ GrVkImage* msaaImage() { return fMSAAImage; }
const GrVkImageView* resolveAttachmentView() const { return fResolveAttachmentView; }
const GrVkResource* stencilImageResource() const;
const GrVkImageView* stencilAttachmentView() const;
« no previous file with comments | « src/gpu/vk/GrVkGpuCommandBuffer.cpp ('k') | tests/GpuLayerCacheTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698