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

Issue 1134993003: ozone: Implement zero/one-copy texture for Ozone GBM. (Closed)

Created:
5 years, 7 months ago by dshwang
Modified:
5 years, 4 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, jbauman+watch_chromium.org, jln+watch_chromium.org, kalyank, mcasas+watch_chromium.org, ozone-reviews_chromium.org, piman+watch_chromium.org, posciak+watch_chromium.org, rickyz+watch_chromium.org, sievers+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ozone: Implement zero/one-copy texture for Ozone GBM. The design doc is https://docs.google.com/document/d/1qpLLo4mBkzHBh5cuBtBjJZAzXK2X9BgBJtpESh-mNn8 Implement GpuMemoryBuffer using GBM and VGEM. VGEM makes it possible for Render Process to map/unmap GPU memory. GPU process creates GBM bo and sends the handle to Renderer. Renderer imports VGEM bo via the handle and map/unmap the VGEM bo. Define OZONE_USE_VGEM_MAP because VGEM map is not in linux upsteam. BUILD=add "ozone_use_vgem_map=1" in GYP_DEFINES, or "ozone_use_vgem_map=true" in GN TEST=Run chromeos using amd64-generic_freon image with --enable-native-gpu-memory-buffers, --disable-persistent-gpu-memory-buffer and --no-sandbox flag. PERF_TEST=Run on Acer 720P > tools/perf/run_benchmark --browser=cros-chrome --remote=<machine_url> smoothness.tough_texture_upload_cases --page-repeat=3 --extra-browser-args="--enable-native-gpu-memory-buffers" smoothness.tough_texture_upload_cases:frame_time_discrepancy 144.02 to 126.75 smoothness.tough_texture_upload_cases:percentage_smooth 55.83 to 56.56 BUG=475633 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/e2e2c1dc3ef88009d11d6d644a9c60fb9293e7b5 Cr-Commit-Position: refs/heads/master@{#344755}

Patch Set 1 #

Total comments: 20

Patch Set 2 : not-leak USE_OZONE_GBM, GetSupportedGpuMemoryBufferConfigurations from ozone, return handle #

Total comments: 13

Patch Set 3 : depend on crrev.com/1128113011 #

Total comments: 3

Patch Set 4 : rebase to new crrev.com/1128113011 #

Total comments: 4

Patch Set 5 : rebase to ToT #

Total comments: 13

Patch Set 6 : improve by spang's comment #

Patch Set 7 : rebase to latest crrev.com/1248713002 #

Patch Set 8 : open VGEM device in renderer in ad-hoc manner #

Total comments: 4

Patch Set 9 : rebase on crrev.com/1263323004 #

Total comments: 26

Patch Set 10 : resolve reveman's concerns #

Total comments: 29

Patch Set 11 : address msg#47 #

Patch Set 12 : make content_unittests (GpuMemoryBuffer*) pass #

Total comments: 20

Patch Set 13 : resolve reveman's comments #

Patch Set 14 : check that the configuration is returned by GetSupportedConfigurations() #

Total comments: 4

Patch Set 15 : update from reveman's comments #

Total comments: 32

Patch Set 16 : resolve nits #

Total comments: 19

Patch Set 17 : restore switch #

Total comments: 2

Patch Set 18 : resolve reveman's nits #

Total comments: 3

Patch Set 19 : add NOTREACHED() #

Total comments: 2

Patch Set 20 : address sievers's comment #

Total comments: 4

Patch Set 21 : remove the return type from Pixmap::Map() #

Total comments: 4

Patch Set 22 : remove redundant return nullptr #

