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

Unified Diff: tools/vulkan/VulkanTestContext.h

Issue 1865553005: Clean up input handling in VulkanViewer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rename resize params 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 | « no previous file | tools/vulkan/VulkanTestContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/vulkan/VulkanTestContext.h
diff --git a/tools/vulkan/VulkanTestContext.h b/tools/vulkan/VulkanTestContext.h
index c1535b99523f82c8d815053f7830adecb94a4501..b300a578a2a7d43a26c12c82a0788f554d3100af 100644
--- a/tools/vulkan/VulkanTestContext.h
+++ b/tools/vulkan/VulkanTestContext.h
@@ -42,8 +42,8 @@ public:
bool isValid() { return SkToBool(fBackendContext.get()); }
- void resize() {
- this->createSwapchain(0, 0);
+ void resize(uint32_t w, uint32_t h) {
+ this->createSwapchain(w, h);
}
GrBackendContext getBackendContext() { return (GrBackendContext)fBackendContext.get(); }
« no previous file with comments | « no previous file | tools/vulkan/VulkanTestContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698