diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-05-02 12:53:34 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-05-02 12:53:34 +0000 |
commit | 8295dc1474db279df08d816b2115e807c681fad5 (patch) | |
tree | 5b5df977f1ae697b0b0279af749e6a79f0c3443c /gpu/include/GrGpu.h | |
parent | 152612938020fa46999f33668027d5bc0f7afd18 (diff) |
4x4 SSAA with improvements in determination of when to apply. Still disabled at compile time.
Review URL: http://codereview.appspot.com/4445075/
git-svn-id: http://skia.googlecode.com/svn/trunk@1218 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/include/GrGpu.h')
-rw-r--r-- | gpu/include/GrGpu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gpu/include/GrGpu.h b/gpu/include/GrGpu.h index 590712bd48..16bb6b6933 100644 --- a/gpu/include/GrGpu.h +++ b/gpu/include/GrGpu.h @@ -229,6 +229,11 @@ public: * value. */ int minRenderTargetHeight() const { return fMinRenderTargetHeight; } + + /** + * Reports whether full scene anti-aliasing is supported. + */ + bool supportsFullsceneAA() const { return fFSAASupport; } /** * Returns true if NPOT textures can be created @@ -391,6 +396,7 @@ protected: bool fTwoSidedStencilSupport; bool fStencilWrapOpsSupport; bool fAALineSupport; + bool fFSAASupport; // set by subclass to true if index and vertex buffers can be locked, false // otherwise. |