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

Unified Diff: tools/vulkan/Window.h

Issue 1920163004: Remove AttachmentInfo from VulkanViewer setup (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Restore check 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/vulkan/VulkanTestContext.cpp ('k') | tools/vulkan/viewer/VulkanViewer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/vulkan/Window.h
diff --git a/tools/vulkan/Window.h b/tools/vulkan/Window.h
index 387f052d310f4d763cf9c60616753b9b1e90bf0c..714d8df5008e882e15ef3198d36ae501df7ac5db 100644
--- a/tools/vulkan/Window.h
+++ b/tools/vulkan/Window.h
@@ -28,17 +28,12 @@ public:
virtual bool supportsContentRect() const { return false; }
virtual SkRect getContentRect() { return SkRect::MakeEmpty(); }
- struct AttachmentInfo {
- int fSampleCount;
- int fStencilBits;
- };
-
enum BackEndType {
kNativeGL_BackendType,
kVulkan_BackendType
};
- virtual bool attach(BackEndType attachType, int msaaSampleCount, AttachmentInfo*) = 0;
+ virtual bool attach(BackEndType attachType, int msaaSampleCount) = 0;
void detach();
// input handling
« no previous file with comments | « tools/vulkan/VulkanTestContext.cpp ('k') | tools/vulkan/viewer/VulkanViewer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698