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

Issue 2825933002: ozone: Create RGBX (not RGBA) buffers in GbmSurface. (Closed)

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

Description

ozone: Create RGBX (not RGBA) buffers in GbmSurface. We used to always create opaque DRM framebuffers. After crrev.com/2790553002 we started allowing non-opaque fb. GbmSurface, that was used in some tests, would allocate a BGRA buffer and use it as primary plane. On some devices formats with alpha are not supported on primary plane. This CL makes sure that GbmSurface allocates RGBX buffers. BUG=707108 TEST=video_decode_accelerator_unittest now passes. Review-Url: https://codereview.chromium.org/2825933002 Cr-Commit-Position: refs/heads/master@{#465640} Committed: https://chromium.googlesource.com/chromium/src/+/5d308f5270f55633e074bdaa2b2e06d303057d53

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -5 lines) Patch
M ui/ozone/platform/drm/gpu/gbm_surface.cc View 2 chunks +7 lines, -5 lines 3 comments Download

Messages

Total messages: 19 (9 generated)
Daniele Castagna
3 years, 8 months ago (2017-04-19 02:56:04 UTC) #4
Daniele Castagna
3 years, 8 months ago (2017-04-19 02:58:42 UTC) #6
dnicoara
https://codereview.chromium.org/2825933002/diff/1/ui/ozone/platform/drm/gpu/gbm_surface.cc File ui/ozone/platform/drm/gpu/gbm_surface.cc (right): https://codereview.chromium.org/2825933002/diff/1/ui/ozone/platform/drm/gpu/gbm_surface.cc#newcode133 ui/ozone/platform/drm/gpu/gbm_surface.cc:133: new gl::GLImageNativePixmap(GetSize(), GL_RGB); Why is this GL_RGB? Wouldn't this ...
3 years, 8 months ago (2017-04-19 14:31:09 UTC) #9
Daniele Castagna
https://codereview.chromium.org/2825933002/diff/1/ui/ozone/platform/drm/gpu/gbm_surface.cc File ui/ozone/platform/drm/gpu/gbm_surface.cc (right): https://codereview.chromium.org/2825933002/diff/1/ui/ozone/platform/drm/gpu/gbm_surface.cc#newcode133 ui/ozone/platform/drm/gpu/gbm_surface.cc:133: new gl::GLImageNativePixmap(GetSize(), GL_RGB); On 2017/04/19 at 14:31:09, dnicoara wrote: ...
3 years, 8 months ago (2017-04-19 14:51:06 UTC) #10
dnicoara
https://codereview.chromium.org/2825933002/diff/1/ui/ozone/platform/drm/gpu/gbm_surface.cc File ui/ozone/platform/drm/gpu/gbm_surface.cc (right): https://codereview.chromium.org/2825933002/diff/1/ui/ozone/platform/drm/gpu/gbm_surface.cc#newcode133 ui/ozone/platform/drm/gpu/gbm_surface.cc:133: new gl::GLImageNativePixmap(GetSize(), GL_RGB); On 2017/04/19 14:51:06, Daniele Castagna wrote: ...
3 years, 8 months ago (2017-04-19 15:08:23 UTC) #11
Daniele Castagna
On 2017/04/19 at 15:08:23, dnicoara wrote: > https://codereview.chromium.org/2825933002/diff/1/ui/ozone/platform/drm/gpu/gbm_surface.cc > File ui/ozone/platform/drm/gpu/gbm_surface.cc (right): > > https://codereview.chromium.org/2825933002/diff/1/ui/ozone/platform/drm/gpu/gbm_surface.cc#newcode133 ...
3 years, 8 months ago (2017-04-19 15:29:33 UTC) #12
Daniele Castagna
On 2017/04/19 at 15:29:33, Daniele Castagna wrote: > On 2017/04/19 at 15:08:23, dnicoara wrote: > ...
3 years, 8 months ago (2017-04-19 15:32:40 UTC) #13
dnicoara
lgtm Thank you for explaining! nit: Not as important now, but should this use something ...
3 years, 8 months ago (2017-04-19 15:58:16 UTC) #14
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/2825933002/1
3 years, 8 months ago (2017-04-19 16:53:59 UTC) #16
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 16:58:57 UTC) #19
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/5d308f5270f55633e074bdaa2b2e...

Powered by Google App Engine
This is Rietveld 408576698