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

Side by Side Diff: tools/vulkan/VulkanViewer.h

Issue 1848833005: First pass at VulkanViewer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add VulkanTestContext_win 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
OLDNEW
(Empty)
1 /*
2 * Copyright 2016 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #ifndef VulkanViewer_DEFINED
9 #define VulkanViewer_DEFINED
10
11 #include "Application.h"
12 #include "Window.h"
13
14 class SkCanvas;
15
16 class VulkanViewer : public Application {
17 public:
18 VulkanViewer(int argc, char** argv, void* platformData);
19 ~VulkanViewer() override;
20
21 bool onKey(int key, bool keyDown);
22 bool onMouse(int x, int y, bool mouseDown);
23 void onPaint(SkCanvas* canvas);
24
25 void onIdle(float dt) override;
26
27 private:
28 Window* fWindow;
29 };
30
31
32 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698