diff options
author | ernstm@chromium.org <ernstm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-04 18:33:27 +0000 |
---|---|---|
committer | ernstm@chromium.org <ernstm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-04 18:33:27 +0000 |
commit | f902bf91e4e279d6ea2428e293a9f0e58548f9dd (patch) | |
tree | 14764c1890de371ee6c736cee3256d1a05bb6e6f /cc/test/render_pass_test_common.cc | |
parent | 19fa81a02addc5d466d7d9740aaf5f07a8f4a62e (diff) | |
download | chromium_src-f902bf91e4e279d6ea2428e293a9f0e58548f9dd.zip chromium_src-f902bf91e4e279d6ea2428e293a9f0e58548f9dd.tar.gz chromium_src-f902bf91e4e279d6ea2428e293a9f0e58548f9dd.tar.bz2 |
cc: Moving anti-aliasing decision to parent compositor.
Changed edge antialiasing flags in TileDrawQuad to edge flags and moved to SharedQuadState.
The quad cannot tell anymore if it needs antialiasing or not. The renderer will make that decision.
Moved blending decision from GLRenderer::drawQuad to GLRenderer::draw*Quad functions.
BUG=169163
Review URL: https://chromiumcodereview.appspot.com/12328098
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185934 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/render_pass_test_common.cc')
-rw-r--r-- | cc/test/render_pass_test_common.cc | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/cc/test/render_pass_test_common.cc b/cc/test/render_pass_test_common.cc index a5b7d33..4a2de14 100644 --- a/cc/test/render_pass_test_common.cc +++ b/cc/test/render_pass_test_common.cc @@ -74,6 +74,7 @@ void TestRenderPass::AppendOneOfEveryQuadType( scoped_ptr<cc::SharedQuadState> shared_state = cc::SharedQuadState::Create(); shared_state->SetAll(gfx::Transform(), + rect.size(), rect, rect, false, @@ -171,10 +172,6 @@ void TestRenderPass::AppendOneOfEveryQuadType( resource2, gfx::RectF(0, 0, 50, 50), gfx::Size(50, 50), - false, - false, - false, - false, false); AppendQuad(scaled_tile_quad.PassAs<DrawQuad>()); @@ -190,10 +187,6 @@ void TestRenderPass::AppendOneOfEveryQuadType( resource3, gfx::RectF(0, 0, 100, 100), gfx::Size(100, 100), - false, - false, - false, - false, false); AppendQuad(transformed_tile_quad.PassAs<DrawQuad>()); @@ -205,10 +198,6 @@ void TestRenderPass::AppendOneOfEveryQuadType( resource4, gfx::RectF(0, 0, 100, 100), gfx::Size(100, 100), - false, - false, - false, - false, false); AppendQuad(tile_quad.PassAs<DrawQuad>()); |