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

Unified Diff: cc/output/software_renderer_unittest.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/output/renderer_pixeltest.cc ('k') | cc/quads/draw_quad_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/software_renderer_unittest.cc
diff --git a/cc/output/software_renderer_unittest.cc b/cc/output/software_renderer_unittest.cc
index ef9f43f4c523ed4db7fd97ebc6f6e7a468dcc348..33e311aed666551440c7be80a297f7aa6b81283f 100644
--- a/cc/output/software_renderer_unittest.cc
+++ b/cc/output/software_renderer_unittest.cc
@@ -79,8 +79,13 @@ TEST_F(SoftwareRendererTest, SolidColorQuad) {
InitializeRenderer(make_scoped_ptr(new SoftwareOutputDevice));
scoped_ptr<SharedQuadState> shared_quad_state = SharedQuadState::Create();
- shared_quad_state->SetAll(
- gfx::Transform(), outer_size, outer_rect, outer_rect, false, 1.0);
+ shared_quad_state->SetAll(gfx::Transform(),
+ outer_size,
+ outer_rect,
+ outer_rect,
+ false,
+ 1.0,
+ SkXfermode::kSrcOver_Mode);
RenderPass::Id root_render_pass_id = RenderPass::Id(1, 1);
scoped_ptr<TestRenderPass> root_render_pass = TestRenderPass::Create();
root_render_pass->SetNew(
@@ -162,8 +167,13 @@ TEST_F(SoftwareRendererTest, TileQuad) {
gfx::Rect root_rect = DeviceViewport();
scoped_ptr<SharedQuadState> shared_quad_state = SharedQuadState::Create();
- shared_quad_state->SetAll(
- gfx::Transform(), outer_size, outer_rect, outer_rect, false, 1.0);
+ shared_quad_state->SetAll(gfx::Transform(),
+ outer_size,
+ outer_rect,
+ outer_rect,
+ false,
+ 1.0,
+ SkXfermode::kSrcOver_Mode);
RenderPass::Id root_render_pass_id = RenderPass::Id(1, 1);
scoped_ptr<TestRenderPass> root_render_pass = TestRenderPass::Create();
root_render_pass->SetNew(
@@ -241,8 +251,13 @@ TEST_F(SoftwareRendererTest, TileQuadVisibleRect) {
gfx::Rect root_rect = DeviceViewport();
scoped_ptr<SharedQuadState> shared_quad_state = SharedQuadState::Create();
- shared_quad_state->SetAll(
- gfx::Transform(), tile_size, tile_rect, tile_rect, false, 1.0);
+ shared_quad_state->SetAll(gfx::Transform(),
+ tile_size,
+ tile_rect,
+ tile_rect,
+ false,
+ 1.0,
+ SkXfermode::kSrcOver_Mode);
RenderPass::Id root_render_pass_id = RenderPass::Id(1, 1);
scoped_ptr<TestRenderPass> root_render_pass = TestRenderPass::Create();
root_render_pass->SetNew(
« no previous file with comments | « cc/output/renderer_pixeltest.cc ('k') | cc/quads/draw_quad_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698