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

Side by Side Diff: include/views/SkOSWindow_Win.h

Issue 1815823002: Move SkGLContext and some GrGLInterface implementations to skgputest module (Closed) Base URL: https://chromium.googlesource.com/skia.git@debugobject
Patch Set: fix windows and android? 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 | « include/gpu/gl/command_buffer/SkCommandBufferGLContext.h ('k') | samplecode/SampleApp.cpp » ('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 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkOSWindow_Win_DEFINED 10 #ifndef SkOSWindow_Win_DEFINED
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 static SkTHashMap<void*, SkOSWindow*> gHwndToOSWindowMap; 91 static SkTHashMap<void*, SkOSWindow*> gHwndToOSWindowMap;
92 92
93 WindowInit fWinInit; 93 WindowInit fWinInit;
94 void* fHWND; 94 void* fHWND;
95 95
96 void doPaint(void* ctx); 96 void doPaint(void* ctx);
97 97
98 #if SK_SUPPORT_GPU 98 #if SK_SUPPORT_GPU
99 void* fHGLRC; 99 void* fHGLRC;
100 #if SK_ANGLE 100 #if SK_ANGLE
101 EGLDisplay fDisplay; 101 EGLDisplay fDisplay;
102 EGLContext fContext; 102 EGLContext fContext;
103 EGLSurface fSurface; 103 EGLSurface fSurface;
104 EGLConfig fConfig; 104 EGLConfig fConfig;
105 SkAutoTUnref<const GrGLInterface> fANGLEInterface;
105 #endif // SK_ANGLE 106 #endif // SK_ANGLE
106 #if SK_COMMAND_BUFFER 107 #if SK_COMMAND_BUFFER
107 SkCommandBufferGLContext* fCommandBuffer; 108 SkCommandBufferGLContext* fCommandBuffer;
108 #endif // SK_COMMAND_BUFFER 109 #endif // SK_COMMAND_BUFFER
109 #endif // SK_SUPPORT_GPU 110 #endif // SK_SUPPORT_GPU
110 111
111 bool fFullscreen; 112 bool fFullscreen;
112 struct SavedWindowState { 113 struct SavedWindowState {
113 bool fZoomed; 114 bool fZoomed;
114 LONG fStyle; 115 LONG fStyle;
(...skipping 25 matching lines...) Expand all
140 bool attachCommandBuffer(int msaaSampleCount, AttachmentInfo* info); 141 bool attachCommandBuffer(int msaaSampleCount, AttachmentInfo* info);
141 void detachCommandBuffer(); 142 void detachCommandBuffer();
142 void presentCommandBuffer(); 143 void presentCommandBuffer();
143 #endif // SK_COMMAND_BUFFER 144 #endif // SK_COMMAND_BUFFER
144 #endif // SK_SUPPORT_GPU 145 #endif // SK_SUPPORT_GPU
145 146
146 typedef SkWindow INHERITED; 147 typedef SkWindow INHERITED;
147 }; 148 };
148 149
149 #endif 150 #endif
OLDNEW
« no previous file with comments | « include/gpu/gl/command_buffer/SkCommandBufferGLContext.h ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698