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

Unified Diff: experimental/iOSSampleApp/Shared/SkUIView.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: Make SkOSWindow return the sample count and stencil bit count for its GL context. Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/iOSSampleApp/Shared/SkUIView.h ('k') | experimental/iOSSampleApp/SkSampleUIView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/iOSSampleApp/Shared/SkUIView.mm
===================================================================
--- experimental/iOSSampleApp/Shared/SkUIView.mm (revision 7987)
+++ experimental/iOSSampleApp/Shared/SkUIView.mm (working copy)
@@ -93,6 +93,12 @@
return false;
}
+- (void)getAttachmentInfo:(SkOSWindow::AttachmentInfo*)info {
+ info->fSampleCount = 0;
robertphillips 2013/03/05 19:02:35 0 for stencil bits?
bsalomon 2013/03/05 19:13:03 This view isn't GL backed, only the subclass SkSam
+ info->fStencilBits = 0;
+}
+
+
#include "SkOSMenu.h"
- (void)onAddMenu:(const SkOSMenu*)menu {
[self.fOptionsDelegate view:self didAddMenu:menu];
« no previous file with comments | « experimental/iOSSampleApp/Shared/SkUIView.h ('k') | experimental/iOSSampleApp/SkSampleUIView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698