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

Issue 1314553002: Move Format checks to HardwareDisplayPlane (Closed)

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

Description

Move Format checks to HardwareDisplayPlane IsSupportedFormat check should be common across Atomic or Legacy path, hence we move the logic from HardwareDisplayPlaneAtomic to HardwareDisplayPlane. Committed: https://crrev.com/43f471825b028d141474c9ef453c2e71591b6421 Cr-Commit-Position: refs/heads/master@{#345899}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Review fixes #

Patch Set 3 : Remove unnecessary includes #

Patch Set 4 : Fix tests #

Patch Set 5 : Add comments #

Patch Set 6 : Add test for checking formats #

Patch Set 7 : Build fix #

Patch Set 8 : InitTest #

Total comments: 4

Patch Set 9 : Review fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -73 lines) Patch
M ui/ozone/platform/drm/gpu/drm_buffer.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M ui/ozone/platform/drm/gpu/drm_buffer.cc View 1 5 chunks +35 lines, -10 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_buffer.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_buffer_base.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_buffer_base.cc View 1 2 2 chunks +18 lines, -7 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_controller_unittest.cc View 1 2 3 4 5 2 chunks +5 lines, -1 line 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane.h View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane.cc View 1 2 3 4 5 6 7 8 2 chunks +23 lines, -5 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc View 1 2 2 chunks +0 lines, -28 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc View 1 2 3 4 5 3 chunks +5 lines, -4 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_plane_manager_unittest.cc View 1 2 3 4 5 6 7 8 5 chunks +36 lines, -5 lines 0 comments Download
M ui/ozone/platform/drm/gpu/scanout_buffer.h View 1 1 chunk +5 lines, -3 lines 0 comments Download
M ui/ozone/platform/drm/test/mock_drm_device.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 14 (3 generated)
kalyank
5 years, 4 months ago (2015-08-24 16:09:51 UTC) #2
kalyank
https://codereview.chromium.org/1314553002/diff/1/ui/ozone/platform/drm/gpu/hardware_display_plane.cc File ui/ozone/platform/drm/gpu/hardware_display_plane.cc (right): https://codereview.chromium.org/1314553002/diff/1/ui/ozone/platform/drm/gpu/hardware_display_plane.cc#newcode36 ui/ozone/platform/drm/gpu/hardware_display_plane.cc:36: uint32_t format_type = 0; Depends on https://codereview.chromium.org/1294113005/ and needs ...
5 years, 4 months ago (2015-08-24 17:22:00 UTC) #3
dnicoara
https://codereview.chromium.org/1314553002/diff/1/ui/ozone/platform/drm/gpu/hardware_display_plane.cc File ui/ozone/platform/drm/gpu/hardware_display_plane.cc (right): https://codereview.chromium.org/1314553002/diff/1/ui/ozone/platform/drm/gpu/hardware_display_plane.cc#newcode8 ui/ozone/platform/drm/gpu/hardware_display_plane.cc:8: #include <gbm.h> The bots are not going to like ...
5 years, 4 months ago (2015-08-25 19:27:16 UTC) #4
kalyank
https://codereview.chromium.org/1314553002/diff/1/ui/ozone/platform/drm/gpu/hardware_display_plane.cc File ui/ozone/platform/drm/gpu/hardware_display_plane.cc (right): https://codereview.chromium.org/1314553002/diff/1/ui/ozone/platform/drm/gpu/hardware_display_plane.cc#newcode8 ui/ozone/platform/drm/gpu/hardware_display_plane.cc:8: #include <gbm.h> On 2015/08/25 19:27:16, dnicoara wrote: > The ...
5 years, 3 months ago (2015-08-26 08:42:42 UTC) #5
dnicoara
lgtm, could you re-run the failed bot.
5 years, 3 months ago (2015-08-26 14:37:02 UTC) #6
kalyank
On 2015/08/26 14:37:02, dnicoara wrote: > lgtm, could you re-run the failed bot. Have added ...
5 years, 3 months ago (2015-08-27 08:29:15 UTC) #7
dnicoara
lgtm with nits https://codereview.chromium.org/1314553002/diff/140001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc File ui/ozone/platform/drm/gpu/hardware_display_plane.cc (right): https://codereview.chromium.org/1314553002/diff/140001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc#newcode68 ui/ozone/platform/drm/gpu/hardware_display_plane.cc:68: if (supported_formats_.empty()) Could you just drop ...
5 years, 3 months ago (2015-08-27 13:21:56 UTC) #8
kalyank
https://codereview.chromium.org/1314553002/diff/140001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc File ui/ozone/platform/drm/gpu/hardware_display_plane.cc (right): https://codereview.chromium.org/1314553002/diff/140001/ui/ozone/platform/drm/gpu/hardware_display_plane.cc#newcode68 ui/ozone/platform/drm/gpu/hardware_display_plane.cc:68: if (supported_formats_.empty()) On 2015/08/27 13:21:56, dnicoara wrote: > Could ...
5 years, 3 months ago (2015-08-27 16:07:10 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1314553002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1314553002/160001
5 years, 3 months ago (2015-08-27 16:11:55 UTC) #12
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 3 months ago (2015-08-27 16:41:46 UTC) #13
commit-bot: I haz the power
5 years, 3 months ago (2015-08-27 16:42:26 UTC) #14
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/43f471825b028d141474c9ef453c2e71591b6421
Cr-Commit-Position: refs/heads/master@{#345899}

Powered by Google App Engine
This is Rietveld 408576698