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

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

Issue 2061233002: Remove command buffer sample app support. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 4 years, 6 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 21 matching lines...) Expand all
32 void* getDisplay() const { return (void*)fUnixWindow.fDisplay; } 32 void* getDisplay() const { return (void*)fUnixWindow.fDisplay; }
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
43 kCommandBuffer_BackEndType,
44 #endif // SK_COMMAND_BUFFER
45 }; 42 };
46 43
47 bool attach(SkBackEndTypes attachType, int msaaSampleCount, bool deepColor, AttachmentInfo*); 44 bool attach(SkBackEndTypes attachType, int msaaSampleCount, bool deepColor, AttachmentInfo*);
48 void release(); 45 void release();
49 void present(); 46 void present();
50 47
51 int getMSAASampleCount() const { return fMSAASampleCount; } 48 int getMSAASampleCount() const { return fMSAASampleCount; }
52 49
53 //static bool PostEvent(SkEvent* evt, SkEventSinkID, SkMSec delay); 50 //static bool PostEvent(SkEvent* evt, SkEventSinkID, SkMSec delay);
54 51
(...skipping 25 matching lines...) Expand all
80 77
81 // Needed for GL 78 // Needed for GL
82 XVisualInfo* fVi; 79 XVisualInfo* fVi;
83 // we recreate the underlying xwindow if this changes 80 // we recreate the underlying xwindow if this changes
84 int fMSAASampleCount; 81 int fMSAASampleCount;
85 82
86 typedef SkWindow INHERITED; 83 typedef SkWindow INHERITED;
87 }; 84 };
88 85
89 #endif 86 #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