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

Issue 448133002: Remove unused RenderPassDrawQuad fields (Closed)

Created:
6 years, 4 months ago by danakj
Modified:
6 years, 4 months ago
Reviewers:
Tom Sepez, enne (OOO)
CC:
cc-bugs_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, piman, weiliangc
Project:
chromium
Visibility:
Public.

Description

Remove unused RenderPassDrawQuad fields The contents_changed_since_last_frame and is_replica fields are not used. Also removes RenderSurfaceImpl's ContentsChanged() as this method was only used in determining the value of contents_changed_since_last_frame. Unfortunately now RenderPassDrawQuad is only the largest quad type on 64-bit builds. So, adds kLargestQuadType to cc/quads/ and moves the largest-quad-type unit test there verifying that kLargestQuadType is the largest now, instead of RenderPassDrawQuad. R=enne BUG=401481 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289091

Patch Set 1 #

Patch Set 2 : rpdqdamage: . #

Patch Set 3 : rpdqdamage: addmissingfile #

Total comments: 2

Patch Set 4 : rpdqdamage: tryanotehrway #

Patch Set 5 : rpdqdamage: thatdidntwork #

Patch Set 6 : rpdqdamage: streamvideo #

Patch Set 7 : rpdqdamage: comment #

Patch Set 8 : rpdqdamage: rebase #

Patch Set 9 : rpdqdamage: logging #

Patch Set 10 : rpdqdamage: permalogging #

Patch Set 11 : rpdqdamage: win64 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -246 lines) Patch
M cc/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M cc/cc.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/delegated_renderer_layer_impl_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -4 lines 0 comments Download
M cc/layers/render_surface_impl.h View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/layers/render_surface_impl.cc View 1 2 3 4 5 6 7 3 chunks +0 lines, -8 lines 0 comments Download
M cc/output/renderer_pixeltest.cc View 1 2 3 4 5 6 7 7 chunks +0 lines, -14 lines 0 comments Download
M cc/quads/draw_quad_unittest.cc View 1 2 3 4 5 6 7 8 9 11 chunks +145 lines, -115 lines 0 comments Download
A cc/quads/largest_draw_quad.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +20 lines, -0 lines 0 comments Download
M cc/quads/render_pass_draw_quad.h View 1 2 3 4 5 6 7 2 chunks +0 lines, -6 lines 0 comments Download
M cc/quads/render_pass_draw_quad.cc View 1 2 3 4 5 6 7 6 chunks +0 lines, -14 lines 0 comments Download
M cc/quads/render_pass_unittest.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M cc/surfaces/surface_aggregator_test_helpers.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M cc/test/render_pass_test_common.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -4 lines 0 comments Download
M cc/test/render_pass_test_utils.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 chunks +0 lines, -9 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_delegated.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M content/common/cc_messages.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M content/common/cc_messages.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M content/common/cc_messages_unittest.cc View 1 2 3 4 5 6 7 3 chunks +0 lines, -57 lines 0 comments Download

Messages

