Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2946)

Unified Diff: cc/test/render_pass_test_common.cc

Issue 23455060: mix-blend-mode implementation for accelerated layers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unittests fixed Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/data/blending_with_root.png ('k') | cc/test/render_pass_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/render_pass_test_common.cc
diff --git a/cc/test/render_pass_test_common.cc b/cc/test/render_pass_test_common.cc
index 35bc561ba219e3f2e0ecba552495921680eeaf75..4b69a7e38b9f75450f1112dc9322e73909bfc3f7 100644
--- a/cc/test/render_pass_test_common.cc
+++ b/cc/test/render_pass_test_common.cc
@@ -90,7 +90,8 @@ void TestRenderPass::AppendOneOfEveryQuadType(
rect,
rect,
false,
- 1);
+ 1,
+ SkXfermode::kSrcOver_Mode);
scoped_ptr<cc::CheckerboardDrawQuad> checkerboard_quad =
cc::CheckerboardDrawQuad::Create();
@@ -204,7 +205,13 @@ void TestRenderPass::AppendOneOfEveryQuadType(
AppendQuad(transformed_tile_quad.PassAs<DrawQuad>());
scoped_ptr<cc::SharedQuadState> shared_state2 = cc::SharedQuadState::Create();
- shared_state->SetAll(gfx::Transform(), rect.size(), rect, rect, false, 1);
+ shared_state->SetAll(gfx::Transform(),
+ rect.size(),
+ rect,
+ rect,
+ false,
+ 1,
+ SkXfermode::kSrcOver_Mode);
scoped_ptr<cc::TileDrawQuad> tile_quad = cc::TileDrawQuad::Create();
tile_quad->SetNew(shared_state2.get(),
« no previous file with comments | « cc/test/data/blending_with_root.png ('k') | cc/test/render_pass_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698