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

Issue 2686903003: ozone: prefer YUYV format for overlay.

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

Description

ozone: prefer YUYV format for overlay. Mesa doesn't support EGL image for UYUV format. It's why crrev.com/2689453002 introduced YUYV format. As YUYV is only format supported by all linux stack such as kernel, mesa, minigbm, and gpu decoder, ozone prefers YUYV format for overlay. BUG=683347 TEST=ozone_unittests run chrome on http://www.quirksmode.org/html5/tests/video.html with --enable-hardware-overlays

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -25 lines) Patch
M ui/ozone/platform/drm/gpu/drm_overlay_validator.cc View 2 chunks +3 lines, -2 lines 5 comments Download
M ui/ozone/platform/drm/gpu/drm_overlay_validator_unittest.cc View 19 chunks +23 lines, -23 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
dshwang
dcastagna@, as you reviewed in https://codereview.chromium.org/2648633005/, this part is extracted. spang@, could you review?
3 years, 10 months ago (2017-02-09 04:44:39 UTC) #4
spang
lgtm
3 years, 9 months ago (2017-02-27 22:38:16 UTC) #7
Daniele Castagna
https://codereview.chromium.org/2686903003/diff/1/ui/ozone/platform/drm/gpu/drm_overlay_validator.cc File ui/ozone/platform/drm/gpu/drm_overlay_validator.cc (right): https://codereview.chromium.org/2686903003/diff/1/ui/ozone/platform/drm/gpu/drm_overlay_validator.cc#newcode66 ui/ozone/platform/drm/gpu/drm_overlay_validator.cc:66: uint32_t FindOptimalBufferFormat(uint32_t original_format, Is any device actually using this ...
3 years, 9 months ago (2017-02-27 23:10:55 UTC) #8
dshwang
thank you for reviewing https://codereview.chromium.org/2686903003/diff/1/ui/ozone/platform/drm/gpu/drm_overlay_validator.cc File ui/ozone/platform/drm/gpu/drm_overlay_validator.cc (right): https://codereview.chromium.org/2686903003/diff/1/ui/ozone/platform/drm/gpu/drm_overlay_validator.cc#newcode66 ui/ozone/platform/drm/gpu/drm_overlay_validator.cc:66: uint32_t FindOptimalBufferFormat(uint32_t original_format, On 2017/02/27 ...
3 years, 9 months ago (2017-02-28 02:14:28 UTC) #9
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/2686903003/1
3 years, 9 months ago (2017-02-28 02:15:28 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/330307)
3 years, 9 months ago (2017-02-28 02:40:30 UTC) #13
Daniele Castagna
https://codereview.chromium.org/2686903003/diff/1/ui/ozone/platform/drm/gpu/drm_overlay_validator.cc File ui/ozone/platform/drm/gpu/drm_overlay_validator.cc (right): https://codereview.chromium.org/2686903003/diff/1/ui/ozone/platform/drm/gpu/drm_overlay_validator.cc#newcode66 ui/ozone/platform/drm/gpu/drm_overlay_validator.cc:66: uint32_t FindOptimalBufferFormat(uint32_t original_format, On 2017/02/28 at 02:14:28, dshwang wrote: ...
3 years, 9 months ago (2017-02-28 02:56:08 UTC) #14
dshwang
https://codereview.chromium.org/2686903003/diff/1/ui/ozone/platform/drm/gpu/drm_overlay_validator.cc File ui/ozone/platform/drm/gpu/drm_overlay_validator.cc (right): https://codereview.chromium.org/2686903003/diff/1/ui/ozone/platform/drm/gpu/drm_overlay_validator.cc#newcode66 ui/ozone/platform/drm/gpu/drm_overlay_validator.cc:66: uint32_t FindOptimalBufferFormat(uint32_t original_format, On 2017/02/28 02:56:08, Daniele Castagna wrote: ...
3 years, 9 months ago (2017-02-28 04:01:59 UTC) #15
dshwang
ah, it depends on https://codereview.chromium.org/2689453002/ let me wait.
3 years, 9 months ago (2017-02-28 04:03:31 UTC) #16
Daniele Castagna
On 2017/02/28 at 04:01:59, dongseong.hwang wrote: > https://codereview.chromium.org/2686903003/diff/1/ui/ozone/platform/drm/gpu/drm_overlay_validator.cc > File ui/ozone/platform/drm/gpu/drm_overlay_validator.cc (right): > > https://codereview.chromium.org/2686903003/diff/1/ui/ozone/platform/drm/gpu/drm_overlay_validator.cc#newcode66 ...
3 years, 9 months ago (2017-02-28 04:06:38 UTC) #17
dshwang
3 years, 9 months ago (2017-02-28 04:37:44 UTC) #18
On 2017/02/28 04:06:38, Daniele Castagna wrote:
> > > Doesn't Intel Kaby Lake support scaling on primary plane? Why do we need
> some
> > > special code with a late conversion?
> > 
> > Yes, Kaby Lake and ApolloLake support scaling on primary plane on upstream
> kernel. Intel integration team is cherry-picking relevant patches to chromeos
> v4.4. As nuclear page flip is available on (near-future) v4.4, we will enable
it
> from ApolloLake and Kaby Lake. Skylake can support it by hardware tho.
> 
> I'm aware and looking forward to that.
> We're not going to ship overlays on Skylake and I'd prefer to get rid of this
> code that has never been used and will most likely never ship. WDYT?

good idea. when native scaler is added, let me remove all code including VPP
scaling code (i.e. media::VaapiWrapper::ProcessPixmap())

Powered by Google App Engine
This is Rietveld 408576698