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

Side by Side Diff: src/views/ios/SkOSWindow_iOS.mm

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: 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
« no previous file with comments | « samplecode/SampleApp.cpp ('k') | src/views/mac/SkNSView.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 #import <UIKit/UIKit.h> 1 #import <UIKit/UIKit.h>
2 #include "SkCanvas.h" 2 #include "SkCanvas.h"
3 #include "SkGraphics.h" 3 #include "SkGraphics.h"
4 #import "SkEventNotifier.h" 4 #import "SkEventNotifier.h"
5 #include "SkOSMenu.h" 5 #include "SkOSMenu.h"
6 #include "SkTime.h" 6 #include "SkTime.h"
7 #include "SkTypes.h" 7 #include "SkTypes.h"
8 #import "SkUIView.h" 8 #import "SkUIView.h"
9 #include "SkWindow.h" 9 #include "SkWindow.h"
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 void SkOSWindow::onAddMenu(const SkOSMenu* menu) { 45 void SkOSWindow::onAddMenu(const SkOSMenu* menu) {
46 [(SkUIView*)fHWND onAddMenu:menu]; 46 [(SkUIView*)fHWND onAddMenu:menu];
47 } 47 }
48 48
49 void SkOSWindow::onUpdateMenu(SkOSMenu* menu) { 49 void SkOSWindow::onUpdateMenu(SkOSMenu* menu) {
50 [(SkUIView*)fHWND onUpdateMenu:menu]; 50 [(SkUIView*)fHWND onUpdateMenu:menu];
51 } 51 }
52 52
53 bool SkOSWindow::attach(SkBackEndTypes /* attachType */, 53 bool SkOSWindow::attach(SkBackEndTypes /* attachType */,
54 int /* msaaSampleCount */) { 54 int /* msaaSampleCount */,
55 AttachmentInfo* info) {
56 [(SkUIView*)fHWND getAttachmentInfo:info];
55 bool success = true; 57 bool success = true;
56 return success; 58 return success;
57 } 59 }
58 60
59 void SkOSWindow::detach() {} 61 void SkOSWindow::detach() {}
60 62
61 void SkOSWindow::present() { 63 void SkOSWindow::present() {
62 } 64 }
OLDNEW
« no previous file with comments | « samplecode/SampleApp.cpp ('k') | src/views/mac/SkNSView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698