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

Issue 10989026: cc: Remove the WTF::Vector dependency from CCRenderPass. (Closed)

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

Description

cc: Remove the WTF::Vector dependency from CCRenderPass. Replace the use of Vector with std::vector instead. Covered by existing tests. BUG=152049 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=159098

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : rebase #

Patch Set 4 : asserts #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -21 lines) Patch
M cc/CCDirectRenderer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M cc/CCLayerTreeHostImpl.cpp View 1 2 3 7 chunks +17 lines, -13 lines 2 comments Download
M cc/CCLayerTreeHostImplTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M cc/CCRenderPass.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/CCRendererGLTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/CCRendererSoftwareTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
danakj
PTAL. This is a much smaller one, it depends on https://codereview.chromium.org/10989024
8 years, 2 months ago (2012-09-25 22:09:18 UTC) #1
jamesr
lgtm https://codereview.chromium.org/10989026/diff/1/cc/CCLayerTreeHostImpl.cpp File cc/CCLayerTreeHostImpl.cpp (right): https://codereview.chromium.org/10989026/diff/1/cc/CCLayerTreeHostImpl.cpp#newcode425 cc/CCLayerTreeHostImpl.cpp:425: const CCRenderPass* removedPass = frame.renderPasses[removeIndex]; can we just ...
8 years, 2 months ago (2012-09-25 22:20:35 UTC) #2
danakj
Thanks! https://codereview.chromium.org/10989026/diff/1/cc/CCLayerTreeHostImpl.cpp File cc/CCLayerTreeHostImpl.cpp (right): https://codereview.chromium.org/10989026/diff/1/cc/CCLayerTreeHostImpl.cpp#newcode452 cc/CCLayerTreeHostImpl.cpp:452: size_t passIndex = std::distance(renderPasses.begin(), foundPass); On 2012/09/25 22:20:35, ...
8 years, 2 months ago (2012-09-25 22:38:09 UTC) #3
danakj
On 2012/09/25 22:38:09, danakj wrote: > Thanks! > > https://codereview.chromium.org/10989026/diff/1/cc/CCLayerTreeHostImpl.cpp > File cc/CCLayerTreeHostImpl.cpp (right): > ...
8 years, 2 months ago (2012-09-25 22:39:00 UTC) #4
danakj
On 2012/09/25 22:39:00, danakj wrote: > On 2012/09/25 22:38:09, danakj wrote: > > Thanks! > ...
8 years, 2 months ago (2012-09-25 22:41:00 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/10989026/7001
8 years, 2 months ago (2012-09-26 23:46:16 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/10989026/9003
8 years, 2 months ago (2012-09-26 23:57:26 UTC) #7
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 2 months ago (2012-09-27 02:03:38 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/10989026/9003
8 years, 2 months ago (2012-09-27 02:19:08 UTC) #9
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 2 months ago (2012-09-27 03:55:07 UTC) #10
tfarina
https://codereview.chromium.org/10989026/diff/9003/cc/CCLayerTreeHostImpl.cpp File cc/CCLayerTreeHostImpl.cpp (right): https://codereview.chromium.org/10989026/diff/9003/cc/CCLayerTreeHostImpl.cpp#newcode262 cc/CCLayerTreeHostImpl.cpp:262: ASSERT(!frame.renderPasses.size()); this should have been empty().
8 years, 2 months ago (2012-10-05 02:02:12 UTC) #11
danakj
8 years, 2 months ago (2012-10-05 14:32:12 UTC) #12
https://codereview.chromium.org/10989026/diff/9003/cc/CCLayerTreeHostImpl.cpp
File cc/CCLayerTreeHostImpl.cpp (right):

https://codereview.chromium.org/10989026/diff/9003/cc/CCLayerTreeHostImpl.cpp...
cc/CCLayerTreeHostImpl.cpp:262: ASSERT(!frame.renderPasses.size());
On 2012/10/05 02:02:12, tfarina wrote:
> this should have been empty().

yes, thanks!

Powered by Google App Engine
This is Rietveld 408576698