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

Issue 10823092: Add a flag to specify the amount of total GPU memory available. (Closed)

Created:
8 years, 4 months ago by ccameron
Modified:
8 years, 4 months ago
Reviewers:
greggman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium
Visibility:
Public.

Description

Add a flag to specify the total amount of memory which may be allocated to GPU resources. Change constants in GpuMemoryManager to helper functions (and variables). This is towards (1) automated testing of the GPU memory manager and (2) getting actual vidmem values. BUG=132994 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149149

Patch Set 1 #

Patch Set 2 : Fix botched merge, some touch-ups #

Total comments: 8

Patch Set 3 : Review feedback. #

Patch Set 4 : Remove unnecessary #if-ANDROID lines #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -86 lines) Patch
M content/common/gpu/gpu_memory_manager.h View 1 2 3 4 chunks +20 lines, -22 lines 0 comments Download
M content/common/gpu/gpu_memory_manager.cc View 1 2 3 9 chunks +43 lines, -41 lines 0 comments Download
M content/common/gpu/gpu_memory_manager_unittest.cc View 1 2 8 chunks +27 lines, -23 lines 0 comments Download
M gpu/command_buffer/service/gpu_switches.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/gpu_switches.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ccameron
8 years, 4 months ago (2012-07-30 23:34:42 UTC) #1
greggman
just some style issues otherwise LGTM http://codereview.chromium.org/10823092/diff/2001/content/common/gpu/gpu_memory_manager.cc File content/common/gpu/gpu_memory_manager.cc (right): http://codereview.chromium.org/10823092/diff/2001/content/common/gpu/gpu_memory_manager.cc#newcode55 content/common/gpu/gpu_memory_manager.cc:55: const int viewportMultiplier ...
8 years, 4 months ago (2012-07-31 00:30:41 UTC) #2
ccameron
http://codereview.chromium.org/10823092/diff/2001/content/common/gpu/gpu_memory_manager.cc File content/common/gpu/gpu_memory_manager.cc (right): http://codereview.chromium.org/10823092/diff/2001/content/common/gpu/gpu_memory_manager.cc#newcode55 content/common/gpu/gpu_memory_manager.cc:55: const int viewportMultiplier = 16; On 2012/07/31 00:30:41, greggman ...
8 years, 4 months ago (2012-07-31 00:52:49 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/10823092/5001
8 years, 4 months ago (2012-07-31 01:05:57 UTC) #4
ccameron
On 2012/07/31 01:05:57, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
8 years, 4 months ago (2012-07-31 01:33:21 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/10823092/10001
8 years, 4 months ago (2012-07-31 06:50:25 UTC) #6
commit-bot: I haz the power
8 years, 4 months ago (2012-07-31 08:46:49 UTC) #7
Change committed as 149149

Powered by Google App Engine
This is Rietveld 408576698