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

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: 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..83038dbf11a49fffee80ebbcb7a4e27ac9a3ea75 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(int x, int y) {
bsalomon 2016/04/06 18:06:48 w, h?
+ this->createSwapchain(x, y);
}
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