summaryrefslogtreecommitdiffstats
path: root/cc/output/renderer.h
diff options
context:
space:
mode:
authoraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-30 19:41:17 +0000
committeraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-30 19:41:17 +0000
commitc32a196d005c9b211625d1249df68caf890d3dbe (patch)
tree53d1df4261d92e44b2e27988aa818e1b7707ad6f /cc/output/renderer.h
parent143aef4c72d6ff334db9ee0b1e76ac55db443844 (diff)
downloadchromium_src-c32a196d005c9b211625d1249df68caf890d3dbe.zip
chromium_src-c32a196d005c9b211625d1249df68caf890d3dbe.tar.gz
chromium_src-c32a196d005c9b211625d1249df68caf890d3dbe.tar.bz2
Add external stencil support for Android WebView.
For non-rectangular clips, the Android framework populates the stencil buffer before asking WebView to draw. This adds support for CC to use an externally provided stencil buffer instead of always disabling stencil test. This change is the final piece needed to make rotation transforms work correctly. New tests ExternalStencilPixelTest.* NOTRY=true BUG=264053 R=danakj@chromium.org, joth@chromium.org, tedchoc@chromium.org Review URL: https://codereview.chromium.org/20579004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214416 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/output/renderer.h')
-rw-r--r--cc/output/renderer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/output/renderer.h b/cc/output/renderer.h
index 3a628ad..a9a800b 100644
--- a/cc/output/renderer.h
+++ b/cc/output/renderer.h
@@ -30,6 +30,7 @@ class CC_EXPORT RendererClient {
virtual bool ShouldClearRootRenderPass() const = 0;
virtual CompositorFrameMetadata MakeCompositorFrameMetadata() const = 0;
virtual bool AllowPartialSwap() const = 0;
+ virtual bool ExternalStencilTestEnabled() const = 0;
protected:
virtual ~RendererClient() {}