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

Issue 1375663002: Show GpuMemoryBuffer feature in chrome://gpu (Closed)

Created:
5 years, 2 months ago by vignatti (out of this project)
Modified:
5 years, 1 month ago
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

Show GpuMemoryBuffer information in chrome://gpu This CL adds a new section "Native GpuMemoryBuffer Status" in the Status page to show whether GpuMemoryBuffer is running through native buffers. BUG=475633 TEST=start chrome with --enable-native-gpu-memory-buffers, open chrome://gpu and see a matrix with the GpuMemoryBuffer native configurations for CPU mapping (CPU_READ_WRITE*). Start another chrome without that flag and see that the native configurations for mapping are not present. Committed: https://crrev.com/48a014ec51b94693aa7de9111aef5b9134434162 Cr-Commit-Position: refs/heads/master@{#356845}

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix description #

Total comments: 2

Patch Set 3 : WIP on reveman comments in #9 #

Total comments: 5

Patch Set 4 : display a matrix of formats and usages #

Total comments: 2

Patch Set 5 : use IsNativeGpuMemoryBufferConfiguration #

Total comments: 35

Patch Set 6 : address nits and change GpuMemoryBufferInfoAsDictionaryValue main loop #

Total comments: 26

Patch Set 7 : nits #

Patch Set 8 : improve the look #

Total comments: 4

