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

Issue 2761533002: ozone: Import multi-planar GBMs. (Closed)

Created:
3 years, 9 months ago by Daniele Castagna
Modified:
3 years, 9 months ago
CC:
chromium-reviews, hoegsberg, kalyank, ozone-reviews_chromium.org, piman+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

ozone: Import multi-planar GBMs. https://chromium-review.googlesource.com/#/c/401439/ introduced a new interface in minigbm to import multiplanar formats. This CL updates Chromium to use the new interface. In this way we can add KMS framebuffers for multi-planar formats. BUG=702750 TEST=ozone_gl_unittests with BGRA and YUV_420_BIPLANAR. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2761533002 Cr-Commit-Position: refs/heads/master@{#458627} Committed: https://chromium.googlesource.com/chromium/src/+/1958fde835d34e2699213a38e4aae5df4d67c8a1

Patch Set 1 #

Patch Set 2 : 0 inzialize struct with {} instead of {0}. #

Total comments: 4

Patch Set 3 : Rebase on master. s/DRM_FORMAT_YV12/DRM_FORMAT_YVU420. #

Patch Set 4 : Don't initialize struct, asan will notice. #

Total comments: 2

Patch Set 5 : LE not LT. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -13 lines) Patch
M gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ui/ozone/platform/drm/common/drm_util.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_buffer.cc View 1 2 3 4 1 chunk +12 lines, -8 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_buffer_base.cc View 1 chunk +7 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 34 (19 generated)
Daniele Castagna
3 years, 9 months ago (2017-03-17 20:00:23 UTC) #6
gurchetansingh
Please test running the Youtube app with Minnie or Kevin. From my experience (b:32726875), you ...
3 years, 9 months ago (2017-03-17 21:02:09 UTC) #8
Daniele Castagna
On 2017/03/17 at 21:02:09, gurchetansingh wrote: > Please test running the Youtube app with Minnie ...
3 years, 9 months ago (2017-03-17 21:39:53 UTC) #9
Daniele Castagna
On 2017/03/17 at 21:39:53, Daniele Castagna wrote: > On 2017/03/17 at 21:02:09, gurchetansingh wrote: > ...
3 years, 9 months ago (2017-03-18 02:08:28 UTC) #12
gurchetansingh
On 2017/03/18 02:08:28, Daniele Castagna wrote: > On 2017/03/17 at 21:39:53, Daniele Castagna wrote: > ...
3 years, 9 months ago (2017-03-18 03:46:01 UTC) #13
Daniele Castagna
On 2017/03/18 at 03:46:01, gurchetansingh wrote: > On 2017/03/18 02:08:28, Daniele Castagna wrote: > > ...
3 years, 9 months ago (2017-03-18 03:57:27 UTC) #14
gurchetansingh
On 2017/03/18 03:57:27, Daniele Castagna wrote: > On 2017/03/18 at 03:46:01, gurchetansingh wrote: > > ...
3 years, 9 months ago (2017-03-21 01:41:44 UTC) #15
reveman
lgtm % nits https://codereview.chromium.org/2761533002/diff/20001/ui/ozone/platform/drm/gpu/gbm_buffer.cc File ui/ozone/platform/drm/gpu/gbm_buffer.cc (right): https://codereview.chromium.org/2761533002/diff/20001/ui/ozone/platform/drm/gpu/gbm_buffer.cc#newcode192 ui/ozone/platform/drm/gpu/gbm_buffer.cc:192: struct gbm_import_fd_planar_data fd_data {}; nit: leave ...
3 years, 9 months ago (2017-03-21 03:36:09 UTC) #16
Daniele Castagna
+dnicoara for ownership. https://codereview.chromium.org/2761533002/diff/20001/ui/ozone/platform/drm/gpu/gbm_buffer.cc File ui/ozone/platform/drm/gpu/gbm_buffer.cc (right): https://codereview.chromium.org/2761533002/diff/20001/ui/ozone/platform/drm/gpu/gbm_buffer.cc#newcode192 ui/ozone/platform/drm/gpu/gbm_buffer.cc:192: struct gbm_import_fd_planar_data fd_data {}; On 2017/03/21 ...
3 years, 9 months ago (2017-03-21 03:47:09 UTC) #20
dnicoara
lgtm % nit https://codereview.chromium.org/2761533002/diff/60001/ui/ozone/platform/drm/gpu/gbm_buffer.cc File ui/ozone/platform/drm/gpu/gbm_buffer.cc (right): https://codereview.chromium.org/2761533002/diff/60001/ui/ozone/platform/drm/gpu/gbm_buffer.cc#newcode197 ui/ozone/platform/drm/gpu/gbm_buffer.cc:197: DCHECK_LT(planes.size(), 3u); Should this be DCHECK_LE?
3 years, 9 months ago (2017-03-21 14:48:56 UTC) #23
Daniele Castagna
https://codereview.chromium.org/2761533002/diff/60001/ui/ozone/platform/drm/gpu/gbm_buffer.cc File ui/ozone/platform/drm/gpu/gbm_buffer.cc (right): https://codereview.chromium.org/2761533002/diff/60001/ui/ozone/platform/drm/gpu/gbm_buffer.cc#newcode197 ui/ozone/platform/drm/gpu/gbm_buffer.cc:197: DCHECK_LT(planes.size(), 3u); On 2017/03/21 at 14:48:56, dnicoara wrote: > ...
3 years, 9 months ago (2017-03-22 00:01:05 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2761533002/80001
3 years, 9 months ago (2017-03-22 00:01:56 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_TIMED_OUT, build hasn't started yet, builder ...
3 years, 9 months ago (2017-03-22 02:04:20 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2761533002/80001
3 years, 9 months ago (2017-03-22 02:31:14 UTC) #31
commit-bot: I haz the power
3 years, 9 months ago (2017-03-22 04:37:12 UTC) #34
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/1958fde835d34e2699213a38e4aa...

Powered by Google App Engine
This is Rietveld 408576698