Patch Set 23 : rebase to ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -13 lines) Patch
M content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +7 lines, -5 lines 0 comments Download
M ui/ozone/common/stub_client_native_pixmap_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M ui/ozone/platform/drm/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +13 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 4 chunks +42 lines, -5 lines 0 comments Download
M ui/ozone/platform/drm/gbm.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +11 lines, -0 lines 0 comments Download
A ui/ozone/platform/drm/gpu/client_native_pixmap_vgem.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +46 lines, -0 lines 0 comments Download
A ui/ozone/platform/drm/gpu/client_native_pixmap_vgem.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +87 lines, -0 lines 0 comments Download
M ui/ozone/public/client_native_pixmap.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/public/client_native_pixmap_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 93 (21 generated)
dshwang
reveman, could you review this CL? zachr, could you review how this CL use vgem? ...
5 years, 7 months ago (2015-05-11 13:38:05 UTC) #2
spang
https://codereview.chromium.org/1134993003/diff/1/build/config/ui.gni File build/config/ui.gni (right): https://codereview.chromium.org/1134993003/diff/1/build/config/ui.gni#newcode40 build/config/ui.gni:40: ozone_platform_gbm = false It's not acceptable to put this ...
5 years, 7 months ago (2015-05-11 15:44:58 UTC) #5
reveman
https://codereview.chromium.org/1134993003/diff/1/content/common/gpu/client/gpu_memory_buffer_impl.cc File content/common/gpu/client/gpu_memory_buffer_impl.cc (right): https://codereview.chromium.org/1134993003/diff/1/content/common/gpu/client/gpu_memory_buffer_impl.cc#newcode39 content/common/gpu/client/gpu_memory_buffer_impl.cc:39: DCHECK(!mapped_); this is fine but unrelated to this change. ...
5 years, 7 months ago (2015-05-11 16:40:57 UTC) #6
dshwang
thx for reviewing. I want to listen to your opinion about merging GpuMemoryBuffer with GpuMemoryBufferImpl. ...
5 years, 7 months ago (2015-05-11 17:11:53 UTC) #7
reveman
On 2015/05/11 at 17:11:53, dongseong.hwang wrote: > thx for reviewing. I want to listen to ...
5 years, 7 months ago (2015-05-11 18:17:15 UTC) #8
dshwang
thanks for reviewing. I address all concerns. https://codereview.chromium.org/1134993003/diff/1/build/config/ui.gni File build/config/ui.gni (right): https://codereview.chromium.org/1134993003/diff/1/build/config/ui.gni#newcode40 build/config/ui.gni:40: ozone_platform_gbm = ...
5 years, 7 months ago (2015-05-14 12:25:47 UTC) #9
reveman
https://codereview.chromium.org/1134993003/diff/1/ui/gfx/gpu_memory_buffer.h File ui/gfx/gpu_memory_buffer.h (right): https://codereview.chromium.org/1134993003/diff/1/ui/gfx/gpu_memory_buffer.h#newcode36 ui/gfx/gpu_memory_buffer.h:36: base::SharedMemoryHandle device_handle; On 2015/05/14 12:25:47, dshwang wrote: > On ...
5 years, 7 months ago (2015-05-14 13:22:04 UTC) #10
dshwang
thx for quick reviewing. I'll address soon. https://codereview.chromium.org/1134993003/diff/1/ui/gfx/gpu_memory_buffer.h File ui/gfx/gpu_memory_buffer.h (right): https://codereview.chromium.org/1134993003/diff/1/ui/gfx/gpu_memory_buffer.h#newcode36 ui/gfx/gpu_memory_buffer.h:36: base::SharedMemoryHandle device_handle; ...
5 years, 7 months ago (2015-05-14 14:58:15 UTC) #11
vignatti (out of this project)
https://codereview.chromium.org/1134993003/diff/20001/build/linux/system.gyp File build/linux/system.gyp (right): https://codereview.chromium.org/1134993003/diff/20001/build/linux/system.gyp#newcode535 build/linux/system.gyp:535: ['use_ozone==1', { vgem only makes sense now under gbm, ...
5 years, 7 months ago (2015-05-14 19:20:04 UTC) #12
vignatti (out of this project)
https://codereview.chromium.org/1134993003/diff/40001/ui/ozone/platform/drm/gpu/vgem_pixmap.cc File ui/ozone/platform/drm/gpu/vgem_pixmap.cc (right): https://codereview.chromium.org/1134993003/diff/40001/ui/ozone/platform/drm/gpu/vgem_pixmap.cc#newcode97 ui/ozone/platform/drm/gpu/vgem_pixmap.cc:97: DCHECK_EQ(usage_, SurfaceFactoryOzone::MAP); comparison of two values with different enumeration ...
5 years, 6 months ago (2015-06-18 17:00:53 UTC) #13
dshwang
https://codereview.chromium.org/1134993003/diff/20001/build/linux/system.gyp File build/linux/system.gyp (right): https://codereview.chromium.org/1134993003/diff/20001/build/linux/system.gyp#newcode535 build/linux/system.gyp:535: ['use_ozone==1', { On 2015/05/14 19:20:04, vignatti wrote: > vgem ...
5 years, 6 months ago (2015-06-25 10:59:56 UTC) #14
reveman
Does this depend on another patch? As I don't see how this could work otherwise. ...
5 years, 6 months ago (2015-06-25 14:07:51 UTC) #16
dshwang
On 2015/06/25 14:07:51, reveman wrote: > Does this depend on another patch? As I don't ...
5 years, 6 months ago (2015-06-25 14:52:13 UTC) #17
spang
https://codereview.chromium.org/1134993003/diff/140001/ui/ozone/platform/drm/gpu/vgem_pixmap.cc File ui/ozone/platform/drm/gpu/vgem_pixmap.cc (right): https://codereview.chromium.org/1134993003/diff/140001/ui/ozone/platform/drm/gpu/vgem_pixmap.cc#newcode22 ui/ozone/platform/drm/gpu/vgem_pixmap.cc:22: return width * 4; This isn't working right and ...
5 years, 5 months ago (2015-06-29 19:32:19 UTC) #20
spang
https://codereview.chromium.org/1134993003/diff/140001/ui/ozone/platform/drm/gpu/vgem_pixmap.cc File ui/ozone/platform/drm/gpu/vgem_pixmap.cc (right): https://codereview.chromium.org/1134993003/diff/140001/ui/ozone/platform/drm/gpu/vgem_pixmap.cc#newcode22 ui/ozone/platform/drm/gpu/vgem_pixmap.cc:22: return width * 4; On 2015/06/29 19:32:18, spang wrote: ...
5 years, 5 months ago (2015-06-29 21:28:19 UTC) #21
reveman
On 2015/06/29 at 21:28:19, spang wrote: > https://codereview.chromium.org/1134993003/diff/140001/ui/ozone/platform/drm/gpu/vgem_pixmap.cc > File ui/ozone/platform/drm/gpu/vgem_pixmap.cc (right): > > https://codereview.chromium.org/1134993003/diff/140001/ui/ozone/platform/drm/gpu/vgem_pixmap.cc#newcode22 ...
5 years, 5 months ago (2015-06-30 04:09:09 UTC) #22
dshwang
On 2015/06/30 04:09:09, reveman wrote: > On 2015/06/29 at 21:28:19, spang wrote: > > > ...
5 years, 5 months ago (2015-06-30 11:01:40 UTC) #23
spang
On 2015/06/30 11:01:40, dshwang wrote: > On 2015/06/30 04:09:09, reveman wrote: > > On 2015/06/29 ...
5 years, 5 months ago (2015-06-30 17:40:13 UTC) #25
spang
On 2015/06/30 17:40:13, spang wrote: > On 2015/06/30 11:01:40, dshwang wrote: > > On 2015/06/30 ...
5 years, 5 months ago (2015-06-30 17:55:43 UTC) #26
reveman
On 2015/06/30 at 17:55:43, spang wrote: > On 2015/06/30 17:40:13, spang wrote: > > On ...
5 years, 5 months ago (2015-07-01 22:30:19 UTC) #27
spang
On 2015/07/01 22:30:19, reveman wrote: > On 2015/06/30 at 17:55:43, spang wrote: > > On ...
5 years, 5 months ago (2015-07-13 17:29:23 UTC) #31
spang
On 2015/07/01 22:30:19, reveman wrote: > On 2015/06/30 at 17:55:43, spang wrote: > > On ...
5 years, 5 months ago (2015-07-13 17:29:26 UTC) #32
dshwang
On 2015/07/13 17:29:26, spang wrote: > On 2015/07/01 22:30:19, reveman wrote: > > On 2015/06/30 ...
5 years, 5 months ago (2015-07-13 18:29:52 UTC) #33
spang
https://codereview.chromium.org/1134993003/diff/200001/build/linux/system.gyp File build/linux/system.gyp (right): https://codereview.chromium.org/1134993003/diff/200001/build/linux/system.gyp#newcode527 build/linux/system.gyp:527: ['use_ozone==1', { Please move to ui/ozone/platform/drm/drm.gypi https://codereview.chromium.org/1134993003/diff/200001/sandbox/linux/BUILD.gn File sandbox/linux/BUILD.gn ...
5 years, 5 months ago (2015-07-24 22:08:25 UTC) #34
spang
https://codereview.chromium.org/1134993003/diff/200001/build/linux/system.gyp File build/linux/system.gyp (right): https://codereview.chromium.org/1134993003/diff/200001/build/linux/system.gyp#newcode527 build/linux/system.gyp:527: ['use_ozone==1', { On 2015/07/24 22:08:25, spang wrote: > Please ...
5 years, 5 months ago (2015-07-24 22:15:10 UTC) #35
spang
https://codereview.chromium.org/1134993003/diff/200001/sandbox/linux/BUILD.gn File sandbox/linux/BUILD.gn (right): https://codereview.chromium.org/1134993003/diff/200001/sandbox/linux/BUILD.gn#newcode232 sandbox/linux/BUILD.gn:232: pkg_config("libdrm") { On 2015/07/24 22:08:25, spang wrote: > This ...
5 years, 5 months ago (2015-07-24 22:42:22 UTC) #36
dshwang
Thank you for reviewing. this CL is blocked by crrev.com/1128113011 I add new gyp define; ...
5 years, 4 months ago (2015-07-28 15:23:12 UTC) #37
dshwang
Hi, I work this CL earlier than http://crrev.com/1248713002/ as spang said. Could you review this ...
5 years, 4 months ago (2015-08-05 12:33:16 UTC) #39
reveman
Can you rebase this on https://codereview.chromium.org/1263323004/ ? https://codereview.chromium.org/1134993003/diff/280001/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/1134993003/diff/280001/cc/resources/resource_provider.cc#newcode1867 cc/resources/resource_provider.cc:1867: gfx::SHARED_MEMORY_BUFFER) On ...
5 years, 4 months ago (2015-08-05 14:11:49 UTC) #40
dshwang
On 2015/08/05 14:11:49, reveman wrote: > Can you rebase this on https://codereview.chromium.org/1263323004/ ? Yes, I ...
5 years, 4 months ago (2015-08-06 08:30:30 UTC) #42
reveman
https://codereview.chromium.org/1134993003/diff/320001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc File content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc (right): https://codereview.chromium.org/1134993003/diff/320001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc#newcode5 content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc:5: #include "content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h" why do we need any of these ...
5 years, 4 months ago (2015-08-06 12:08:35 UTC) #43
dshwang
Thank you for nice review. I resolved all comments. Could you review again? https://codereview.chromium.org/1134993003/diff/320001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc File ...
5 years, 4 months ago (2015-08-06 13:59:17 UTC) #44
vignatti (out of this project)
zachr@, wdyt? https://codereview.chromium.org/1134993003/diff/340001/ui/ozone/platform/drm/gpu/client_native_pixmap_vgem.cc File ui/ozone/platform/drm/gpu/client_native_pixmap_vgem.cc (right): https://codereview.chromium.org/1134993003/diff/340001/ui/ozone/platform/drm/gpu/client_native_pixmap_vgem.cc#newcode9 ui/ozone/platform/drm/gpu/client_native_pixmap_vgem.cc:9: #include <vgem_drm.h> IIUC this header file is ...
5 years, 4 months ago (2015-08-06 20:56:26 UTC) #45
dshwang
https://codereview.chromium.org/1134993003/diff/340001/ui/ozone/platform/drm/gpu/client_native_pixmap_vgem.cc File ui/ozone/platform/drm/gpu/client_native_pixmap_vgem.cc (right): https://codereview.chromium.org/1134993003/diff/340001/ui/ozone/platform/drm/gpu/client_native_pixmap_vgem.cc#newcode9 ui/ozone/platform/drm/gpu/client_native_pixmap_vgem.cc:9: #include <vgem_drm.h> On 2015/08/06 20:56:26, vignatti wrote: > IIUC ...
5 years, 4 months ago (2015-08-07 08:54:53 UTC) #46
reveman
https://codereview.chromium.org/1134993003/diff/340001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc File ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc (right): https://codereview.chromium.org/1134993003/diff/340001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc#newcode57 ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc:57: if (usage == gfx::BufferUsage::SCANOUT) would it hurt to still ...
5 years, 4 months ago (2015-08-07 14:35:16 UTC) #47
vignatti (out of this project)
https://codereview.chromium.org/1134993003/diff/340001/ui/ozone/platform/drm/gbm.gypi File ui/ozone/platform/drm/gbm.gypi (right): https://codereview.chromium.org/1134993003/diff/340001/ui/ozone/platform/drm/gbm.gypi#newcode14 ui/ozone/platform/drm/gbm.gypi:14: 'ozone_use_vgem_map%': 0, On 2015/08/07 14:35:16, reveman wrote: > just ...
5 years, 4 months ago (2015-08-07 14:51:26 UTC) #48
dshwang
I addressed all comments. I roll back consistent map, because it doesn't work well in ...
5 years, 4 months ago (2015-08-07 15:36:47 UTC) #49
reveman
https://codereview.chromium.org/1134993003/diff/340001/ui/ozone/platform/drm/gpu/client_native_pixmap_vgem.cc File ui/ozone/platform/drm/gpu/client_native_pixmap_vgem.cc (right): https://codereview.chromium.org/1134993003/diff/340001/ui/ozone/platform/drm/gpu/client_native_pixmap_vgem.cc#newcode27 ui/ozone/platform/drm/gpu/client_native_pixmap_vgem.cc:27: int ret = drmPrimeFDToHandle(vgem_handle.fd, handle.fd.fd, &vgem_bo_handle); On 2015/08/07 at ...
5 years, 4 months ago (2015-08-07 17:59:44 UTC) #50
dshwang
Thank you for review. I resolved some comments, and replied opposite opinion to others. Could ...
5 years, 4 months ago (2015-08-11 17:44:56 UTC) #51
reveman
https://codereview.chromium.org/1134993003/diff/380001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc File content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc (right): https://codereview.chromium.org/1134993003/diff/380001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc#newcode39 content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc:39: DCHECK(!mapped_); On 2015/08/11 at 17:44:56, dshwang wrote: > On ...
5 years, 4 months ago (2015-08-11 18:53:53 UTC) #52
dshwang
https://codereview.chromium.org/1134993003/diff/380001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc File content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc (right): https://codereview.chromium.org/1134993003/diff/380001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc#newcode39 content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc:39: DCHECK(!mapped_); On 2015/08/11 18:53:52, reveman (OOO Aug 10 - ...
5 years, 4 months ago (2015-08-11 19:36:06 UTC) #53
reveman
https://codereview.chromium.org/1134993003/diff/380001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc File ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc (right): https://codereview.chromium.org/1134993003/diff/380001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc#newcode57 ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc:57: if (usage == gfx::BufferUsage::SCANOUT) { On 2015/08/11 at 19:36:06, ...
5 years, 4 months ago (2015-08-11 20:15:16 UTC) #54
dshwang
https://codereview.chromium.org/1134993003/diff/380001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc File ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc (right): https://codereview.chromium.org/1134993003/diff/380001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc#newcode57 ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc:57: if (usage == gfx::BufferUsage::SCANOUT) { On 2015/08/11 20:15:16, reveman ...
5 years, 4 months ago (2015-08-12 08:57:35 UTC) #55
spang
I have only nits - lgtm https://codereview.chromium.org/1134993003/diff/440001/ui/ozone/platform/drm/BUILD.gn File ui/ozone/platform/drm/BUILD.gn (right): https://codereview.chromium.org/1134993003/diff/440001/ui/ozone/platform/drm/BUILD.gn#newcode14 ui/ozone/platform/drm/BUILD.gn:14: ozone_use_vgem_map = false ...
5 years, 4 months ago (2015-08-12 21:40:03 UTC) #56
reveman
https://codereview.chromium.org/1134993003/diff/440001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc File content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc (right): https://codereview.chromium.org/1134993003/diff/440001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc#newcode44 content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc:44: return result; nit: return true; https://codereview.chromium.org/1134993003/diff/440001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc File ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc (right): ...
5 years, 4 months ago (2015-08-12 22:32:25 UTC) #57
dshwang
I addressed all comments. reveman, could you review again? https://codereview.chromium.org/1134993003/diff/440001/ui/ozone/platform/drm/BUILD.gn File ui/ozone/platform/drm/BUILD.gn (right): https://codereview.chromium.org/1134993003/diff/440001/ui/ozone/platform/drm/BUILD.gn#newcode14 ui/ozone/platform/drm/BUILD.gn:14: ...
5 years, 4 months ago (2015-08-13 11:30:56 UTC) #58
reveman
https://codereview.chromium.org/1134993003/diff/460001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc File ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc (right): https://codereview.chromium.org/1134993003/diff/460001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc#newcode63 ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc:63: DCHECK(handle.fd.auto_close); This DCHECK is still inappropriate imo. This function ...
5 years, 4 months ago (2015-08-13 14:03:58 UTC) #59
dshwang
https://codereview.chromium.org/1134993003/diff/460001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc File ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc (right): https://codereview.chromium.org/1134993003/diff/460001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc#newcode63 ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc:63: DCHECK(handle.fd.auto_close); On 2015/08/13 14:03:58, reveman wrote: > This DCHECK ...
5 years, 4 months ago (2015-08-13 14:59:02 UTC) #60
reveman
https://codereview.chromium.org/1134993003/diff/460001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc File ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc (right): https://codereview.chromium.org/1134993003/diff/460001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc#newcode67 ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc:67: if (usage == gfx::BufferUsage::MAP) On 2015/08/13 at 14:59:02, dshwang ...
5 years, 4 months ago (2015-08-13 15:15:59 UTC) #61
dshwang
https://codereview.chromium.org/1134993003/diff/460001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc File ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc (right): https://codereview.chromium.org/1134993003/diff/460001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc#newcode67 ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc:67: if (usage == gfx::BufferUsage::MAP) On 2015/08/13 15:15:58, reveman wrote: ...
5 years, 4 months ago (2015-08-13 15:45:28 UTC) #62
reveman
lgtm with nits https://codereview.chromium.org/1134993003/diff/460001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc File ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc (right): https://codereview.chromium.org/1134993003/diff/460001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc#newcode67 ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc:67: if (usage == gfx::BufferUsage::MAP) On 2015/08/13 ...
5 years, 4 months ago (2015-08-13 17:16:43 UTC) #63
dshwang
Thank you for reviewing! ccameron, could you review content/common? https://codereview.chromium.org/1134993003/diff/460001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc File ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc (right): https://codereview.chromium.org/1134993003/diff/460001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc#newcode67 ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc:67: ...
5 years, 4 months ago (2015-08-13 18:13:25 UTC) #65
dshwang
https://codereview.chromium.org/1134993003/diff/460001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc File ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc (right): https://codereview.chromium.org/1134993003/diff/460001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc#newcode67 ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc:67: if (usage == gfx::BufferUsage::MAP) On 2015/08/13 18:13:25, dshwang wrote: ...
5 years, 4 months ago (2015-08-13 18:22:09 UTC) #66
reveman
On 2015/08/13 at 18:22:09, dongseong.hwang wrote: > https://codereview.chromium.org/1134993003/diff/460001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc > File ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc (right): > > https://codereview.chromium.org/1134993003/diff/460001/ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc#newcode67 ...
5 years, 4 months ago (2015-08-13 18:55:42 UTC) #67
vignatti (out of this project)
On 2015/08/13 18:55:42, reveman wrote: > Ok, so we'll need a SCANOUT_AND_MAP usage mode then. ...
5 years, 4 months ago (2015-08-13 22:13:04 UTC) #68
dshwang
ccameron, sievers: could you review content/common? On 2015/08/13 22:13:04, vignatti wrote: > On 2015/08/13 18:55:42, ...
5 years, 4 months ago (2015-08-14 06:27:45 UTC) #71
reveman
ok, thanks! latest patch lgtm
5 years, 4 months ago (2015-08-14 06:33:01 UTC) #72
dshwang
On 2015/08/14 06:27:45, dshwang wrote: > ccameron, sievers: could you review content/common? ping
5 years, 4 months ago (2015-08-17 07:08:42 UTC) #73
no sievers
https://codereview.chromium.org/1134993003/diff/520001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc File content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc (right): https://codereview.chromium.org/1134993003/diff/520001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc#newcode41 content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc:41: DCHECK(result); nit: It should be either DCHECK() or supported ...
5 years, 4 months ago (2015-08-17 17:33:18 UTC) #74
dshwang
sievers, could you review again? This CL is blocked by https://codereview.chromium.org/1263323004/, so I didn't kick ...
5 years, 4 months ago (2015-08-18 06:36:43 UTC) #75
no sievers
lgtm https://codereview.chromium.org/1134993003/diff/540001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc File content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc (right): https://codereview.chromium.org/1134993003/diff/540001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc#newcode46 content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc:46: pixmap_->Unmap(); so do you still want to call ...
5 years, 4 months ago (2015-08-18 19:05:49 UTC) #76
ccameron
content/common/gpu lgtm
5 years, 4 months ago (2015-08-18 19:47:40 UTC) #77
dshwang
Thank you for reviewing! https://codereview.chromium.org/1134993003/diff/540001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc File content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc (right): https://codereview.chromium.org/1134993003/diff/540001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc#newcode46 content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc:46: pixmap_->Unmap(); On 2015/08/18 19:05:49, sievers ...
5 years, 4 months ago (2015-08-19 07:02:59 UTC) #78
reveman
https://codereview.chromium.org/1134993003/diff/540001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc File content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc (right): https://codereview.chromium.org/1134993003/diff/540001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc#newcode46 content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc:46: pixmap_->Unmap(); On 2015/08/19 at 07:02:59, dshwang wrote: > On ...
5 years, 4 months ago (2015-08-19 09:09:50 UTC) #79
dshwang
https://codereview.chromium.org/1134993003/diff/540001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc File content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc (right): https://codereview.chromium.org/1134993003/diff/540001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc#newcode46 content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc:46: pixmap_->Unmap(); On 2015/08/19 09:09:50, reveman wrote: > On 2015/08/19 ...
5 years, 4 months ago (2015-08-19 13:11:03 UTC) #80
reveman
https://codereview.chromium.org/1134993003/diff/560001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc File content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc (right): https://codereview.chromium.org/1134993003/diff/560001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc#newcode40 content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc:40: mapped_ = !!(*data); nit: mapped_ = true; and remove ...
5 years, 4 months ago (2015-08-19 13:18:12 UTC) #81
dshwang
https://codereview.chromium.org/1134993003/diff/560001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc File content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc (right): https://codereview.chromium.org/1134993003/diff/560001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc#newcode40 content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc:40: mapped_ = !!(*data); On 2015/08/19 13:18:11, reveman wrote: > ...
5 years, 4 months ago (2015-08-19 13:23:20 UTC) #82
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1134993003/600001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1134993003/600001
5 years, 4 months ago (2015-08-21 10:29:22 UTC) #85
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/59689) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 4 months ago (2015-08-21 10:30:14 UTC) #87
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1134993003/620001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1134993003/620001
5 years, 4 months ago (2015-08-21 11:54:11 UTC) #91
commit-bot: I haz the power
Committed patchset #23 (id:620001)
5 years, 4 months ago (2015-08-21 13:39:45 UTC) #92
commit-bot: I haz the power
5 years, 4 months ago (2015-08-21 13:40:34 UTC) #93
Message was sent while issue was closed.
Patchset 23 (id:??) landed as
https://crrev.com/e2e2c1dc3ef88009d11d6d644a9c60fb9293e7b5
Cr-Commit-Position: refs/heads/master@{#344755}

Powered by Google App Engine
This is Rietveld 408576698