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

Issue 1091253003: [ozone] Keep the queue of surfaceless buffers inside gl_surface_ozone (Closed)

Created:
5 years, 8 months ago by alexst (slow to review)
Modified:
5 years, 8 months ago
Reviewers:
dnicoara, spang
CC:
chromium-reviews, kalyank, 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

[ozone] Keep the queue of surfaceless buffers inside gl_surface_ozone and only dispatch them when the page flip ack callback for the previous one has been been called. We previously had 2 queues, one in gl_surface_ozone one in the platform display controller. Remove one of them since it shouldn't be necessary. BUG= Committed: https://crrev.com/9c97321ec9598a8b8af5eaa91cb9135b363efef0 Cr-Commit-Position: refs/heads/master@{#326791}

Patch Set 1 : #

Total comments: 9

Patch Set 2 : #

Total comments: 2

Patch Set 3 : wip comments #

Patch Set 4 : sanity checkpoint wip #

Patch Set 5 : wip #

Patch Set 6 : #

Total comments: 9

Patch Set 7 : #

Total comments: 2

Patch Set 8 : #

Patch Set 9 : unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -271 lines) Patch
M ui/gl/gl_surface_ozone.cc View 1 2 3 4 5 6 7 6 chunks +36 lines, -18 lines 0 comments Download
M ui/ozone/platform/drm/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/drm.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/crtc_controller.h View 1 2 3 4 5 6 6 chunks +6 lines, -12 lines 0 comments Download
M ui/ozone/platform/drm/gpu/crtc_controller.cc View 1 2 3 4 5 6 7 9 chunks +26 lines, -20 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_controller.h View 1 2 3 4 5 6 3 chunks +2 lines, -39 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_controller.cc View 1 2 3 4 5 6 9 chunks +21 lines, -137 lines 0 comments Download
M ui/ozone/platform/drm/gpu/hardware_display_controller_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -26 lines 0 comments Download
D ui/ozone/platform/drm/gpu/page_flip_observer.h View 1 2 4 1 chunk +0 lines, -19 lines 0 comments Download
A ui/ozone/platform/drm/gpu/page_flip_request.h View 1 2 3 4 5 6 7 1 chunk +30 lines, -0 lines 0 comments Download
A ui/ozone/platform/drm/gpu/page_flip_request.cc View 1 2 3 4 5 6 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (9 generated)
alexst (slow to review)
Still stress testing, but it's mostly doing what I want.
5 years, 8 months ago (2015-04-21 18:07:56 UTC) #3
dnicoara
https://codereview.chromium.org/1091253003/diff/20001/ui/ozone/platform/drm/gpu/hardware_display_controller.cc File ui/ozone/platform/drm/gpu/hardware_display_controller.cc (right): https://codereview.chromium.org/1091253003/diff/20001/ui/ozone/platform/drm/gpu/hardware_display_controller.cc#newcode60 ui/ozone/platform/drm/gpu/hardware_display_controller.cc:60: // Because a page flip is pending we need ...
5 years, 8 months ago (2015-04-21 18:50:42 UTC) #4
alexst (slow to review)
https://codereview.chromium.org/1091253003/diff/20001/ui/ozone/platform/drm/gpu/hardware_display_controller.cc File ui/ozone/platform/drm/gpu/hardware_display_controller.cc (right): https://codereview.chromium.org/1091253003/diff/20001/ui/ozone/platform/drm/gpu/hardware_display_controller.cc#newcode63 ui/ozone/platform/drm/gpu/hardware_display_controller.cc:63: ignore_page_flip_event_ = true; On 2015/04/21 18:50:42, dnicoara wrote: > ...
5 years, 8 months ago (2015-04-21 19:19:55 UTC) #5
dnicoara
https://codereview.chromium.org/1091253003/diff/40001/ui/ozone/platform/drm/gpu/hardware_display_controller.cc File ui/ozone/platform/drm/gpu/hardware_display_controller.cc (right): https://codereview.chromium.org/1091253003/diff/40001/ui/ozone/platform/drm/gpu/hardware_display_controller.cc#newcode86 ui/ozone/platform/drm/gpu/hardware_display_controller.cc:86: // A request is being serviced right now. I'm ...
5 years, 8 months ago (2015-04-21 19:37:58 UTC) #6
spang
drive by https://codereview.chromium.org/1091253003/diff/20001/ui/gl/gl_surface_ozone.cc File ui/gl/gl_surface_ozone.cc (left): https://codereview.chromium.org/1091253003/diff/20001/ui/gl/gl_surface_ozone.cc#oldcode210 ui/gl/gl_surface_ozone.cc:210: } else if (ozone_surface_->IsUniversalDisplayLinkDevice()) { Can you ...
5 years, 8 months ago (2015-04-21 19:39:36 UTC) #8
alexst (slow to review)
https://codereview.chromium.org/1091253003/diff/20001/ui/ozone/platform/drm/gpu/hardware_display_controller.cc File ui/ozone/platform/drm/gpu/hardware_display_controller.cc (right): https://codereview.chromium.org/1091253003/diff/20001/ui/ozone/platform/drm/gpu/hardware_display_controller.cc#newcode63 ui/ozone/platform/drm/gpu/hardware_display_controller.cc:63: ignore_page_flip_event_ = true; On 2015/04/21 19:39:36, spang wrote: > ...
5 years, 8 months ago (2015-04-21 19:46:17 UTC) #9
alexst (slow to review)
New draft is ready, please take a look. I am stress testing now to see ...
5 years, 8 months ago (2015-04-22 18:50:50 UTC) #12
dnicoara
https://codereview.chromium.org/1091253003/diff/160001/ui/ozone/platform/drm/gpu/crtc_controller.cc File ui/ozone/platform/drm/gpu/crtc_controller.cc (right): https://codereview.chromium.org/1091253003/diff/160001/ui/ozone/platform/drm/gpu/crtc_controller.cc#newcode27 ui/ozone/platform/drm/gpu/crtc_controller.cc:27: CrtcController::~CrtcController() { I think you need to ack the ...
5 years, 8 months ago (2015-04-23 15:34:57 UTC) #13
alexst (slow to review)
done, ptal.
5 years, 8 months ago (2015-04-23 16:17:31 UTC) #14
spang
On 2015/04/21 19:39:36, spang wrote: > drive by > > https://codereview.chromium.org/1091253003/diff/20001/ui/gl/gl_surface_ozone.cc > File ui/gl/gl_surface_ozone.cc (left): ...
5 years, 8 months ago (2015-04-23 16:18:23 UTC) #15
dnicoara
nit: Could the title be of sane length (I don't remember what it should be ...
5 years, 8 months ago (2015-04-23 16:29:50 UTC) #16
spang
https://codereview.chromium.org/1091253003/diff/180001/ui/ozone/platform/drm/gpu/crtc_controller.cc File ui/ozone/platform/drm/gpu/crtc_controller.cc (right): https://codereview.chromium.org/1091253003/diff/180001/ui/ozone/platform/drm/gpu/crtc_controller.cc#newcode158 ui/ozone/platform/drm/gpu/crtc_controller.cc:158: last_request.swap(page_flip_request_); Put a comment here for why to swap.
5 years, 8 months ago (2015-04-23 16:32:53 UTC) #17
spang
lgtm
5 years, 8 months ago (2015-04-23 16:32:57 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1091253003/220001
5 years, 8 months ago (2015-04-23 18:59:13 UTC) #21
dnicoara
lgtm
5 years, 8 months ago (2015-04-23 19:02:51 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-23 19:42:28 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1091253003/220001
5 years, 8 months ago (2015-04-24 14:28:00 UTC) #26
commit-bot: I haz the power
Committed patchset #9 (id:220001)
5 years, 8 months ago (2015-04-24 14:28:58 UTC) #27
commit-bot: I haz the power
5 years, 8 months ago (2015-04-24 14:30:14 UTC) #28
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/9c97321ec9598a8b8af5eaa91cb9135b363efef0
Cr-Commit-Position: refs/heads/master@{#326791}

Powered by Google App Engine
This is Rietveld 408576698