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

Side by Side Diff: include/views/SkOSWindow_Unix.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, 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_SDL.h ('k') | include/views/SkOSWindow_Win.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 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkOSWindow_Unix_DEFINED 8 #ifndef SkOSWindow_Unix_DEFINED
9 #define SkOSWindow_Unix_DEFINED 9 #define SkOSWindow_Unix_DEFINED
10 10
(...skipping 22 matching lines...) Expand all
33 void* getUnixWindow() const { return (void*)&fUnixWindow; } 33 void* getUnixWindow() const { return (void*)&fUnixWindow; }
34 void loop(); 34 void loop();
35 35
36 enum SkBackEndTypes { 36 enum SkBackEndTypes {
37 kNone_BackEndType, 37 kNone_BackEndType,
38 kNativeGL_BackEndType, 38 kNativeGL_BackEndType,
39 #if SK_ANGLE 39 #if SK_ANGLE
40 kANGLE_BackEndType, 40 kANGLE_BackEndType,
41 #endif // SK_ANGLE 41 #endif // SK_ANGLE
42 #if SK_COMMAND_BUFFER 42 #if SK_COMMAND_BUFFER
43 kCommandBuffer_BackEndType, 43 kCommandBufferES2_BackEndType,
44 #endif // SK_COMMAND_BUFFER 44 #endif // SK_COMMAND_BUFFER
45 }; 45 };
46 46
47 bool attach(SkBackEndTypes attachType, int msaaSampleCount, AttachmentInfo*) ; 47 bool attach(SkBackEndTypes attachType, int msaaSampleCount, AttachmentInfo*) ;
48 void detach(); 48 void detach();
49 void present(); 49 void present();
50 50
51 int getMSAASampleCount() const { return fMSAASampleCount; } 51 int getMSAASampleCount() const { return fMSAASampleCount; }
52 52
53 //static bool PostEvent(SkEvent* evt, SkEventSinkID, SkMSec delay); 53 //static bool PostEvent(SkEvent* evt, SkEventSinkID, SkMSec delay);
(...skipping 26 matching lines...) Expand all
80 80
81 // Needed for GL 81 // Needed for GL
82 XVisualInfo* fVi; 82 XVisualInfo* fVi;
83 // we recreate the underlying xwindow if this changes 83 // we recreate the underlying xwindow if this changes
84 int fMSAASampleCount; 84 int fMSAASampleCount;
85 85
86 typedef SkWindow INHERITED; 86 typedef SkWindow INHERITED;
87 }; 87 };
88 88
89 #endif 89 #endif
OLDNEW
« no previous file with comments | « include/views/SkOSWindow_SDL.h ('k') | include/views/SkOSWindow_Win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698