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

Unified Diff: tools/viewer/sk_app/win/Window_win.h

Issue 1978573003: Add OpenGL context to Viewer. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase to ToT Created 4 years, 7 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/viewer/sk_app/win/VulkanWindowContext_win.cpp ('k') | tools/viewer/sk_app/win/Window_win.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/viewer/sk_app/win/Window_win.h
diff --git a/tools/viewer/sk_app/win/Window_win.h b/tools/viewer/sk_app/win/Window_win.h
index 3501b06ae462d9974d145f1f69f07520e0a3499f..4dd829a9149316204ba64c31006fbe34c3ef5afd 100644
--- a/tools/viewer/sk_app/win/Window_win.h
+++ b/tools/viewer/sk_app/win/Window_win.h
@@ -13,6 +13,12 @@
namespace sk_app {
+// for Windows
+struct ContextPlatformData_win {
+ HINSTANCE fHInstance;
+ HWND fHWnd;
+};
+
class Window_win : public Window {
public:
Window_win() : Window() {}
@@ -23,7 +29,7 @@ public:
void setTitle(const char*) override;
void show() override;
- bool attach(BackEndType attachType, const DisplayParams& params) override;
+ bool attach(BackendType attachType, const DisplayParams& params) override;
void inval() override;
« no previous file with comments | « tools/viewer/sk_app/win/VulkanWindowContext_win.cpp ('k') | tools/viewer/sk_app/win/Window_win.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698