OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 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 | 7 |
8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
9 #include "SkCanvas.h" | 9 #include "SkCanvas.h" |
10 #include "SkGraphics.h" | 10 #include "SkGraphics.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 void SkOSWindow::onAddMenu(const SkOSMenu* menu) { | 52 void SkOSWindow::onAddMenu(const SkOSMenu* menu) { |
53 [(SkUIView*)fHWND onAddMenu:menu]; | 53 [(SkUIView*)fHWND onAddMenu:menu]; |
54 } | 54 } |
55 | 55 |
56 void SkOSWindow::onUpdateMenu(SkOSMenu* menu) { | 56 void SkOSWindow::onUpdateMenu(SkOSMenu* menu) { |
57 [(SkUIView*)fHWND onUpdateMenu:menu]; | 57 [(SkUIView*)fHWND onUpdateMenu:menu]; |
58 } | 58 } |
59 | 59 |
60 bool SkOSWindow::attach(SkBackEndTypes /* attachType */, | 60 bool SkOSWindow::attach(SkBackEndTypes /* attachType */, |
61 int /* msaaSampleCount */, | 61 int /* msaaSampleCount */, |
| 62 bool /* deepColor */, |
62 AttachmentInfo* info) { | 63 AttachmentInfo* info) { |
63 [(SkUIView*)fHWND getAttachmentInfo:info]; | 64 [(SkUIView*)fHWND getAttachmentInfo:info]; |
64 bool success = true; | 65 bool success = true; |
65 return success; | 66 return success; |
66 } | 67 } |
67 | 68 |
68 void SkOSWindow::release() {} | 69 void SkOSWindow::release() {} |
69 | 70 |
70 void SkOSWindow::present() { | 71 void SkOSWindow::present() { |
71 } | 72 } |
OLD | NEW |