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

Issue 1055403010: content: Add GpuMemoryBuffer MemoryDumpProvider implementation. (Closed)

Created:
5 years, 8 months ago by reveman
Modified:
5 years, 7 months ago
CC:
chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, jam, jbauman+watch_chromium.org, kalyank, piman+watch_chromium.org, sievers+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

content: Add GpuMemoryBuffer MemoryDumpProvider implementation. Includes a minor GpuMemoryBufferImpl refactor to provide the manager with an estimated buffer size. BUG=481203 Committed: https://crrev.com/84c4caf913fc2eb23f29784d1a9d72cdc06f9ab9 Cr-Commit-Position: refs/heads/master@{#327968}

Patch Set 1 #

Patch Set 2 : fix unittest typo #

Patch Set 3 : save register of dump provider to follow up patch #

Total comments: 8

Patch Set 4 : rebase #

Patch Set 5 : register/unregister #

Total comments: 4

Patch Set 6 : const and kNameOuterSize #

Patch Set 7 : remove incorrect use of _it suffix #

Patch Set 8 : add const #

Patch Set 9 : move register out of ifdef #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -111 lines) Patch
M content/browser/browser_main_loop.cc View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/browser_process_sub_thread.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/gpu/browser_gpu_memory_buffer_manager.h View 1 2 3 5 chunks +20 lines, -3 lines 0 comments Download
M content/browser/gpu/browser_gpu_memory_buffer_manager.cc View 1 2 3 4 5 6 7 9 chunks +46 lines, -13 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl.h View 1 chunk +17 lines, -7 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl.cc View 2 chunks +55 lines, -35 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h View 1 chunk +0 lines, -6 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc View 3 chunks +10 lines, -32 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.cc View 1 chunk +6 lines, -5 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_unittest.cc View 1 1 chunk +21 lines, -10 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
reveman
+primiano for memory tracing related changes to content/browser/gpu/browser_gpu_memory_buffer_manager.* +dcastagna for content/common/gpu/client/gpu_memory_buffer_impl.* changes Note: This memory ...
5 years, 7 months ago (2015-04-27 08:37:50 UTC) #2
Daniele Castagna
https://codereview.chromium.org/1055403010/diff/40001/content/common/gpu/client/gpu_memory_buffer_impl.h File content/common/gpu/client/gpu_memory_buffer_impl.h (right): https://codereview.chromium.org/1055403010/diff/40001/content/common/gpu/client/gpu_memory_buffer_impl.h#newcode56 content/common/gpu/client/gpu_memory_buffer_impl.h:56: static bool BufferSizeInBytes(const gfx::Size& size, What about keeping GpuMemoryBufferImplSharedMemory::BufferSizeInBytes. ...
5 years, 7 months ago (2015-04-27 19:07:47 UTC) #3
reveman
https://codereview.chromium.org/1055403010/diff/40001/content/common/gpu/client/gpu_memory_buffer_impl.h File content/common/gpu/client/gpu_memory_buffer_impl.h (right): https://codereview.chromium.org/1055403010/diff/40001/content/common/gpu/client/gpu_memory_buffer_impl.h#newcode56 content/common/gpu/client/gpu_memory_buffer_impl.h:56: static bool BufferSizeInBytes(const gfx::Size& size, On 2015/04/27 at 19:07:47, ...
5 years, 7 months ago (2015-04-27 19:30:30 UTC) #4
reveman
5 years, 7 months ago (2015-04-27 19:30:34 UTC) #5
Daniele Castagna
LGTM https://codereview.chromium.org/1055403010/diff/40001/content/common/gpu/client/gpu_memory_buffer_impl.h File content/common/gpu/client/gpu_memory_buffer_impl.h (right): https://codereview.chromium.org/1055403010/diff/40001/content/common/gpu/client/gpu_memory_buffer_impl.h#newcode56 content/common/gpu/client/gpu_memory_buffer_impl.h:56: static bool BufferSizeInBytes(const gfx::Size& size, On 2015/04/27 at ...
5 years, 7 months ago (2015-04-27 19:43:56 UTC) #6
reveman
https://codereview.chromium.org/1055403010/diff/40001/content/common/gpu/client/gpu_memory_buffer_impl.h File content/common/gpu/client/gpu_memory_buffer_impl.h (right): https://codereview.chromium.org/1055403010/diff/40001/content/common/gpu/client/gpu_memory_buffer_impl.h#newcode56 content/common/gpu/client/gpu_memory_buffer_impl.h:56: static bool BufferSizeInBytes(const gfx::Size& size, On 2015/04/27 at 19:43:56, ...
5 years, 7 months ago (2015-04-27 20:28:09 UTC) #7
reveman
Latest patch will register/unregister the provider. PTAL.
5 years, 7 months ago (2015-04-28 19:14:30 UTC) #8
Primiano Tucci (use gerrit)
MemoryDump* stuff LGTM with just a couple of comments/notes. https://codereview.chromium.org/1055403010/diff/80001/content/browser/gpu/browser_gpu_memory_buffer_manager.cc File content/browser/gpu/browser_gpu_memory_buffer_manager.cc (right): https://codereview.chromium.org/1055403010/diff/80001/content/browser/gpu/browser_gpu_memory_buffer_manager.cc#newcode188 content/browser/gpu/browser_gpu_memory_buffer_manager.cc:188: ...
5 years, 7 months ago (2015-04-28 20:13:08 UTC) #9
reveman
+piman for content/ https://codereview.chromium.org/1055403010/diff/80001/content/browser/gpu/browser_gpu_memory_buffer_manager.cc File content/browser/gpu/browser_gpu_memory_buffer_manager.cc (right): https://codereview.chromium.org/1055403010/diff/80001/content/browser/gpu/browser_gpu_memory_buffer_manager.cc#newcode188 content/browser/gpu/browser_gpu_memory_buffer_manager.cc:188: for (auto& client_it : clients_) { ...
5 years, 7 months ago (2015-04-28 20:52:25 UTC) #11
reveman
ping for content/browser/ owner review
5 years, 7 months ago (2015-04-30 19:02:28 UTC) #12
piman
lgtm
5 years, 7 months ago (2015-05-01 18:30:39 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1055403010/150001
5 years, 7 months ago (2015-05-01 18:39:09 UTC) #16
commit-bot: I haz the power
Committed patchset #9 (id:150001)
5 years, 7 months ago (2015-05-01 20:10:30 UTC) #17
commit-bot: I haz the power
5 years, 7 months ago (2015-05-01 20:11:30 UTC) #18
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/84c4caf913fc2eb23f29784d1a9d72cdc06f9ab9
Cr-Commit-Position: refs/heads/master@{#327968}

Powered by Google App Engine
This is Rietveld 408576698