Total messages: 52 (0 generated)
danakj
6 years, 4 months ago (2014-08-07 13:31:59 UTC) #1
danakj
+tsepez IPC review, removing a field.
6 years, 4 months ago (2014-08-07 13:32:30 UTC) #2
enne (OOO)
lgtm
6 years, 4 months ago (2014-08-07 17:03:56 UTC) #3
Tom Sepez
Rubberstamp LGTM on deleting field.
6 years, 4 months ago (2014-08-07 17:09:10 UTC) #4
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 4 months ago (2014-08-08 01:34:03 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/448133002/1
6 years, 4 months ago (2014-08-08 01:40:34 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-08 06:24:44 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-08 06:57:54 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/1057)
6 years, 4 months ago (2014-08-08 06:57:55 UTC) #9
danakj
Fun times! RenderPassDrawQuad is no longer the largest quad type... on 32 bit builds...
6 years, 4 months ago (2014-08-08 13:32:17 UTC) #10
danakj
enne: PTAL Turns out RPDQ::is_replica is not used either, so I removed that too. To ...
6 years, 4 months ago (2014-08-08 15:05:19 UTC) #11
danakj
tsepez: there's a new change in cc_messages.cc if you can look please. I've replaced sizeof(RenderPassDrawQuad) ...
6 years, 4 months ago (2014-08-08 15:09:56 UTC) #12
enne (OOO)
lgtm
6 years, 4 months ago (2014-08-08 17:01:17 UTC) #13
Tom Sepez
LGTM with comment. https://codereview.chromium.org/448133002/diff/40001/content/common/cc_messages.cc File content/common/cc_messages.cc (right): https://codereview.chromium.org/448133002/diff/40001/content/common/cc_messages.cc#newcode392 content/common/cc_messages.cc:392: to_reserve += p.quad_list.size() * sizeof(cc::kLargestDrawQuad); nit: ...
6 years, 4 months ago (2014-08-08 17:41:11 UTC) #14
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 4 months ago (2014-08-08 19:52:04 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/448133002/100001
6 years, 4 months ago (2014-08-08 19:53:02 UTC) #16
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 4 months ago (2014-08-08 19:53:13 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/448133002/120001
6 years, 4 months ago (2014-08-08 19:55:12 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-09 04:08:15 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-09 10:11:09 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel/builds/5097)
6 years, 4 months ago (2014-08-09 10:11:10 UTC) #21
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 4 months ago (2014-08-10 12:21:59 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/448133002/120001
6 years, 4 months ago (2014-08-10 12:23:03 UTC) #23
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-10 12:26:02 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-10 12:28:44 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel/builds/5187)
6 years, 4 months ago (2014-08-10 12:28:46 UTC) #26
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 4 months ago (2014-08-10 12:53:47 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/448133002/120001
6 years, 4 months ago (2014-08-10 12:54:01 UTC) #28
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-10 12:57:03 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-10 12:59:34 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel/builds/5190)
6 years, 4 months ago (2014-08-10 12:59:35 UTC) #31
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 4 months ago (2014-08-10 14:43:32 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/448133002/120001
6 years, 4 months ago (2014-08-10 14:44:39 UTC) #33
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-10 14:48:06 UTC) #34
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-10 14:51:04 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel/builds/5195)
6 years, 4 months ago (2014-08-10 14:51:05 UTC) #36
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 4 months ago (2014-08-11 13:49:20 UTC) #37
danakj
The CQ bit was unchecked by danakj@chromium.org
6 years, 4 months ago (2014-08-11 13:49:21 UTC) #38
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 4 months ago (2014-08-11 14:43:37 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/448133002/140001
6 years, 4 months ago (2014-08-11 14:44:55 UTC) #40
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-12 02:52:28 UTC) #41
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-12 04:33:34 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel/builds/5706)
6 years, 4 months ago (2014-08-12 04:33:35 UTC) #43
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 4 months ago (2014-08-12 16:39:57 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/448133002/200001
6 years, 4 months ago (2014-08-12 16:42:32 UTC) #45
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 4 months ago (2014-08-12 16:43:43 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/448133002/220001
6 years, 4 months ago (2014-08-12 16:46:11 UTC) #47
danakj
https://codereview.chromium.org/448133002/diff/40001/content/common/cc_messages.cc File content/common/cc_messages.cc (right): https://codereview.chromium.org/448133002/diff/40001/content/common/cc_messages.cc#newcode392 content/common/cc_messages.cc:392: to_reserve += p.quad_list.size() * sizeof(cc::kLargestDrawQuad); On 2014/08/08 17:41:11, Tom ...
6 years, 4 months ago (2014-08-12 16:48:51 UTC) #48
danakj
The CQ bit was unchecked by danakj@chromium.org
6 years, 4 months ago (2014-08-12 21:55:16 UTC) #49
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 4 months ago (2014-08-12 21:55:26 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/448133002/220001
6 years, 4 months ago (2014-08-12 22:03:04 UTC) #51
commit-bot: I haz the power
6 years, 4 months ago (2014-08-12 22:41:23 UTC) #52
Message was sent while issue was closed.
Change committed as 289091

Powered by Google App Engine
This is Rietveld 408576698