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

Issue 856423002: [Ozone-Dri] Decouple the IO helper thread from DriWrapper (Closed)

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

Description

[Ozone-Dri] Decouple the IO helper thread from DriWrapper Once we support multiple DRM devices we'll want to share the helper thread between the different wrappers. BUG=427959 NOTRY=true Committed: https://crrev.com/3085f02cdf77021cc4307d45762573bb5c4fea5e Cr-Commit-Position: refs/heads/master@{#312902}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : . #

Total comments: 2

Patch Set 4 : Move helper thread & update its initialization #

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -38 lines) Patch
M ui/ozone/platform/dri/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/platform/dri/dri.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/platform/dri/dri_gpu_platform_support.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M ui/ozone/platform/dri/dri_gpu_platform_support.cc View 1 2 3 7 chunks +26 lines, -3 lines 0 comments Download
A ui/ozone/platform/dri/dri_helper_thread.h View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
A ui/ozone/platform/dri/dri_helper_thread.cc View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
M ui/ozone/platform/dri/dri_wrapper.h View 1 2 3 4 6 chunks +10 lines, -12 lines 0 comments Download
M ui/ozone/platform/dri/dri_wrapper.cc View 1 2 3 4 chunks +11 lines, -16 lines 0 comments Download
M ui/ozone/platform/dri/gbm_wrapper.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/platform/dri/gbm_wrapper.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M ui/ozone/platform/dri/ozone_platform_dri.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/platform/dri/ozone_platform_gbm.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/platform/dri/test/mock_dri_wrapper.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/platform/dri/test/mock_dri_wrapper.cc View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
dnicoara
PTAL This depends on https://codereview.chromium.org/812933003/
5 years, 11 months ago (2015-01-21 21:05:51 UTC) #2
alexst (slow to review)
https://codereview.chromium.org/856423002/diff/20001/ui/ozone/platform/dri/dri.gypi File ui/ozone/platform/dri/dri.gypi (right): https://codereview.chromium.org/856423002/diff/20001/ui/ozone/platform/dri/dri.gypi#newcode85 ui/ozone/platform/dri/dri.gypi:85: 'io_helper_thread.cc', Let's call it drm_helper_thread, I think that would ...
5 years, 11 months ago (2015-01-22 15:27:48 UTC) #3
dnicoara
https://codereview.chromium.org/856423002/diff/20001/ui/ozone/platform/dri/dri.gypi File ui/ozone/platform/dri/dri.gypi (right): https://codereview.chromium.org/856423002/diff/20001/ui/ozone/platform/dri/dri.gypi#newcode85 ui/ozone/platform/dri/dri.gypi:85: 'io_helper_thread.cc', On 2015/01/22 15:27:48, alexst wrote: > Let's call ...
5 years, 11 months ago (2015-01-22 22:50:14 UTC) #4
alexst (slow to review)
https://codereview.chromium.org/856423002/diff/40001/ui/ozone/platform/dri/dri_gpu_platform_support.cc File ui/ozone/platform/dri/dri_gpu_platform_support.cc (right): https://codereview.chromium.org/856423002/diff/40001/ui/ozone/platform/dri/dri_gpu_platform_support.cc#newcode45 ui/ozone/platform/dri/dri_gpu_platform_support.cc:45: if (helper_thread_) So it occurred to me, we shouldn't ...
5 years, 11 months ago (2015-01-22 23:09:24 UTC) #5
dnicoara
https://codereview.chromium.org/856423002/diff/40001/ui/ozone/platform/dri/dri_gpu_platform_support.cc File ui/ozone/platform/dri/dri_gpu_platform_support.cc (right): https://codereview.chromium.org/856423002/diff/40001/ui/ozone/platform/dri/dri_gpu_platform_support.cc#newcode45 ui/ozone/platform/dri/dri_gpu_platform_support.cc:45: if (helper_thread_) On 2015/01/22 23:09:24, alexst wrote: > So ...
5 years, 11 months ago (2015-01-23 17:13:06 UTC) #6
alexst (slow to review)
On 2015/01/23 17:13:06, dnicoara wrote: > https://codereview.chromium.org/856423002/diff/40001/ui/ozone/platform/dri/dri_gpu_platform_support.cc > File ui/ozone/platform/dri/dri_gpu_platform_support.cc (right): > > https://codereview.chromium.org/856423002/diff/40001/ui/ozone/platform/dri/dri_gpu_platform_support.cc#newcode45 > ...
5 years, 11 months ago (2015-01-23 18:28:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/856423002/80001
5 years, 11 months ago (2015-01-23 19:44:35 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 11 months ago (2015-01-23 19:46:14 UTC) #10
commit-bot: I haz the power
5 years, 11 months ago (2015-01-23 19:48:02 UTC) #11
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/3085f02cdf77021cc4307d45762573bb5c4fea5e
Cr-Commit-Position: refs/heads/master@{#312902}

Powered by Google App Engine
This is Rietveld 408576698