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

Issue 10656044: Add basic support to dump pixel results (Closed)

Created:
8 years, 6 months ago by jochen (gone - plz use gerrit)
Modified:
8 years, 5 months ago
Reviewers:
jam, marja
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch-content_chromium.org
Visibility:
Public.

Description

Add basic support to dump pixel results BUG=111316 TEST="webkit/tools/layout_tests/run_webkit_tests.py --chromium --debug --driver-name=content_shell --additional-drt-flag=--dump-render-tree css3/css3-modsel-33.html" should pass Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=144436

Patch Set 1 #

Patch Set 2 : updates #

Total comments: 2

Patch Set 3 : updates #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -15 lines) Patch
M content/shell/layout_test_controller.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/layout_test_controller.cc View 1 4 chunks +54 lines, -0 lines 2 comments Download
M content/shell/layout_test_controller_host.h View 4 chunks +7 lines, -0 lines 0 comments Download
M content/shell/layout_test_controller_host.cc View 1 2 5 chunks +62 lines, -0 lines 2 comments Download
M content/shell/shell_browser_main.cc View 4 chunks +16 lines, -15 lines 0 comments Download
M content/shell/shell_messages.h View 2 chunks +10 lines, -0 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
marja
https://chromiumcodereview.appspot.com/10656044/diff/5002/content/shell/layout_test_controller_host.cc File content/shell/layout_test_controller_host.cc (right): https://chromiumcodereview.appspot.com/10656044/diff/5002/content/shell/layout_test_controller_host.cc#newcode34 content/shell/layout_test_controller_host.cc:34: expected_pixel_hash_ = expected_pixel_hash_; This NOOP line is probably not ...
8 years, 6 months ago (2012-06-26 13:32:43 UTC) #1
jochen (gone - plz use gerrit)
John, can you plz review this CL https://chromiumcodereview.appspot.com/10656044/diff/5002/content/shell/layout_test_controller_host.cc File content/shell/layout_test_controller_host.cc (right): https://chromiumcodereview.appspot.com/10656044/diff/5002/content/shell/layout_test_controller_host.cc#newcode34 content/shell/layout_test_controller_host.cc:34: expected_pixel_hash_ = ...
8 years, 6 months ago (2012-06-26 13:38:55 UTC) #2
jochen (gone - plz use gerrit)
https://chromiumcodereview.appspot.com/10656044/diff/7007/content/shell/layout_test_controller.cc File content/shell/layout_test_controller.cc (right): https://chromiumcodereview.appspot.com/10656044/diff/7007/content/shell/layout_test_controller.cc#newcode106 content/shell/layout_test_controller.cc:106: void MakeBitmapOpaque(SkBitmap* bitmap) { compare to makeCanvasOpaque in TestShell.cpp ...
8 years, 6 months ago (2012-06-26 13:40:32 UTC) #3
jam
lgtm have you timed how long it takes to send the image over IPC? i ...
8 years, 6 months ago (2012-06-26 15:03:10 UTC) #4
jochen (gone - plz use gerrit)
8 years, 6 months ago (2012-06-26 17:36:42 UTC) #5
On 2012/06/26 15:03:10, John Abd-El-Malek wrote:
> lgtm
> 
> have you timed how long it takes to send the image over IPC? i thought that
> MacIPC is slow at sending large data. not urgent, but if it turns out to be
slow
> enough to impact test run performance, you might want to send it over shared
> memory.

No, I didn't time it yet. The pictures are 800x600, so it's not that much data.

However, I could just send the pixel hash to the renderer as well, and only send
the image back if it differs from the expected result.

Powered by Google App Engine
This is Rietveld 408576698