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

Issue 12518026: cc: Add layer-based pixel tests. (Closed)

Created:
7 years, 9 months ago by danakj
Modified:
7 years, 9 months ago
Reviewers:
jamesr
CC:
chromium-reviews, cc-bugs_chromium.org, piman, enne (OOO), backer
Visibility:
Public.

Description

cc: Add layer-based pixel tests. This adds a test framework for pixel tests based on a layer tree. Included is a single new pixel test to demonstrate the framework, which is a test derived from the layout test platform/chromium/compositing/filters/background-filter-blur.html reproduced with solid color layers. New test: LayerTreeHostFiltersPixelTest.BackgroundFilterBlur R=jamesr BUG=191170 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188262

Patch Set 1 #

Patch Set 2 : No pixel tests on android #

Patch Set 3 : Missing OVERRIDE #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : Android #

Total comments: 5

Patch Set 7 : #

Patch Set 8 : Crash on init fail #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+365 lines, -107 lines) Patch
M cc/cc_tests.gyp View 3 chunks +5 lines, -0 lines 0 comments Download
M cc/gl_renderer_pixeltest.cc View 9 chunks +17 lines, -106 lines 0 comments Download
M cc/layer_tree_host_impl.h View 1 chunk +1 line, -1 line 0 comments Download
A cc/layer_tree_host_pixeltest_filters.cc View 1 2 3 4 5 6 7 8 1 chunk +39 lines, -0 lines 0 comments Download
A cc/test/layer_tree_pixel_test.h View 1 2 3 4 5 6 7 8 1 chunk +55 lines, -0 lines 0 comments Download
A cc/test/layer_tree_pixel_test.cc View 1 2 3 4 5 6 7 1 chunk +104 lines, -0 lines 0 comments Download
M cc/test/layer_tree_test_common.h View 2 chunks +2 lines, -0 lines 0 comments Download
M cc/test/layer_tree_test_common.cc View 1 chunk +7 lines, -0 lines 0 comments Download
A cc/test/pixel_test.h View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
A cc/test/pixel_test.cc View 1 chunk +99 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
danakj
moar tests!
7 years, 9 months ago (2013-03-14 00:15:33 UTC) #1
danakj
This is the png since codereview can't show it ಠ_ಠ http://imgur.com/H48SPuZ
7 years, 9 months ago (2013-03-14 18:25:55 UTC) #2
jamesr
https://codereview.chromium.org/12518026/diff/27001/cc/test/layer_tree_pixel_test.cc File cc/test/layer_tree_pixel_test.cc (right): https://codereview.chromium.org/12518026/diff/27001/cc/test/layer_tree_pixel_test.cc#newcode22 cc/test/layer_tree_pixel_test.cc:22: EXPECT_TRUE(gfx::InitializeGLBindings(gfx::kGLImplementationOSMesaGL)); InitializeGLBindings() doesn't look safe to call multiple times ...
7 years, 9 months ago (2013-03-14 20:00:45 UTC) #3
danakj
https://codereview.chromium.org/12518026/diff/27001/cc/test/layer_tree_pixel_test.cc File cc/test/layer_tree_pixel_test.cc (right): https://codereview.chromium.org/12518026/diff/27001/cc/test/layer_tree_pixel_test.cc#newcode22 cc/test/layer_tree_pixel_test.cc:22: EXPECT_TRUE(gfx::InitializeGLBindings(gfx::kGLImplementationOSMesaGL)); On 2013/03/14 20:00:46, jamesr wrote: > InitializeGLBindings() doesn't ...
7 years, 9 months ago (2013-03-14 20:43:50 UTC) #4
danakj
https://codereview.chromium.org/12518026/diff/27001/cc/test/layer_tree_pixel_test.cc File cc/test/layer_tree_pixel_test.cc (right): https://codereview.chromium.org/12518026/diff/27001/cc/test/layer_tree_pixel_test.cc#newcode22 cc/test/layer_tree_pixel_test.cc:22: EXPECT_TRUE(gfx::InitializeGLBindings(gfx::kGLImplementationOSMesaGL)); On 2013/03/14 20:43:50, danakj wrote: > > This ...
7 years, 9 months ago (2013-03-14 21:33:51 UTC) #5
jamesr
On 2013/03/14 20:43:50, danakj wrote: > https://codereview.chromium.org/12518026/diff/27001/cc/test/layer_tree_pixel_test.cc > File cc/test/layer_tree_pixel_test.cc (right): > > https://codereview.chromium.org/12518026/diff/27001/cc/test/layer_tree_pixel_test.cc#newcode22 > ...
7 years, 9 months ago (2013-03-14 21:47:37 UTC) #6
danakj
> Hmm, I guess if we can't share them no harm in having a completely ...
7 years, 9 months ago (2013-03-14 22:54:02 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/12518026/28003
7 years, 9 months ago (2013-03-14 22:58:49 UTC) #8
commit-bot: I haz the power
7 years, 9 months ago (2013-03-15 04:57:39 UTC) #9
Message was sent while issue was closed.
Change committed as 188262

Powered by Google App Engine
This is Rietveld 408576698