aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-04-06 20:13:38 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-04-06 20:13:38 +0000
commit1195925b05ee9d666ea8a8f68fde5d8ca7e49b04 (patch)
treeac396c0182d7a933aa23f35d7f29e3a6dce10265 /experimental
parent09042b80d22837c760bb530124aaa67469b19b8f (diff)
Add MSAA option to SampleApp
Review URL: http://codereview.appspot.com/5969049 git-svn-id: http://skia.googlecode.com/svn/trunk@3627 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental')
-rw-r--r--experimental/iOSSampleApp/SkSampleUIView.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/experimental/iOSSampleApp/SkSampleUIView.mm b/experimental/iOSSampleApp/SkSampleUIView.mm
index 5ec6146c6d..b1ec537c51 100644
--- a/experimental/iOSSampleApp/SkSampleUIView.mm
+++ b/experimental/iOSSampleApp/SkSampleUIView.mm
@@ -108,6 +108,10 @@ public:
bool isUsingGL() { return usingGL; }
virtual GrContext* getGrContext() { return fGrContext; }
+
+ virtual GrRenderTarget* getGrRenderTarget() SK_OVERRIDE {
+ return fGrRenderTarget;
+ }
private:
bool usingGL;
GrContext* fGrContext;