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

Issue 11195015: Remove use of wtf/ListHashSet from CCPrioritizedTextureManager. (Closed)

Created:
8 years, 2 months ago by ccameron
Modified:
8 years, 2 months ago
Reviewers:
jamesr, epenner
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

Remove use of wtf/ListHashSet from CCPrioritizedTextureManager. We actually don't need the O(1) lookup for backings, so just use a list. BUG=154451 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162335

Patch Set 1 #

Patch Set 2 : Remove include #

Total comments: 11

Patch Set 3 : Incorporate review feedback #

Total comments: 1

Patch Set 4 : Track tail sorting and add more asserts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -73 lines) Patch
M cc/prioritized_texture.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/prioritized_texture_manager.h View 1 2 3 5 chunks +11 lines, -11 lines 0 comments Download
M cc/prioritized_texture_manager.cc View 1 2 3 17 chunks +57 lines, -59 lines 0 comments Download
M cc/single_thread_proxy.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/thread_proxy.h View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
ccameron
https://codereview.chromium.org/11195015/diff/2001/cc/prioritized_texture_manager.cc File cc/prioritized_texture_manager.cc (right): https://codereview.chromium.org/11195015/diff/2001/cc/prioritized_texture_manager.cc#newcode353 cc/prioritized_texture_manager.cc:353: m_backings.push_front(backing); There was some controversy about doing this "add ...
8 years, 2 months ago (2012-10-17 01:10:51 UTC) #1
jamesr
https://codereview.chromium.org/11195015/diff/2001/cc/prioritized_texture_manager.cc File cc/prioritized_texture_manager.cc (left): https://codereview.chromium.org/11195015/diff/2001/cc/prioritized_texture_manager.cc#oldcode131 cc/prioritized_texture_manager.cc:131: BackingVector& sortedBackings = m_tempBackingVector; can we get rid of ...
8 years, 2 months ago (2012-10-17 01:31:11 UTC) #2
ccameron
Thanks! https://codereview.chromium.org/11195015/diff/2001/cc/prioritized_texture_manager.cc File cc/prioritized_texture_manager.cc (left): https://codereview.chromium.org/11195015/diff/2001/cc/prioritized_texture_manager.cc#oldcode131 cc/prioritized_texture_manager.cc:131: BackingVector& sortedBackings = m_tempBackingVector; On 2012/10/17 01:31:11, jamesr ...
8 years, 2 months ago (2012-10-17 02:13:58 UTC) #3
jamesr
lgtm https://codereview.chromium.org/11195015/diff/6002/cc/prioritized_texture_manager.cc File cc/prioritized_texture_manager.cc (right): https://codereview.chromium.org/11195015/diff/6002/cc/prioritized_texture_manager.cc#newcode268 cc/prioritized_texture_manager.cc:268: sortBackings(); This will be unnecessary a lot of ...
8 years, 2 months ago (2012-10-17 02:20:59 UTC) #4
ccameron
On 2012/10/17 02:20:59, jamesr wrote: > lgtm > > https://codereview.chromium.org/11195015/diff/6002/cc/prioritized_texture_manager.cc > File cc/prioritized_texture_manager.cc (right): > ...
8 years, 2 months ago (2012-10-17 04:14:14 UTC) #5
jamesr
Not sure if the distinction will matter much in the end, but sure. Still lgtm
8 years, 2 months ago (2012-10-17 04:37:09 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/11195015/1006
8 years, 2 months ago (2012-10-17 06:40:59 UTC) #7
commit-bot: I haz the power
8 years, 2 months ago (2012-10-17 09:18:54 UTC) #8
Change committed as 162335

Powered by Google App Engine
This is Rietveld 408576698