diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-09 03:23:05 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-09 03:23:05 +0000 |
commit | 4c0e3d72a5ccdc72aace7e29f3d7458eaf5b7224 (patch) | |
tree | 76ad09e5752e9e0fcb1d6759b33af281b5d6502a /cc/compositor_frame.h | |
parent | aa19e1206a6f005b719b3548aabd35126f361835 (diff) | |
download | chromium_src-4c0e3d72a5ccdc72aace7e29f3d7458eaf5b7224.zip chromium_src-4c0e3d72a5ccdc72aace7e29f3d7458eaf5b7224.tar.gz chromium_src-4c0e3d72a5ccdc72aace7e29f3d7458eaf5b7224.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://chromiumcodereview.appspot.com/11777025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175690 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/compositor_frame.h')
-rw-r--r-- | cc/compositor_frame.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/compositor_frame.h b/cc/compositor_frame.h index 88ebe2f..b82f600 100644 --- a/cc/compositor_frame.h +++ b/cc/compositor_frame.h @@ -21,6 +21,8 @@ class CC_EXPORT CompositorFrame { CompositorFrameMetadata metadata; scoped_ptr<DelegatedFrameData> delegated_frame_data; scoped_ptr<GLFrameData> gl_frame_data; + + void AssignTo(CompositorFrame* target); }; } // namespace cc |