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

Side by Side Diff: tools/viewer/sk_app/win/GLWindowContext_win.h

Issue 1990893002: Revert of Add OpenGL context to Viewer. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
(Empty)
1
2 /*
3 * Copyright 2016 Google Inc.
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 */
8 #ifndef GLWindowContext_win_DEFINED
9 #define GLWindowContext_win_DEFINED
10
11 #include <windows.h>
12 #include "../GLWindowContext.h"
13
14 namespace sk_app {
15
16 class GLWindowContext_win : public GLWindowContext {
17 public:
18 friend GLWindowContext* GLWindowContext::Create(void* platformData, const Di splayParams&);
19
20 ~GLWindowContext_win() override;
21
22 void onSwapBuffers() override;
23
24 void onInitializeContext(void*, const DisplayParams&) override;
25 void onDestroyContext() override;
26
27 private:
28 GLWindowContext_win(void*, const DisplayParams&);
29
30 HWND fHWND;
31 HGLRC fHGLRC;
32 };
33
34
35 }
36
37 #endif
OLDNEW
« no previous file with comments | « tools/viewer/sk_app/android/Window_android.cpp ('k') | tools/viewer/sk_app/win/GLWindowContext_win.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698