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

Issue 1381133002: ozone: Implement support for CreateGpuMemoryBufferFromHandle for OzoneNativePixmap backed GMBs. (Closed)

Created:
5 years, 2 months ago by reveman
Modified:
5 years, 2 months ago
Reviewers:
piman, spang
CC:
chromium-reviews, darin-cc_chromium.org, jam, kalyank, ozone-reviews_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@gmb-factory-create-from-handle
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ozone: Implement support for CreateGpuMemoryBufferFromHandle for OzoneNativePixmap backed GMBs. BUG=538325 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/e7b378bf50c6df2d21a0045bcb4061ecf5380012 Cr-Commit-Position: refs/heads/master@{#353351}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 6

Patch Set 3 : fixed fd ownership errors #

Total comments: 2

Patch Set 4 : use base::ScopedFD in ui/ozone/ #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -32 lines) Patch
M content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc View 1 2 3 chunks +30 lines, -10 lines 0 comments Download
M content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap_unittest.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_buffer.h View 1 2 3 3 chunks +6 lines, -4 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_buffer.cc View 1 2 3 6 chunks +30 lines, -15 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_surface_factory.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_surface_factory.cc View 1 2 3 1 chunk +9 lines, -2 lines 0 comments Download
M ui/ozone/public/surface_factory_ozone.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M ui/ozone/public/surface_factory_ozone.cc View 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 17 (6 generated)
reveman
5 years, 2 months ago (2015-10-08 19:15:14 UTC) #2
piman
https://codereview.chromium.org/1381133002/diff/20001/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc File content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc (right): https://codereview.chromium.org/1381133002/diff/20001/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc#newcode79 content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc:79: LOG(ERROR) << "Failed to create pixmap from handle"; nit: ...
5 years, 2 months ago (2015-10-08 23:24:37 UTC) #3
reveman
ptal https://codereview.chromium.org/1381133002/diff/20001/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc File content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc (right): https://codereview.chromium.org/1381133002/diff/20001/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc#newcode79 content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc:79: LOG(ERROR) << "Failed to create pixmap from handle"; ...
5 years, 2 months ago (2015-10-09 12:47:02 UTC) #4
piman
Make sense. LGTM!
5 years, 2 months ago (2015-10-09 17:12:45 UTC) #5
spang
https://codereview.chromium.org/1381133002/diff/40001/ui/ozone/platform/drm/gpu/gbm_buffer.h File ui/ozone/platform/drm/gpu/gbm_buffer.h (right): https://codereview.chromium.org/1381133002/diff/40001/ui/ozone/platform/drm/gpu/gbm_buffer.h#newcode45 ui/ozone/platform/drm/gpu/gbm_buffer.h:45: void Initialize(int dma_buf, int dma_buf_pitch); I think we should ...
5 years, 2 months ago (2015-10-09 17:29:21 UTC) #7
reveman
PTAL https://codereview.chromium.org/1381133002/diff/40001/ui/ozone/platform/drm/gpu/gbm_buffer.h File ui/ozone/platform/drm/gpu/gbm_buffer.h (right): https://codereview.chromium.org/1381133002/diff/40001/ui/ozone/platform/drm/gpu/gbm_buffer.h#newcode45 ui/ozone/platform/drm/gpu/gbm_buffer.h:45: void Initialize(int dma_buf, int dma_buf_pitch); On 2015/10/09 at ...
5 years, 2 months ago (2015-10-09 18:45:32 UTC) #8
spang
lgtm
5 years, 2 months ago (2015-10-09 18:47:35 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1381133002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1381133002/80001
5 years, 2 months ago (2015-10-09 18:47:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1381133002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1381133002/80001
5 years, 2 months ago (2015-10-09 18:53:22 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 2 months ago (2015-10-09 19:13:35 UTC) #16
commit-bot: I haz the power
5 years, 2 months ago (2015-10-09 19:15:05 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e7b378bf50c6df2d21a0045bcb4061ecf5380012
Cr-Commit-Position: refs/heads/master@{#353351}

Powered by Google App Engine
This is Rietveld 408576698