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

Issue 598593005: Adding more cc pixel tests using blend modes. (Closed)

Created:
6 years, 2 months ago by rosca
Modified:
6 years, 2 months ago
Reviewers:
enne (OOO)
CC:
cc-bugs_chromium.org, chromium-reviews, Erik Dahlström (inactive), webkitbugtracker_adobe.com, danakj
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Adding more cc pixel tests using blend modes. These tests should cover testing for each type of shader in render passes: anti-aliasing x masking x filters_color_matrix x renderer_type Each test validates - each blend mode with opaque colors - a coefficient based blend mode (screen) with transparent content and with transparency on blending layer - a shader based blend mode with transparent content and with transparency on blending layer The expectations for GL and for software renderers are stored in separate files for the moment. There are several blending issues in both GL and SW renderers causing the results to be different: - filters and blending don't work well together in the software renderer. - layers with transparent content having saturation or luminosity blend modes give wrong results. I will file a bug to fix these errors and I will adjust tests afterwards. BUG=

Patch Set 1 #

Patch Set 2 : results change for screen blend mode #

Patch Set 3 : fix windows build errors and test failures #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+282 lines, -1 line) Patch
A cc/test/data/blending_render_pass.png View Binary file 0 comments Download
A cc/test/data/blending_render_pass_aa.png View Binary file 0 comments Download
A cc/test/data/blending_render_pass_aa_cm.png View Binary file 0 comments Download
A cc/test/data/blending_render_pass_aa_cm_gl.png View 1 Binary file 0 comments Download
A cc/test/data/blending_render_pass_aa_gl.png View 1 Binary file 0 comments Download
A cc/test/data/blending_render_pass_cm.png View Binary file 0 comments Download
A cc/test/data/blending_render_pass_cm_gl.png View 1 Binary file 0 comments Download
A cc/test/data/blending_render_pass_gl.png View 1 Binary file 0 comments Download
A cc/test/data/blending_render_pass_mask.png View Binary file 0 comments Download
A cc/test/data/blending_render_pass_mask_aa.png View Binary file 0 comments Download
A cc/test/data/blending_render_pass_mask_aa_cm.png View Binary file 0 comments Download
A cc/test/data/blending_render_pass_mask_aa_cm_gl.png View 1 Binary file 0 comments Download
A cc/test/data/blending_render_pass_mask_aa_gl.png View 1 Binary file 0 comments Download
A cc/test/data/blending_render_pass_mask_cm.png View Binary file 0 comments Download
A cc/test/data/blending_render_pass_mask_cm_gl.png View 1 Binary file 0 comments Download
A cc/test/data/blending_render_pass_mask_gl.png View 1 Binary file 0 comments Download
M cc/trees/layer_tree_host_pixeltest_blending.cc View 1 2 4 chunks +282 lines, -1 line 2 comments Download

Messages

Total messages: 8 (1 generated)
rosca
6 years, 2 months ago (2014-09-29 14:48:21 UTC) #2
rosca
@enne, what do you think about this patch?
6 years, 2 months ago (2014-09-30 17:47:59 UTC) #3
enne (OOO)
I'm not super keen on having different software and hardware outputs unless it's really needed. ...
6 years, 2 months ago (2014-10-07 19:57:58 UTC) #4
rosca
Thanks for the review! > I'm not super keen on having different software and hardware ...
6 years, 2 months ago (2014-10-07 21:30:29 UTC) #5
enne (OOO)
Re: antialiasing tests. Do you think it's possible to come up with an aa condition ...
6 years, 2 months ago (2014-10-13 21:46:55 UTC) #6
danakj
On Mon, Oct 13, 2014 at 5:46 PM, <enne@chromium.org> wrote: > Re: antialiasing tests. Do ...
6 years, 2 months ago (2014-10-14 18:29:20 UTC) #7
rosca
6 years, 2 months ago (2014-10-16 16:17:40 UTC) #8
I moved the pixel tests to https://codereview.chromium.org/658483003/.

Powered by Google App Engine
This is Rietveld 408576698