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

Issue 11412289: Basic pixel tests for cc (Closed)

Created:
8 years ago by jamesr
Modified:
8 years ago
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 5

Patch Set 2 : moves png comparison code to cc/test, does actual comparison #

Total comments: 14

Patch Set 3 : addresses comments #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : disable on android #

Patch Set 7 : rebase for OutputSurface rename #

Patch Set 8 : 80 col for cc/test/pixel_test_output_surface.cc #

Patch Set 9 : #

Patch Set 10 : rebased #

Patch Set 11 : fix AtExitManager registration stuff #

Unified diffs Side-by-side diffs Delta from patch set Stats (+418 lines, -101 lines) Patch
M cc/DEPS View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M cc/cc_tests.gyp View 1 2 3 4 5 6 7 8 9 10 6 chunks +28 lines, -7 lines 0 comments Download
A cc/gl_renderer_pixeltest.cc View 1 2 3 4 5 6 1 chunk +116 lines, -0 lines 0 comments Download
M cc/layer_tree_host_perftest.cc View 1 2 3 4 3 chunks +5 lines, -6 lines 0 comments Download
A cc/test/DEPS View 1 1 chunk +5 lines, -0 lines 0 comments Download
A + cc/test/cc_test_suite.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +9 lines, -10 lines 0 comments Download
A cc/test/cc_test_suite.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +31 lines, -0 lines 0 comments Download
A cc/test/paths.h View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
A + cc/test/paths.cc View 1 2 3 3 chunks +7 lines, -7 lines 0 comments Download
A cc/test/pixel_test_output_surface.h View 1 2 3 4 5 6 1 chunk +37 lines, -0 lines 0 comments Download
A cc/test/pixel_test_output_surface.cc View 1 2 3 4 5 6 7 1 chunk +36 lines, -0 lines 0 comments Download
A cc/test/pixel_test_utils.h View 1 1 chunk +25 lines, -0 lines 0 comments Download
A cc/test/pixel_test_utils.cc View 1 2 3 4 1 chunk +81 lines, -0 lines 0 comments Download
M cc/test/run_all_unittests.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
M ui/compositor/compositor.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/compositor/layer_unittest.cc View 1 2 chunks +3 lines, -67 lines 0 comments Download
M ui/compositor/test/test_compositor_host_mac.mm View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M ui/gl/gl_implementation_mac.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
jamesr
This is a ghetto start to pixel tests for cc. piman@ - there's nifty utilities ...
8 years ago (2012-12-01 01:38:13 UTC) #1
danakj
Neet :) https://codereview.chromium.org/11412289/diff/1/cc/cc_tests.gyp File cc/cc_tests.gyp (right): https://codereview.chromium.org/11412289/diff/1/cc/cc_tests.gyp#newcode19 cc/cc_tests.gyp:19: 'gl_renderer_pixel_test.cc', pixeltest instead of pixel_test? https://codereview.chromium.org/11412289/diff/1/cc/gl_renderer.h File ...
8 years ago (2012-12-01 01:56:36 UTC) #2
jamesr
> https://codereview.chromium.org/11412289/diff/1/cc/gl_renderer_pixel_test.cc#newcode99 > cc/gl_renderer_pixel_test.cc:99: > file_util::WriteFile(test_data_directory.AppendASCII("green.png"), > Why writing a file instead of comparing? There's ...
8 years ago (2012-12-01 01:57:59 UTC) #3
piman
On 2012/12/01 01:38:13, jamesr wrote: > This is a ghetto start to pixel tests for ...
8 years ago (2012-12-01 02:16:33 UTC) #4
jamesr
This is I think a minimum viable first cut. I'd like to refactor some more ...
8 years ago (2012-12-03 07:33:40 UTC) #5
danakj
Looks good, mostly some questions/concerns about the copypasta for cc_paths https://codereview.chromium.org/11412289/diff/5001/cc/cc.gyp File cc/cc.gyp (right): https://codereview.chromium.org/11412289/diff/5001/cc/cc.gyp#newcode20 ...
8 years ago (2012-12-03 19:14:10 UTC) #6
piman
LGTM
8 years ago (2012-12-03 19:28:28 UTC) #7
enne (OOO)
lgtm. Thanks for biting the bullet and implementing this. It'll be great to have. Two ...
8 years ago (2012-12-03 21:40:29 UTC) #8
jamesr
On 2012/12/03 19:14:10, danakj wrote: > Looks good, mostly some questions/concerns about the copypasta for ...
8 years ago (2012-12-04 02:21:01 UTC) #9
jamesr
Ken - could you please OWNERS review the ui/gl/gl_implementation_mac.cc change? It's so I can use ...
8 years ago (2012-12-04 02:21:46 UTC) #10
Ken Russell (switch to Gerrit)
ui/gl LGTM
8 years ago (2012-12-04 02:47:13 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11412289/11002
8 years ago (2012-12-04 05:45:45 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11412289/8006
8 years ago (2012-12-04 17:22:14 UTC) #13
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
8 years ago (2012-12-04 21:45:40 UTC) #14
jamesr
On 2012/12/04 21:45:40, I haz the power (commit-bot) wrote: > The commit queue went berserk ...
8 years ago (2012-12-04 22:16:06 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11412289/15001
8 years ago (2012-12-06 00:09:10 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11412289/29002
8 years ago (2012-12-06 05:22:10 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11412289/29002
8 years ago (2012-12-06 17:20:48 UTC) #18
commit-bot: I haz the power
Change committed as 171544
8 years ago (2012-12-06 18:47:49 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11412289/39001
8 years ago (2012-12-07 02:49:34 UTC) #20
commit-bot: I haz the power
8 years ago (2012-12-07 08:52:04 UTC) #21
Message was sent while issue was closed.
Change committed as 171735

Powered by Google App Engine
This is Rietveld 408576698