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

Issue 253013003: Enable disabling WebCore::GraphicsContext in telemetry. (Closed)

Created:
6 years, 7 months ago by Stephen Chennney
Modified:
6 years, 7 months ago
Reviewers:
Ian Vollick, danakj, nduca, Sami
CC:
chromium-reviews, Ian Vollick, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, cc-bugs_chromium.org, danakj+watch_chromium.org, telemetry+watch_chromium.org
Visibility:
Public.

Description

Enable disabling WebCore::GraphicsContext in telemetry. Plumb a flag through from telemetry tests to the layer painting code that disables the WebCore::GraphicsContext. This allows us to isolate the various systems that paint web content in Chromium. R=nduca@chromium.org,skyostil@chromium.org BUG=350684 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267913

Patch Set 1 #

Patch Set 2 : Fixed git issues. #

Total comments: 11

Patch Set 3 : Fixes the build and addresses review comments #

Patch Set 4 : Address comments for real #

Patch Set 5 : Add the unittest support #

Patch Set 6 : Rebased #

Total comments: 31

Patch Set 7 : Addressed comments #

Total comments: 6

Patch Set 8 : Patch to land #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -71 lines) Patch
M cc/layers/content_layer.cc View 1 2 3 4 5 6 2 chunks +8 lines, -2 lines 0 comments Download
M cc/layers/content_layer_client.h View 1 2 3 4 5 6 1 chunk +7 lines, -1 line 0 comments Download
M cc/layers/content_layer_unittest.cc View 1 2 3 4 5 6 1 chunk +5 lines, -3 lines 0 comments Download
M cc/layers/picture_image_layer.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M cc/layers/picture_image_layer.cc View 1 2 3 4 5 6 1 chunk +6 lines, -4 lines 0 comments Download
M cc/layers/picture_layer.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -1 line 0 comments Download
M cc/layers/picture_layer_unittest.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -3 lines 0 comments Download
M cc/resources/picture.cc View 1 2 3 4 5 6 7 2 chunks +21 lines, -17 lines 0 comments Download
M cc/resources/picture_unittest.cc View 1 2 3 4 5 6 3 chunks +7 lines, -1 line 0 comments Download
M cc/test/fake_content_layer_client.h View 1 2 3 4 5 6 3 chunks +10 lines, -3 lines 0 comments Download
M cc/test/fake_content_layer_client.cc View 1 2 3 4 5 6 1 chunk +6 lines, -4 lines 0 comments Download
M cc/test/solid_color_content_layer_client.h View 1 2 3 4 5 6 1 chunk +5 lines, -3 lines 0 comments Download
M cc/test/solid_color_content_layer_client.cc View 1 2 3 4 5 6 1 chunk +4 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 4 5 6 1 chunk +5 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_pixeltest_masks.cc View 1 2 3 4 5 6 2 chunks +7 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc View 1 2 3 4 5 6 1 chunk +5 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 5 6 7 3 chunks +15 lines, -8 lines 0 comments Download
M ui/compositor/layer.h View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M ui/compositor/layer.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M webkit/renderer/compositor_bindings/web_content_layer_impl.h View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M webkit/renderer/compositor_bindings/web_content_layer_impl.cc View 1 2 3 4 5 6 2 chunks +13 lines, -4 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Stephen Chennney
Can't land anything like this until Blink changes land. Also, don't know why .gitmodules is ...
6 years, 7 months ago (2014-04-28 20:09:04 UTC) #1
Sami
Thanks Stephen. I think this looks okay functionally. Just a few stylistic nits below. https://codereview.chromium.org/253013003/diff/20001/cc/layers/content_layer_client.h ...
6 years, 7 months ago (2014-04-29 10:57:23 UTC) #2
Stephen Chennney
I think I've addressed everything. To fix the tests build I needed a lot more ...
6 years, 7 months ago (2014-04-29 20:30:44 UTC) #3
Sami
https://codereview.chromium.org/253013003/diff/20001/cc/resources/picture_unittest.cc File cc/resources/picture_unittest.cc (right): https://codereview.chromium.org/253013003/diff/20001/cc/resources/picture_unittest.cc#newcode483 cc/resources/picture_unittest.cc:483: EXPECT_TRUE(content_layer_client.last_canvas() != NULL); On 2014/04/29 20:30:45, Stephen Chenney wrote: ...
6 years, 7 months ago (2014-04-29 20:47:47 UTC) #4
Stephen Chennney
OK. Ready to go, I think.
6 years, 7 months ago (2014-04-30 19:05:08 UTC) #5
Sami
Thanks Stephen, 1gtm modulo a few comments. I'll let Nat (or danakj or enne) to ...
6 years, 7 months ago (2014-05-01 16:32:52 UTC) #6
danakj
https://codereview.chromium.org/253013003/diff/100001/cc/layers/content_layer_client.h File cc/layers/content_layer_client.h (right): https://codereview.chromium.org/253013003/diff/100001/cc/layers/content_layer_client.h#newcode22 cc/layers/content_layer_client.h:22: GraphicsContextEnabled, On 2014/05/01 16:32:53, Sami wrote: > nit: Swap ...
6 years, 7 months ago (2014-05-01 17:07:11 UTC) #7
danakj
https://codereview.chromium.org/253013003/diff/100001/cc/resources/picture.cc File cc/resources/picture.cc (right): https://codereview.chromium.org/253013003/diff/100001/cc/resources/picture.cc#newcode299 cc/resources/picture.cc:299: if (canvas) { This if() can go away too? ...
6 years, 7 months ago (2014-05-01 17:07:50 UTC) #8
Stephen Chennney
Thanks for the thorough reviews. I'll get the next patch up once I verify it ...
6 years, 7 months ago (2014-05-01 19:12:25 UTC) #9
danakj
https://codereview.chromium.org/253013003/diff/100001/cc/layers/picture_image_layer.cc File cc/layers/picture_image_layer.cc (right): https://codereview.chromium.org/253013003/diff/100001/cc/layers/picture_image_layer.cc#newcode48 cc/layers/picture_image_layer.cc:48: if (!bitmap_.width() || !bitmap_.height()) On 2014/05/01 19:12:26, Stephen Chenney ...
6 years, 7 months ago (2014-05-01 19:15:14 UTC) #10
Stephen Chennney
On 2014/05/01 19:15:14, danakj wrote: > https://codereview.chromium.org/253013003/diff/100001/cc/layers/picture_image_layer.cc > File cc/layers/picture_image_layer.cc (right): > > https://codereview.chromium.org/253013003/diff/100001/cc/layers/picture_image_layer.cc#newcode48 > ...
6 years, 7 months ago (2014-05-01 20:10:37 UTC) #11
danakj
LGTM https://codereview.chromium.org/253013003/diff/120001/cc/resources/picture.cc File cc/resources/picture.cc (right): https://codereview.chromium.org/253013003/diff/120001/cc/resources/picture.cc#newcode287 cc/resources/picture.cc:287: // We pass a disable flag through the ...
6 years, 7 months ago (2014-05-01 20:31:56 UTC) #12
Stephen Chennney
Thanks Dana. https://codereview.chromium.org/253013003/diff/120001/cc/resources/picture.cc File cc/resources/picture.cc (right): https://codereview.chromium.org/253013003/diff/120001/cc/resources/picture.cc#newcode287 cc/resources/picture.cc:287: // We pass a disable flag through ...
6 years, 7 months ago (2014-05-02 18:40:44 UTC) #13
Stephen Chennney
The CQ bit was checked by schenney@chromium.org
6 years, 7 months ago (2014-05-02 18:40:51 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/schenney@chromium.org/253013003/130001
6 years, 7 months ago (2014-05-02 18:41:01 UTC) #15
commit-bot: I haz the power
6 years, 7 months ago (2014-05-02 21:03:10 UTC) #16
Message was sent while issue was closed.
Change committed as 267913

Powered by Google App Engine
This is Rietveld 408576698