summaryrefslogtreecommitdiffstats
path: root/cc/CCDirectRenderer.h
diff options
context:
space:
mode:
authoraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-24 21:32:57 +0000
committeraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-24 21:32:57 +0000
commitd61675de46031d9db57d198e482abaccc79c63e7 (patch)
tree8ecc4801ccce660ecb55ae7038fcf5e9a60ba51b /cc/CCDirectRenderer.h
parenta02f64e4b986222548e9cd5bfdcbc940e22e69be (diff)
downloadchromium_src-d61675de46031d9db57d198e482abaccc79c63e7.zip
chromium_src-d61675de46031d9db57d198e482abaccc79c63e7.tar.gz
chromium_src-d61675de46031d9db57d198e482abaccc79c63e7.tar.bz2
Add CC software renderer.
This new renderer adds support for the compositor to output to a software-bitmap surface instead of a GL context. It uses Skia to interpret the CCDrawQuads and configures the resource provider to only use bitmap-backed resources. During initialization, the host checks whether a GL or software output surface is available and initializes the appropriate renderer. The basic texture and solid-color based quad types are supported, along with alpha, clipping and 3d transformations. Render surfaces and video are not yet supported. BUG=124671 Review URL: https://chromiumcodereview.appspot.com/10918258 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158396 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/CCDirectRenderer.h')
-rw-r--r--cc/CCDirectRenderer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/CCDirectRenderer.h b/cc/CCDirectRenderer.h
index c3407c0..e11d1d74 100644
--- a/cc/CCDirectRenderer.h
+++ b/cc/CCDirectRenderer.h
@@ -88,6 +88,7 @@ protected:
virtual void drawQuad(DrawingFrame&, const CCDrawQuad*) = 0;
virtual void beginDrawingFrame(DrawingFrame&) = 0;
virtual void finishDrawingFrame(DrawingFrame&) = 0;
+ virtual bool flippedFramebuffer() const = 0;
HashMap<CCRenderPass::Id, OwnPtr<CachedTexture> > m_renderPassTextures;
CCResourceProvider* m_resourceProvider;