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

Side by Side Diff: tools/vulkan/Window.cpp

Issue 1873733003: More cleanup in the Vulkan viewer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address comments 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 unified diff | Download patch
« no previous file with comments | « tools/vulkan/Window.h ('k') | tools/vulkan/viewer/GMSlide.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2016 Google Inc. 2 * Copyright 2016 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "Window.h" 8 #include "Window.h"
9 9
10 #include "SkSurface.h" 10 #include "SkSurface.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 canvas->flush(); 61 canvas->flush();
62 62
63 fTestContext->swapBuffers(); 63 fTestContext->swapBuffers();
64 } else { 64 } else {
65 // try recreating testcontext 65 // try recreating testcontext
66 } 66 }
67 67
68 } 68 }
69 69
70
71 void Window::onResize(uint32_t w, uint32_t h) { 70 void Window::onResize(uint32_t w, uint32_t h) {
71 fWidth = w;
72 fHeight = h;
72 fTestContext->resize(w, h); 73 fTestContext->resize(w, h);
73 } 74 }
OLDNEW
« no previous file with comments | « tools/vulkan/Window.h ('k') | tools/vulkan/viewer/GMSlide.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698