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

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

Issue 1684413003: Implement support for using GL ES 3.0 with command buffer (Closed) Base URL: https://skia.googlesource.com/skia.git@no-texture-rectangle-gles
Patch Set: comment wording Created 4 years, 10 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') | samplecode/SampleApp.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 24 matching lines...) Expand all
35 static bool PostEvent(SkEvent* evt, SkEventSinkID, SkMSec delay); 35 static bool PostEvent(SkEvent* evt, SkEventSinkID, SkMSec delay);
36 36
37 enum SkBackEndTypes { 37 enum SkBackEndTypes {
38 kNone_BackEndType, 38 kNone_BackEndType,
39 #if SK_SUPPORT_GPU 39 #if SK_SUPPORT_GPU
40 kNativeGL_BackEndType, 40 kNativeGL_BackEndType,
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 kCommandBufferES2_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 detach();
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);
(...skipping 84 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') | samplecode/SampleApp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698