|
|
Chromium Code Reviews|
Created:
4 years, 3 months ago by Daniele Castagna Modified:
4 years, 3 months ago CC:
chromium-reviews, kalyank, ozone-reviews_chromium.org, piman+watch_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionAdd NV12 buffer scanout support from exo to ozone.
Let exo import NV12 scanout buffers and use them to composite.
BUG=646148
, b/31159410,b/29625228
TBR=sievers
CQ_INCLUDE_TRYBOTS=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
Committed: https://crrev.com/1e8cdd4dc52fa218459fdc699adc301d36915438
Committed: https://crrev.com/23d30bfd679cf544291e54cdd9304c52a139017e
Cr-Original-Commit-Position: refs/heads/master@{#418096}
Cr-Commit-Position: refs/heads/master@{#420815}
Patch Set 1 #
Total comments: 2
Patch Set 2 : s/NV21/NV12 #
Total comments: 4
Patch Set 3 : Add bug link and extension string. #Patch Set 4 : Don't claim that image_ycbcr_420v is available. #
Messages
Total messages: 51 (30 generated)
Description was changed from ========== Add NV12 buffer scanout support from exo to ozone. Let exo import NV12 scanout buffers and use them to composite. BUG= ========== to ========== Add NV12 buffer scanout support from exo to ozone. Let exo import NV12 scanout buffers and use them to composite. BUG= CQ_INCLUDE_TRYBOTS=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 ==========
The CQ bit was checked by dcastagna@chromium.org to run a CQ dry run
Description was changed from ========== Add NV12 buffer scanout support from exo to ozone. Let exo import NV12 scanout buffers and use them to composite. BUG= CQ_INCLUDE_TRYBOTS=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 ========== to ========== Add NV12 buffer scanout support from exo to ozone. Let exo import NV12 scanout buffers and use them to composite. BUG=31159410 CQ_INCLUDE_TRYBOTS=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 ==========
dcastagna@chromium.org changed reviewers: + posciak@chromium.org, reveman@chromium.org, wuchengli@chromium.org
lgtm after fixing the name of the DRM_FORMAT define https://codereview.chromium.org/2296433002/diff/1/ui/ozone/gl/gl_image_ozone_... File ui/ozone/gl/gl_image_ozone_native_pixmap.cc (right): https://codereview.chromium.org/2296433002/diff/1/ui/ozone/gl/gl_image_ozone_... ui/ozone/gl/gl_image_ozone_native_pixmap.cc:23: #define DRM_FORMAT_NV21 FOURCC('N', 'V', '1', '2') s/DRM_FORMAT_NV21/DRM_FORMAT_NV12/
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by dcastagna@chromium.org to run a CQ dry run
https://codereview.chromium.org/2296433002/diff/1/ui/ozone/gl/gl_image_ozone_... File ui/ozone/gl/gl_image_ozone_native_pixmap.cc (right): https://codereview.chromium.org/2296433002/diff/1/ui/ozone/gl/gl_image_ozone_... ui/ozone/gl/gl_image_ozone_native_pixmap.cc:23: #define DRM_FORMAT_NV21 FOURCC('N', 'V', '1', '2') On 2016/08/29 at 21:20:25, reveman wrote: > s/DRM_FORMAT_NV21/DRM_FORMAT_NV12/ Done.
dcastagna@chromium.org changed reviewers: + sievers@chromium.org, spang@chromium.org
+spang for ui/ozone/gl/* +sievers for gpu/command_buffer/service/*
Description was changed from ========== Add NV12 buffer scanout support from exo to ozone. Let exo import NV12 scanout buffers and use them to composite. BUG=31159410 CQ_INCLUDE_TRYBOTS=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 ========== to ========== Add NV12 buffer scanout support from exo to ozone. Let exo import NV12 scanout buffers and use them to composite. BUG=b/31159410,b/29625228 CQ_INCLUDE_TRYBOTS=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 ==========
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm
gpu lgtm w/nit https://codereview.chromium.org/2296433002/diff/20001/gpu/command_buffer/serv... File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/2296433002/diff/20001/gpu/command_buffer/serv... gpu/command_buffer/service/feature_info.cc:1016: // TODO(dcastagna): Determine this feature at runtime querying minigbm. putting a bug number would be even better
https://codereview.chromium.org/2296433002/diff/20001/gpu/command_buffer/serv... File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/2296433002/diff/20001/gpu/command_buffer/serv... gpu/command_buffer/service/feature_info.cc:1017: feature_flags_.chromium_image_ycbcr_420v = true; drive-by: are we missing AddExtensionString("GL_CHROMIUM_ycbcr_420v_image") here?
https://codereview.chromium.org/2296433002/diff/20001/gpu/command_buffer/serv... File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/2296433002/diff/20001/gpu/command_buffer/serv... gpu/command_buffer/service/feature_info.cc:1016: // TODO(dcastagna): Determine this feature at runtime querying minigbm. On 2016/08/30 at 20:12:04, sievers (slow) wrote: > putting a bug number would be even better Done. https://codereview.chromium.org/2296433002/diff/20001/gpu/command_buffer/serv... gpu/command_buffer/service/feature_info.cc:1017: feature_flags_.chromium_image_ycbcr_420v = true; On 2016/08/30 at 21:10:54, reveman wrote: > drive-by: are we missing AddExtensionString("GL_CHROMIUM_ycbcr_420v_image") here? Done.
The CQ bit was checked by dcastagna@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from reveman@chromium.org, sievers@chromium.org, spang@chromium.org Link to the patchset: https://codereview.chromium.org/2296433002/#ps40001 (title: "Add bug link and extension string.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Add NV12 buffer scanout support from exo to ozone. Let exo import NV12 scanout buffers and use them to composite. BUG=b/31159410,b/29625228 CQ_INCLUDE_TRYBOTS=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 ========== to ========== Add NV12 buffer scanout support from exo to ozone. Let exo import NV12 scanout buffers and use them to composite. BUG=646148, b/31159410,b/29625228 CQ_INCLUDE_TRYBOTS=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 ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== Add NV12 buffer scanout support from exo to ozone. Let exo import NV12 scanout buffers and use them to composite. BUG=646148, b/31159410,b/29625228 CQ_INCLUDE_TRYBOTS=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 ========== to ========== Add NV12 buffer scanout support from exo to ozone. Let exo import NV12 scanout buffers and use them to composite. BUG=646148, b/31159410,b/29625228 CQ_INCLUDE_TRYBOTS=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 Committed: https://crrev.com/1e8cdd4dc52fa218459fdc699adc301d36915438 Cr-Commit-Position: refs/heads/master@{#418096} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/1e8cdd4dc52fa218459fdc699adc301d36915438 Cr-Commit-Position: refs/heads/master@{#418096}
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2360453003/ by wuchengli@chromium.org. The reason for reverting is: This broke YouTube, Hangout, and camera app on many ChromeOS devices. The video was black. See http://crbug.com/648528..
PTAL. Claiming that chromium_image_ycbcr_420v capability is available on ARM devices made SW decoding in chromium use ycbcr_420v for video frames. ARM devices are currently not using native GMB but shared memory, that doesn't support ycbcr_420v. I removed the code that enabled the capability in feature_info.cc and just changed the function IsGpuMemoryBufferFormatSupported gpu_memory_buffer_support.cc that is used to determine if it's possible to create an image with as specific format. In this way we can create the image for the buffer coming from exo, but we won't try to allocate a ycbcr_420v buffer in chromium.
lgtm
The CQ bit was checked by reveman@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/...)
Description was changed from ========== Add NV12 buffer scanout support from exo to ozone. Let exo import NV12 scanout buffers and use them to composite. BUG=646148, b/31159410,b/29625228 CQ_INCLUDE_TRYBOTS=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 Committed: https://crrev.com/1e8cdd4dc52fa218459fdc699adc301d36915438 Cr-Commit-Position: refs/heads/master@{#418096} ========== to ========== Add NV12 buffer scanout support from exo to ozone. Let exo import NV12 scanout buffers and use them to composite. BUG=646148, b/31159410,b/29625228 CQ_INCLUDE_TRYBOTS=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 Committed: https://crrev.com/1e8cdd4dc52fa218459fdc699adc301d36915438 Cr-Commit-Position: refs/heads/master@{#418096} ==========
sievers@chromium.org changed reviewers: - sievers@chromium.org
The CQ bit was checked by dcastagna@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from sievers@chromium.org, spang@chromium.org Link to the patchset: https://codereview.chromium.org/2296433002/#ps60001 (title: "Don't claim that image_ycbcr_420v is available.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Add NV12 buffer scanout support from exo to ozone. Let exo import NV12 scanout buffers and use them to composite. BUG=646148, b/31159410,b/29625228 CQ_INCLUDE_TRYBOTS=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 Committed: https://crrev.com/1e8cdd4dc52fa218459fdc699adc301d36915438 Cr-Commit-Position: refs/heads/master@{#418096} ========== to ========== Add NV12 buffer scanout support from exo to ozone. Let exo import NV12 scanout buffers and use them to composite. BUG=646148, b/31159410,b/29625228 TBR=sievers CQ_INCLUDE_TRYBOTS=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 Committed: https://crrev.com/1e8cdd4dc52fa218459fdc699adc301d36915438 Cr-Commit-Position: refs/heads/master@{#418096} ==========
dcastagna@chromium.org changed reviewers: + sievers@chromium.org
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
The CQ bit was checked by dcastagna@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
The CQ bit was checked by dcastagna@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
Description was changed from ========== Add NV12 buffer scanout support from exo to ozone. Let exo import NV12 scanout buffers and use them to composite. BUG=646148, b/31159410,b/29625228 TBR=sievers CQ_INCLUDE_TRYBOTS=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 Committed: https://crrev.com/1e8cdd4dc52fa218459fdc699adc301d36915438 Cr-Commit-Position: refs/heads/master@{#418096} ========== to ========== Add NV12 buffer scanout support from exo to ozone. Let exo import NV12 scanout buffers and use them to composite. BUG=646148, b/31159410,b/29625228 TBR=sievers CQ_INCLUDE_TRYBOTS=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 Committed: https://crrev.com/1e8cdd4dc52fa218459fdc699adc301d36915438 Committed: https://crrev.com/23d30bfd679cf544291e54cdd9304c52a139017e Cr-Original-Commit-Position: refs/heads/master@{#418096} Cr-Commit-Position: refs/heads/master@{#420815} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/23d30bfd679cf544291e54cdd9304c52a139017e Cr-Commit-Position: refs/heads/master@{#420815} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
