diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-16 03:41:00 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-16 03:41:00 +0000 |
commit | 05469638c90c61f273420773ab3139d4286a7fb0 (patch) | |
tree | 06c32018843396f67cc7e71ef7ffecde9faec103 /cc/render_pass.cc | |
parent | 658ce05d1f2ec2717f3c00c9b21934373010ca35 (diff) | |
download | chromium_src-05469638c90c61f273420773ab3139d4286a7fb0.zip chromium_src-05469638c90c61f273420773ab3139d4286a7fb0.tar.gz chromium_src-05469638c90c61f273420773ab3139d4286a7fb0.tar.bz2 |
cc: Implement DelegatingRender::drawFrame() method.
The method sends the render passes it is given to the parent compositor via
the output surface. It should include a valid frame metadata with it.
Tests:
DelegatingRendererTestDraw.runSingleThread
DelegatingRendererTestDraw.runMultiThread
DelegatingRendererTestResources.runSingleThread
DelegatingRendererTestResources.runMultiThread
R=piman
BUG=123444
Review URL: https://codereview.chromium.org/11777025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177073 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/render_pass.cc')
-rw-r--r-- | cc/render_pass.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/render_pass.cc b/cc/render_pass.cc index 24f1cd5..f5e6444 100644 --- a/cc/render_pass.cc +++ b/cc/render_pass.cc @@ -4,6 +4,9 @@ #include "cc/render_pass.h" +#include "cc/draw_quad.h" +#include "cc/shared_quad_state.h" + namespace cc { scoped_ptr<RenderPass> RenderPass::Create() { |