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

Issue 1598573002: Propagate supported scanout formats from driver to SurfaceFactoryOzone. (Closed)

Created:
4 years, 11 months ago by william.xie
Modified:
4 years, 11 months ago
CC:
chromium-reviews, ozone-reviews_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Propagate supported scanout formats from driver to SurfaceFactoryOzone. BUG=None Committed: https://crrev.com/f9e3001545d09eb9579a13ca3fc76331c2d61546 Cr-Commit-Position: refs/heads/master@{#371396}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 3

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -0 lines) Patch
M ui/ozone/platform/drm/gpu/drm_gpu_display_manager.h View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_gpu_display_manager.cc View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_thread.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_thread.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_thread_proxy.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/drm_thread_proxy.cc View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_surface_factory.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_surface_factory.cc View 1 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M ui/ozone/public/surface_factory_ozone.h View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M ui/ozone/public/surface_factory_ozone.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (12 generated)
william.xie
PTAL
4 years, 11 months ago (2016-01-16 01:49:34 UTC) #3
spang
https://codereview.chromium.org/1598573002/diff/1/ui/ozone/platform/drm/client_native_pixmap_factory_gbm.cc File ui/ozone/platform/drm/client_native_pixmap_factory_gbm.cc (right): https://codereview.chromium.org/1598573002/diff/1/ui/ozone/platform/drm/client_native_pixmap_factory_gbm.cc#newcode58 ui/ozone/platform/drm/client_native_pixmap_factory_gbm.cc:58: ui::OzonePlatform::GetInstance()->GetSupportedFormats(&support_formats); The renderer process is allowed to have a ...
4 years, 11 months ago (2016-01-18 18:14:31 UTC) #4
william.xie
Thanks Michael, PTAL https://codereview.chromium.org/1598573002/diff/1/ui/ozone/platform/drm/client_native_pixmap_factory_gbm.cc File ui/ozone/platform/drm/client_native_pixmap_factory_gbm.cc (right): https://codereview.chromium.org/1598573002/diff/1/ui/ozone/platform/drm/client_native_pixmap_factory_gbm.cc#newcode58 ui/ozone/platform/drm/client_native_pixmap_factory_gbm.cc:58: ui::OzonePlatform::GetInstance()->GetSupportedFormats(&support_formats); On 2016/01/18 18:14:31, spang wrote: ...
4 years, 11 months ago (2016-01-19 04:40:16 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1598573002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1598573002/20001
4 years, 11 months ago (2016-01-19 04:43:44 UTC) #8
commit-bot: I haz the power
Dry run: The author william.xie@chromium.org has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com ...
4 years, 11 months ago (2016-01-19 04:43:45 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/1598573002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1598573002/20001
4 years, 11 months ago (2016-01-19 04:46:54 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-19 05:15:22 UTC) #14
kalyank
https://codereview.chromium.org/1598573002/diff/20001/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc File ui/ozone/platform/drm/gpu/gbm_surface_factory.cc (right): https://codereview.chromium.org/1598573002/diff/20001/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc#newcode109 ui/ozone/platform/drm/gpu/gbm_surface_factory.cc:109: drm_thread_->GetSupportedFormats(support_formats); We can cache them here? no need to ...
4 years, 11 months ago (2016-01-19 07:34:22 UTC) #15
william.xie
Thanks Kalyan, PTAL https://codereview.chromium.org/1598573002/diff/20001/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc File ui/ozone/platform/drm/gpu/gbm_surface_factory.cc (right): https://codereview.chromium.org/1598573002/diff/20001/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc#newcode109 ui/ozone/platform/drm/gpu/gbm_surface_factory.cc:109: drm_thread_->GetSupportedFormats(support_formats); On 2016/01/19 07:34:22, kalyank wrote: ...
4 years, 11 months ago (2016-01-19 10:07:07 UTC) #16
kalyank
https://codereview.chromium.org/1598573002/diff/40001/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc File ui/ozone/platform/drm/gpu/gbm_surface_factory.cc (right): https://codereview.chromium.org/1598573002/diff/40001/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc#newcode118 ui/ozone/platform/drm/gpu/gbm_surface_factory.cc:118: case gfx::BufferUsage::SCANOUT: I understand we currently return same format ...
4 years, 11 months ago (2016-01-19 16:00:37 UTC) #17
william.xie
PTAL https://codereview.chromium.org/1598573002/diff/40001/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc File ui/ozone/platform/drm/gpu/gbm_surface_factory.cc (right): https://codereview.chromium.org/1598573002/diff/40001/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc#newcode118 ui/ozone/platform/drm/gpu/gbm_surface_factory.cc:118: case gfx::BufferUsage::SCANOUT: On 2016/01/19 16:00:37, kalyank wrote: > ...
4 years, 11 months ago (2016-01-20 01:53:49 UTC) #18
reveman
https://codereview.chromium.org/1598573002/diff/40001/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc File ui/ozone/platform/drm/gpu/gbm_surface_factory.cc (right): https://codereview.chromium.org/1598573002/diff/40001/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc#newcode118 ui/ozone/platform/drm/gpu/gbm_surface_factory.cc:118: case gfx::BufferUsage::SCANOUT: On 2016/01/20 at 01:53:49, william.xie wrote: > ...
4 years, 11 months ago (2016-01-20 04:01:44 UTC) #19
william.xie
On 2016/01/20 04:01:44, reveman wrote: > https://codereview.chromium.org/1598573002/diff/40001/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc > File ui/ozone/platform/drm/gpu/gbm_surface_factory.cc (right): > > https://codereview.chromium.org/1598573002/diff/40001/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc#newcode118 > ...
4 years, 11 months ago (2016-01-20 15:14:41 UTC) #20
spang
https://codereview.chromium.org/1598573002/diff/60001/ui/ozone/platform/drm/gpu/drm_thread.h File ui/ozone/platform/drm/gpu/drm_thread.h (right): https://codereview.chromium.org/1598573002/diff/60001/ui/ozone/platform/drm/gpu/drm_thread.h#newcode62 ui/ozone/platform/drm/gpu/drm_thread.h:62: void GetSupportedFormats(std::vector<uint32_t>* support_formats); Document what the uint32_t means. In ...
4 years, 11 months ago (2016-01-20 18:52:24 UTC) #21
william.xie
PTAL https://codereview.chromium.org/1598573002/diff/60001/ui/ozone/platform/drm/gpu/drm_thread.h File ui/ozone/platform/drm/gpu/drm_thread.h (right): https://codereview.chromium.org/1598573002/diff/60001/ui/ozone/platform/drm/gpu/drm_thread.h#newcode62 ui/ozone/platform/drm/gpu/drm_thread.h:62: void GetSupportedFormats(std::vector<uint32_t>* support_formats); On 2016/01/20 18:52:24, spang wrote: ...
4 years, 11 months ago (2016-01-21 02:14:02 UTC) #22
spang
On 2016/01/21 02:14:02, william.xie wrote: > PTAL > > https://codereview.chromium.org/1598573002/diff/60001/ui/ozone/platform/drm/gpu/drm_thread.h > File ui/ozone/platform/drm/gpu/drm_thread.h (right): > ...
4 years, 11 months ago (2016-01-21 14:59:41 UTC) #23
william.xie
On 2016/01/21 14:59:41, spang wrote: > On 2016/01/21 02:14:02, william.xie wrote: > > PTAL > ...
4 years, 11 months ago (2016-01-21 15:25:21 UTC) #24
william.xie
PTAL
4 years, 11 months ago (2016-01-21 15:25:32 UTC) #25
kalyank
https://codereview.chromium.org/1598573002/diff/120001/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc File ui/ozone/platform/drm/gpu/gbm_surface_factory.cc (right): https://codereview.chromium.org/1598573002/diff/120001/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc#newcode109 ui/ozone/platform/drm/gpu/gbm_surface_factory.cc:109: if (scanout_formats_.empty()) This now looks wrong as widget might ...
4 years, 11 months ago (2016-01-22 06:41:25 UTC) #27
william.xie
Thanks Kalyan, PTAL https://codereview.chromium.org/1598573002/diff/120001/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc File ui/ozone/platform/drm/gpu/gbm_surface_factory.cc (right): https://codereview.chromium.org/1598573002/diff/120001/ui/ozone/platform/drm/gpu/gbm_surface_factory.cc#newcode109 ui/ozone/platform/drm/gpu/gbm_surface_factory.cc:109: if (scanout_formats_.empty()) On 2016/01/22 06:41:25, kalyank ...
4 years, 11 months ago (2016-01-23 01:51:53 UTC) #28
spang
lgtm
4 years, 11 months ago (2016-01-25 18:35:14 UTC) #30
reveman
lgtm
4 years, 11 months ago (2016-01-25 18:59:18 UTC) #31
kalyank
non owner lgtm
4 years, 11 months ago (2016-01-25 20:11:19 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1598573002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1598573002/140001
4 years, 11 months ago (2016-01-26 00:44:51 UTC) #34
commit-bot: I haz the power
Committed patchset #7 (id:140001)
4 years, 11 months ago (2016-01-26 01:14:59 UTC) #36
commit-bot: I haz the power
4 years, 11 months ago (2016-01-26 01:17:09 UTC) #38
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/f9e3001545d09eb9579a13ca3fc76331c2d61546
Cr-Commit-Position: refs/heads/master@{#371396}

Powered by Google App Engine
This is Rietveld 408576698