Patch Set 9 : cl formatted and removed "Formats"/"Native usage support" value pair #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -10 lines) Patch
M content/browser/gpu/browser_gpu_memory_buffer_manager.h View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/gpu/browser_gpu_memory_buffer_manager.cc View 1 2 3 4 5 2 chunks +7 lines, -7 lines 0 comments Download
M content/browser/gpu/gpu_internals_ui.cc View 1 2 3 4 5 6 7 8 3 chunks +92 lines, -0 lines 0 comments Download
M content/browser/resources/gpu/browser_bridge.js View 1 2 3 4 5 6 2 chunks +17 lines, -0 lines 0 comments Download
M content/browser/resources/gpu/info_view.html View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/resources/gpu/info_view.js View 1 2 3 4 5 6 3 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (6 generated)
vignatti (out of this project)
We already had issues with our validation team running wrong testing images, spending useless time ...
5 years, 2 months ago (2015-09-28 17:09:10 UTC) #2
vignatti (out of this project)
5 years, 2 months ago (2015-09-28 17:09:17 UTC) #3
Ken Russell (switch to Gerrit)
lgtm if this has been tested. One comment. https://codereview.chromium.org/1375663002/diff/1/content/browser/gpu/compositor_util.cc File content/browser/gpu/compositor_util.cc (right): https://codereview.chromium.org/1375663002/diff/1/content/browser/gpu/compositor_util.cc#newcode159 content/browser/gpu/compositor_util.cc:159: "Raster ...
5 years, 2 months ago (2015-09-28 23:00:14 UTC) #4
reveman
I'd like to review this but is ooo today. Please wait for my review tomorrow ...
5 years, 2 months ago (2015-09-28 23:12:55 UTC) #5
vignatti (out of this project)
Thank you, kbr. Let's wait for reveman's now. https://codereview.chromium.org/1375663002/diff/1/content/browser/gpu/compositor_util.cc File content/browser/gpu/compositor_util.cc (right): https://codereview.chromium.org/1375663002/diff/1/content/browser/gpu/compositor_util.cc#newcode159 content/browser/gpu/compositor_util.cc:159: "Raster ...
5 years, 2 months ago (2015-09-28 23:15:09 UTC) #6
reveman
https://codereview.chromium.org/1375663002/diff/20001/content/browser/gpu/compositor_util.cc File content/browser/gpu/compositor_util.cc (right): https://codereview.chromium.org/1375663002/diff/20001/content/browser/gpu/compositor_util.cc#newcode160 content/browser/gpu/compositor_util.cc:160: " instead the hardware backed one.", This is not ...
5 years, 2 months ago (2015-09-29 11:58:03 UTC) #7
vignatti (out of this project)
On 2015/09/29 11:58:03, reveman (OOO Sept 24-29) wrote: > https://codereview.chromium.org/1375663002/diff/20001/content/browser/gpu/compositor_util.cc > File content/browser/gpu/compositor_util.cc (right): > ...
5 years, 2 months ago (2015-09-29 15:06:42 UTC) #8
reveman
On 2015/09/29 at 15:06:42, tiago.vignatti wrote: > On 2015/09/29 11:58:03, reveman (OOO Sept 24-29) wrote: ...
5 years, 2 months ago (2015-09-29 17:06:46 UTC) #9
vignatti (out of this project)
On 2015/09/29 17:06:46, reveman wrote: > We can show a matrix of GMB formats+usages for ...
5 years, 2 months ago (2015-10-16 16:38:34 UTC) #10
reveman
https://codereview.chromium.org/1375663002/diff/40001/content/browser/gpu/compositor_util.cc File content/browser/gpu/compositor_util.cc (right): https://codereview.chromium.org/1375663002/diff/40001/content/browser/gpu/compositor_util.cc#newcode33 content/browser/gpu/compositor_util.cc:33: const char* kNativeGpuMemoryBufferFeatureName = "native_gpu_memory_buffers"; s/GpuMemoryBuffer/GpuMemoryBuffers/ https://codereview.chromium.org/1375663002/diff/40001/content/browser/gpu/compositor_util.cc#newcode228 content/browser/gpu/compositor_util.cc:228: bool ...
5 years, 2 months ago (2015-10-16 18:37:44 UTC) #11
vignatti (out of this project)
Patchset now has been changed considerably from the previous one, so I didn't addressed the ...
5 years, 2 months ago (2015-10-16 21:46:53 UTC) #12
vignatti (out of this project)
On 2015/10/16 21:46:53, vignatti wrote: > Patchset now has been changed considerably from the previous ...
5 years, 2 months ago (2015-10-19 13:39:18 UTC) #13
vignatti (out of this project)
On 2015/10/19 13:39:18, vignatti wrote: > On 2015/10/16 21:46:53, vignatti wrote: > > Patchset now ...
5 years, 1 month ago (2015-10-26 20:35:21 UTC) #14
reveman
The general idea of showing a matrix of gpumemorybuffer support in chrome://gpu seems useful. It ...
5 years, 1 month ago (2015-10-26 20:35:28 UTC) #15
vignatti (out of this project)
On 2015/10/26 20:35:28, reveman wrote: > The general idea of showing a matrix of gpumemorybuffer ...
5 years, 1 month ago (2015-10-26 20:54:07 UTC) #16
vignatti (out of this project)
https://codereview.chromium.org/1375663002/diff/60001/ui/gfx/buffer_types.h File ui/gfx/buffer_types.h (right): https://codereview.chromium.org/1375663002/diff/60001/ui/gfx/buffer_types.h#newcode62 ui/gfx/buffer_types.h:62: reveman@ do you think it's worth doing this global ...
5 years, 1 month ago (2015-10-26 20:55:49 UTC) #17
vignatti (out of this project)
5 years, 1 month ago (2015-10-26 20:55:50 UTC) #18
reveman
On 2015/10/26 at 20:54:07, tiago.vignatti wrote: > On 2015/10/26 20:35:28, reveman wrote: > > The ...
5 years, 1 month ago (2015-10-26 20:56:15 UTC) #19
reveman
https://codereview.chromium.org/1375663002/diff/60001/ui/gfx/buffer_types.h File ui/gfx/buffer_types.h (right): https://codereview.chromium.org/1375663002/diff/60001/ui/gfx/buffer_types.h#newcode62 ui/gfx/buffer_types.h:62: On 2015/10/26 at 20:55:49, vignatti wrote: > reveman@ do ...
5 years, 1 month ago (2015-10-26 21:09:20 UTC) #20
vignatti (out of this project)
On 2015/10/26 21:09:20, reveman wrote: > https://codereview.chromium.org/1375663002/diff/60001/ui/gfx/buffer_types.h > File ui/gfx/buffer_types.h (right): > > https://codereview.chromium.org/1375663002/diff/60001/ui/gfx/buffer_types.h#newcode62 > ...
5 years, 1 month ago (2015-10-27 22:42:29 UTC) #21
reveman
https://codereview.chromium.org/1375663002/diff/80001/content/browser/gpu/browser_gpu_memory_buffer_manager.h File content/browser/gpu/browser_gpu_memory_buffer_manager.h (right): https://codereview.chromium.org/1375663002/diff/80001/content/browser/gpu/browser_gpu_memory_buffer_manager.h#newcode97 content/browser/gpu/browser_gpu_memory_buffer_manager.h:97: gfx::BufferUsage usage) const; nit: please move the function in ...
5 years, 1 month ago (2015-10-27 23:20:36 UTC) #24
vignatti (out of this project)
Thanks for reviewing. PTAL. https://codereview.chromium.org/1375663002/diff/80001/content/browser/gpu/browser_gpu_memory_buffer_manager.h File content/browser/gpu/browser_gpu_memory_buffer_manager.h (right): https://codereview.chromium.org/1375663002/diff/80001/content/browser/gpu/browser_gpu_memory_buffer_manager.h#newcode97 content/browser/gpu/browser_gpu_memory_buffer_manager.h:97: gfx::BufferUsage usage) const; On 2015/10/27 ...
5 years, 1 month ago (2015-10-28 14:17:29 UTC) #25
reveman
https://codereview.chromium.org/1375663002/diff/100001/content/browser/gpu/gpu_internals_ui.cc File content/browser/gpu/gpu_internals_ui.cc (right): https://codereview.chromium.org/1375663002/diff/100001/content/browser/gpu/gpu_internals_ui.cc#newcode308 content/browser/gpu/gpu_internals_ui.cc:308: info->Set("gmb_info", gpu_memory_buffer_info); nit: "gpu_memory_buffer_info" https://codereview.chromium.org/1375663002/diff/100001/content/browser/resources/gpu/browser_bridge.js File content/browser/resources/gpu/browser_bridge.js (right): https://codereview.chromium.org/1375663002/diff/100001/content/browser/resources/gpu/browser_bridge.js#newcode39 ...
5 years, 1 month ago (2015-10-28 14:41:08 UTC) #26
vignatti (out of this project)
PTAL. https://codereview.chromium.org/1375663002/diff/100001/content/browser/gpu/gpu_internals_ui.cc File content/browser/gpu/gpu_internals_ui.cc (right): https://codereview.chromium.org/1375663002/diff/100001/content/browser/gpu/gpu_internals_ui.cc#newcode308 content/browser/gpu/gpu_internals_ui.cc:308: info->Set("gmb_info", gpu_memory_buffer_info); On 2015/10/28 14:41:07, reveman wrote: > ...
5 years, 1 month ago (2015-10-28 16:55:25 UTC) #27
reveman
I tried this patch locally without any native GMB support and it looks weird to ...
5 years, 1 month ago (2015-10-28 18:05:02 UTC) #29
vignatti (out of this project)
On 2015/10/28 18:05:02, reveman wrote: > I tried this patch locally without any native GMB ...
5 years, 1 month ago (2015-10-28 22:46:49 UTC) #30
reveman
Thanks! LGTM after removing the "Formats"/"Native usage support" value pair as mentioned in the comment ...
5 years, 1 month ago (2015-10-29 00:27:26 UTC) #31
reveman
nit: please cl format this patch before landing
5 years, 1 month ago (2015-10-29 01:46:39 UTC) #32
vignatti (out of this project)
alright, thanks David. I think I've addressed all the comments now. Let's try to land ...
5 years, 1 month ago (2015-10-29 14:15:37 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1375663002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1375663002/160001
5 years, 1 month ago (2015-10-29 14:24:51 UTC) #36
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 1 month ago (2015-10-29 15:19:12 UTC) #37
commit-bot: I haz the power
5 years, 1 month ago (2015-10-29 15:20:02 UTC) #38
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/48a014ec51b94693aa7de9111aef5b9134434162
Cr-Commit-Position: refs/heads/master@{#356845}

Powered by Google App Engine
This is Rietveld 408576698