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

Side by Side Diff: experimental/iOSSampleApp/Shared/SkUIView.h

Issue 12437010: Make SkOSWindow return the sample count and stencil bit count for its GL context. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Make SkOSWindow return the sample count and stencil bit count for its GL context. Created 7 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
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 #import <OpenGLES/EAGL.h> 7 #import <OpenGLES/EAGL.h>
8 #import <OpenGLES/ES1/gl.h> 8 #import <OpenGLES/ES1/gl.h>
9 #import <OpenGLES/ES1/glext.h> 9 #import <OpenGLES/ES1/glext.h>
10 #import <OpenGLES/ES2/gl.h> 10 #import <OpenGLES/ES2/gl.h>
11 #import <OpenGLES/ES2/glext.h> 11 #import <OpenGLES/ES2/glext.h>
12 #import <QuartzCore/QuartzCore.h> 12 #import <QuartzCore/QuartzCore.h>
13 #import <UIKit/UIKit.h> 13 #import <UIKit/UIKit.h>
14 #include "SkWindow.h" 14 #include "SkOSWindow_ios.h"
15 class SkOSWindow; 15
16 class SkEvent; 16 class SkEvent;
17 @class SkUIView; 17 @class SkUIView;
18 18
19 @protocol SkUIViewOptionsDelegate <NSObject> 19 @protocol SkUIViewOptionsDelegate <NSObject>
20 @optional 20 @optional
21 // Called when the view needs to handle adding an SkOSMenu 21 // Called when the view needs to handle adding an SkOSMenu
22 - (void) view:(SkUIView*)view didAddMenu:(const SkOSMenu*)menu; 22 - (void) view:(SkUIView*)view didAddMenu:(const SkOSMenu*)menu;
23 - (void) view:(SkUIView*)view didUpdateMenu:(SkOSMenu*)menu; 23 - (void) view:(SkUIView*)view didUpdateMenu:(SkOSMenu*)menu;
24 @end 24 @end
25 25
(...skipping 10 matching lines...) Expand all
36 - (id)initWithDefaults; 36 - (id)initWithDefaults;
37 - (void)setUpWindow; 37 - (void)setUpWindow;
38 - (void)forceRedraw; 38 - (void)forceRedraw;
39 - (void)drawInRaster; 39 - (void)drawInRaster;
40 40
41 - (void)setSkTitle:(const char*)title; 41 - (void)setSkTitle:(const char*)title;
42 - (void)onAddMenu:(const SkOSMenu*)menu; 42 - (void)onAddMenu:(const SkOSMenu*)menu;
43 - (void)onUpdateMenu:(SkOSMenu*)menu; 43 - (void)onUpdateMenu:(SkOSMenu*)menu;
44 - (void)postInvalWithRect:(const SkIRect*)rectOrNil; 44 - (void)postInvalWithRect:(const SkIRect*)rectOrNil;
45 - (BOOL)onHandleEvent:(const SkEvent&)event; 45 - (BOOL)onHandleEvent:(const SkEvent&)event;
46 - (void)getAttachmentInfo:(SkOSWindow::AttachmentInfo*)info;
47
46 @end 48 @end
OLDNEW
« no previous file with comments | « no previous file | experimental/iOSSampleApp/Shared/SkUIView.mm » ('j') | experimental/iOSSampleApp/Shared/SkUIView.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698