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

Issue 1420533009: Cleanup GpuMemoryManager and helpers. (Closed)

Created:
5 years, 1 month ago by sohanjg
Modified:
5 years, 1 month ago
Reviewers:
danakj, ccameron, dcheng, piman
CC:
chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup GpuMemoryManager and helpers. Now that gpu mem calculation has been moved to compositor, remove unused code. This removes GpuMemoryManagerClient and related unit tests. BUG=537563 Committed: https://crrev.com/d1650935866e4efc94cbb5d4ce89f0af97cc4da9 Cr-Commit-Position: refs/heads/master@{#359984}

Patch Set 1 #

Total comments: 14

Patch Set 2 : more cleanup. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -773 lines) Patch
M content/browser/gpu/gpu_process_host.cc View 1 2 chunks +0 lines, -5 lines 0 comments Download
M content/common/gpu/gpu_channel_manager.cc View 1 chunk +1 line, -3 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.h View 1 4 chunks +2 lines, -9 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 1 5 chunks +1 line, -28 lines 0 comments Download
M content/common/gpu/gpu_memory_manager.h View 1 2 chunks +1 line, -99 lines 0 comments Download
M content/common/gpu/gpu_memory_manager.cc View 1 5 chunks +2 lines, -160 lines 0 comments Download
D content/common/gpu/gpu_memory_manager_client.h View 1 chunk +0 lines, -86 lines 0 comments Download
D content/common/gpu/gpu_memory_manager_client.cc View 1 chunk +0 lines, -34 lines 0 comments Download
D content/common/gpu/gpu_memory_manager_unittest.cc View 1 chunk +0 lines, -189 lines 0 comments Download
M content/common/gpu/gpu_memory_uma_stats.h View 1 2 chunks +0 lines, -11 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/content_common.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M content/content_tests.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gl_context_virtual.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gl_context_virtual.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M ui/gl/gl_context.h View 1 1 chunk +0 lines, -5 lines 0 comments Download
M ui/gl/gl_context.cc View 1 1 chunk +0 lines, -6 lines 0 comments Download
M ui/gl/gl_context_android.cc View 1 1 chunk +0 lines, -52 lines 0 comments Download
M ui/gl/gl_context_cgl.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M ui/gl/gl_context_cgl.cc View 1 1 chunk +0 lines, -53 lines 0 comments Download
M ui/gl/gl_context_egl.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M ui/gl/gl_context_egl.cc View 1 1 chunk +0 lines, -8 lines 0 comments Download
M ui/gl/gl_context_glx.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M ui/gl/gl_context_glx.cc View 1 1 chunk +0 lines, -13 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
sohanjg
This is pretty rough, can you please check if i am missing something. thanks.
5 years, 1 month ago (2015-11-10 12:07:30 UTC) #2
piman
https://codereview.chromium.org/1420533009/diff/1/content/common/gpu/gpu_command_buffer_stub.h File content/common/gpu/gpu_command_buffer_stub.h (right): https://codereview.chromium.org/1420533009/diff/1/content/common/gpu/gpu_command_buffer_stub.h#newcode101 content/common/gpu/gpu_command_buffer_stub.h:101: gfx::Size GetSurfaceSize() const; This doesn't look like it's called ...
5 years, 1 month ago (2015-11-10 23:34:49 UTC) #3
sohanjg
Sorry for the delay, was OOO. Can you please take a look, thanks. https://codereview.chromium.org/1420533009/diff/1/content/common/gpu/gpu_command_buffer_stub.h File ...
5 years, 1 month ago (2015-11-13 07:30:44 UTC) #4
piman
lgtm
5 years, 1 month ago (2015-11-14 01:20:08 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420533009/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420533009/20001
5 years, 1 month ago (2015-11-14 05:09:56 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/140825)
5 years, 1 month ago (2015-11-14 07:34:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420533009/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420533009/20001
5 years, 1 month ago (2015-11-16 06:42:48 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/118800)
5 years, 1 month ago (2015-11-16 06:50:39 UTC) #15
sohanjg
On 2015/11/16 06:50:39, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 1 month ago (2015-11-16 07:27:25 UTC) #16
dcheng
rs lgtm for removals in gpu_messages.h
5 years, 1 month ago (2015-11-17 01:25:57 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1420533009/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1420533009/20001
5 years, 1 month ago (2015-11-17 02:15:20 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-17 02:47:46 UTC) #21
commit-bot: I haz the power
5 years, 1 month ago (2015-11-17 02:48:47 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d1650935866e4efc94cbb5d4ce89f0af97cc4da9
Cr-Commit-Position: refs/heads/master@{#359984}

Powered by Google App Engine
This is Rietveld 408576698