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

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

Issue 1919993002: Added --deepColor option to SampleApp, triggers creation of a ten-bit/channel buffer on Windows. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase Created 4 years, 7 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 | « src/views/SkWindow.cpp ('k') | src/views/mac/SkOSWindow_Mac.mm » ('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 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
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 }
OLDNEW
« no previous file with comments | « src/views/SkWindow.cpp ('k') | src/views/mac/SkOSWindow_Mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698