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

Issue 960273003: ozone: dri: add synchronous SwapBuffers support on surfaceless (Closed)

Created:
5 years, 10 months ago by llandwerlin-old
Modified:
5 years, 9 months ago
Reviewers:
dnicoara
CC:
chromium-reviews, kalyank, 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

ozone: dri: add synchronous SwapBuffers support on surfaceless BUG=447798 TEST=ozone_unittests Committed: https://crrev.com/210577c2e1b7bb0462ccbb7905c800568ba3888e Cr-Commit-Position: refs/heads/master@{#318457}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Update after dnicoara's review #

Total comments: 8

Patch Set 3 : Schedule asynchronous flip correctly on flip callback #

Total comments: 4

Patch Set 4 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -48 lines) Patch
M ui/ozone/platform/dri/dri_surface.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M ui/ozone/platform/dri/dri_wrapper.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/platform/dri/dri_wrapper.cc View 1 2 3 6 chunks +36 lines, -11 lines 0 comments Download
M ui/ozone/platform/dri/gbm_surfaceless.cc View 1 2 3 3 chunks +9 lines, -3 lines 0 comments Download
M ui/ozone/platform/dri/hardware_display_controller.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M ui/ozone/platform/dri/hardware_display_controller.cc View 1 2 3 5 chunks +7 lines, -4 lines 0 comments Download
M ui/ozone/platform/dri/hardware_display_controller_unittest.cc View 1 2 3 9 chunks +20 lines, -20 lines 0 comments Download
M ui/ozone/platform/dri/hardware_display_plane_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/platform/dri/hardware_display_plane_manager_legacy.h View 1 chunk +2 lines, -1 line 0 comments Download
M ui/ozone/platform/dri/hardware_display_plane_manager_legacy.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M ui/ozone/platform/dri/hardware_display_plane_manager_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M ui/ozone/platform/dri/test/mock_dri_wrapper.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/platform/dri/test/mock_dri_wrapper.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
llandwerlin-old
Daniel, here is the split of https://codereview.chromium.org/940903002/
5 years, 10 months ago (2015-02-26 17:36:49 UTC) #2
dnicoara
For more feedback: Currently the DriWrapper changes to async only when running in surfaceless mode. ...
5 years, 10 months ago (2015-02-26 18:22:22 UTC) #3
llandwerlin-old
I might be missing something here, but when you write : "Software rendering - running ...
5 years, 10 months ago (2015-02-26 22:02:56 UTC) #4
dnicoara
The software path is using synchronous behavior since the Chromium interface currently doesn't support asynchronous ...
5 years, 10 months ago (2015-02-26 22:16:29 UTC) #5
llandwerlin-old
https://codereview.chromium.org/960273003/diff/20001/ui/ozone/platform/dri/dri_wrapper.cc File ui/ozone/platform/dri/dri_wrapper.cc (right): https://codereview.chromium.org/960273003/diff/20001/ui/ozone/platform/dri/dri_wrapper.cc#newcode112 ui/ozone/platform/dri/dri_wrapper.cc:112: paused = !!paused; On 2015/02/26 22:16:29, dnicoara wrote: > ...
5 years, 9 months ago (2015-02-27 10:56:47 UTC) #6
dnicoara
https://codereview.chromium.org/960273003/diff/40001/ui/ozone/platform/dri/hardware_display_controller.cc File ui/ozone/platform/dri/hardware_display_controller.cc (right): https://codereview.chromium.org/960273003/diff/40001/ui/ozone/platform/dri/hardware_display_controller.cc#newcode250 ui/ozone/platform/dri/hardware_display_controller.cc:250: PageFlipRequest request = requests_.front(); Move this back in the ...
5 years, 9 months ago (2015-02-27 13:58:44 UTC) #7
llandwerlin-old
https://codereview.chromium.org/960273003/diff/40001/ui/ozone/platform/dri/hardware_display_controller.cc File ui/ozone/platform/dri/hardware_display_controller.cc (right): https://codereview.chromium.org/960273003/diff/40001/ui/ozone/platform/dri/hardware_display_controller.cc#newcode250 ui/ozone/platform/dri/hardware_display_controller.cc:250: PageFlipRequest request = requests_.front(); On 2015/02/27 13:58:44, dnicoara wrote: ...
5 years, 9 months ago (2015-02-27 14:09:04 UTC) #8
dnicoara
lgtm, thank you for fixing this!
5 years, 9 months ago (2015-02-27 15:32:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/960273003/60001
5 years, 9 months ago (2015-02-27 15:35:09 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-02-27 16:10:09 UTC) #12
commit-bot: I haz the power
5 years, 9 months ago (2015-02-27 16:11:06 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/210577c2e1b7bb0462ccbb7905c800568ba3888e
Cr-Commit-Position: refs/heads/master@{#318457}

Powered by Google App Engine
This is Rietveld 408576698