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

Issue 10801014: Add GetStubStats and related functions in GpuMemoryManager. (Closed)

Created:
8 years, 5 months ago by mmocny
Modified:
8 years, 5 months ago
Reviewers:
nduca, piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium
Visibility:
Public.

Description

Provide stub implementations of GetStubStats and related functions in GpuMemoryManager. BUG=131650 TEST=GpuMemoryManagerTest.GetStubStatsForLastManageTests content unittest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=147475

Patch Set 1 #

Patch Set 2 : Diff with master not local branch #

Patch Set 3 : Adding comments, renaming some functions. #

Total comments: 4

Patch Set 4 : fixing nits, adding simple implementations and unittest #

Patch Set 5 : fixing unittest name to reflect new function name. #

Patch Set 6 : Diff from master instead of local branch #

Total comments: 7

Patch Set 7 : fixing nits, replacing map with hash, adding typedef #

Patch Set 8 : diff from master #

Patch Set 9 : . #

Patch Set 10 : patch branch from master, hopefully will merge properly now #

Patch Set 11 : Removing hash specialization on win. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -17 lines) Patch
M content/common/gpu/gpu_memory_allocation.h View 1 2 3 4 5 6 7 1 chunk +25 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_memory_manager.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +45 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_memory_manager.cc View 1 2 3 4 5 6 7 4 chunks +60 lines, -17 lines 0 comments Download
M content/common/gpu/gpu_memory_manager_unittest.cc View 1 2 3 4 5 6 7 1 chunk +69 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
mmocny
@ccameron and I are working towards adding pyauto(?) tests for GpuMemoryManager (see http://codereview.chromium.org/10702200/). This patch ...
8 years, 5 months ago (2012-07-18 15:08:13 UTC) #1
piman
Some style nits. At a high level, the structures seem fine, but since the stats ...
8 years, 5 months ago (2012-07-18 17:11:25 UTC) #2
mmocny
Fixed nits, added simple implementation for stats given the current manage function, and added unittest.
8 years, 5 months ago (2012-07-18 18:33:35 UTC) #3
piman
LGTM + many nits. Please address before landing. https://chromiumcodereview.appspot.com/10801014/diff/7002/content/common/gpu/gpu_memory_allocation.h File content/common/gpu/gpu_memory_allocation.h (right): https://chromiumcodereview.appspot.com/10801014/diff/7002/content/common/gpu/gpu_memory_allocation.h#newcode112 content/common/gpu/gpu_memory_allocation.h:112: : ...
8 years, 5 months ago (2012-07-18 19:59:58 UTC) #4
mmocny
Thanks for review. I had to add a hash function definition since it isn't implemented ...
8 years, 5 months ago (2012-07-18 20:50:02 UTC) #5
piman
A lot more went into this latest patch - is that intended? About the hash ...
8 years, 5 months ago (2012-07-18 21:06:23 UTC) #6
mmocny
That wasn't intended, sorry. I branched from a local branch and now it uploads diffs ...
8 years, 5 months ago (2012-07-18 21:09:27 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmocny@chromium.org/10801014/11003
8 years, 5 months ago (2012-07-19 16:35:32 UTC) #8
commit-bot: I haz the power
8 years, 5 months ago (2012-07-19 17:46:01 UTC) #9
Change committed as 147475

Powered by Google App Engine
This is Rietveld 408576698