Move Copy method from DrawQuad to RenderPass
commitd70cc671b76bd197628c51d3dc0b764bf5263fcc
authorweiliangc@chromium.org <weiliangc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 11 Jul 2014 17:24:49 +0000 (11 17:24 +0000)
committerweiliangc@chromium.org <weiliangc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 11 Jul 2014 17:24:49 +0000 (11 17:24 +0000)
treef1a1ecca885964c40c06f965d0e9eaec5fe18f5c
parentf0bbcdc29da3d55178958982724a9a3bc45c2eec
Move Copy method from DrawQuad to RenderPass

In transition to let RenderPass take responsibility to allocate
DrawQuads, Copy method from DQ is moved to RP.

In drawquad_unittest, no RenderPass is present, thus it takes advantage
of default copy constructor.

Follow 368403003.

BUG=344962

Review URL: https://codereview.chromium.org/380893004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282640 0039d316-1c4b-4281-b951-d872f2087c98
cc/layers/delegated_renderer_layer_impl.cc
cc/quads/draw_quad.cc
cc/quads/draw_quad.h
cc/quads/draw_quad_unittest.cc
cc/quads/render_pass.cc
cc/quads/render_pass_draw_quad.cc
cc/quads/render_pass_draw_quad.h
cc/surfaces/surface_aggregator.cc