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

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

Issue 1809733002: detach -> release (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: (C) Created 4 years, 9 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/views/SkOSWindow_Unix.h ('k') | include/views/SkOSWindow_iOS.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 /* 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 30 matching lines...) Expand all
41 #if SK_ANGLE 41 #if SK_ANGLE
42 kANGLE_BackEndType, 42 kANGLE_BackEndType,
43 #endif // SK_ANGLE 43 #endif // SK_ANGLE
44 #if SK_COMMAND_BUFFER 44 #if SK_COMMAND_BUFFER
45 kCommandBuffer_BackEndType, 45 kCommandBuffer_BackEndType,
46 #endif // SK_COMMAND_BUFFER 46 #endif // SK_COMMAND_BUFFER
47 #endif // SK_SUPPORT_GPU 47 #endif // SK_SUPPORT_GPU
48 }; 48 };
49 49
50 bool attach(SkBackEndTypes attachType, int msaaSampleCount, AttachmentInfo*) ; 50 bool attach(SkBackEndTypes attachType, int msaaSampleCount, AttachmentInfo*) ;
51 void detach(); 51 void release();
52 void present(); 52 void present();
53 53
54 bool wndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); 54 bool wndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
55 static bool QuitOnDeactivate(HWND hWnd); 55 static bool QuitOnDeactivate(HWND hWnd);
56 56
57 enum { 57 enum {
58 SK_WM_SkEvent = WM_APP + 1000, 58 SK_WM_SkEvent = WM_APP + 1000,
59 SK_WM_SkTimerID = 0xFFFF // just need a non-zero value 59 SK_WM_SkTimerID = 0xFFFF // just need a non-zero value
60 }; 60 };
61 61
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 bool attachCommandBuffer(int msaaSampleCount, AttachmentInfo* info); 140 bool attachCommandBuffer(int msaaSampleCount, AttachmentInfo* info);
141 void detachCommandBuffer(); 141 void detachCommandBuffer();
142 void presentCommandBuffer(); 142 void presentCommandBuffer();
143 #endif // SK_COMMAND_BUFFER 143 #endif // SK_COMMAND_BUFFER
144 #endif // SK_SUPPORT_GPU 144 #endif // SK_SUPPORT_GPU
145 145
146 typedef SkWindow INHERITED; 146 typedef SkWindow INHERITED;
147 }; 147 };
148 148
149 #endif 149 #endif
OLDNEW
« no previous file with comments | « include/views/SkOSWindow_Unix.h ('k') | include/views/SkOSWindow_iOS.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698