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

Issue 936703002: Fix UiThreadGpu initialization for video accelerator tests (Closed)

Created:
5 years, 10 months ago by dnicoara
Modified:
5 years, 10 months ago
Reviewers:
Pawel Osciak, spang
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix UiThreadGpu initialization for video accelerator tests The UiThreadGpu shouldn't be initialized multiple times for the same OzonePlatform. This fixes failing DCHECKs in the decode accelerator unittests. BUG=447798 Committed: https://crrev.com/09b7de5dd7254947cd4306de907274fa63373d48 Cr-Commit-Position: refs/heads/master@{#317474}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 2

Patch Set 4 : rename #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -192 lines) Patch
M content/common/gpu/media/rendering_helper.cc View 3 chunks +0 lines, -3 lines 0 comments Download
M content/common/gpu/media/video_decode_accelerator_unittest.cc View 1 2 3 4 chunks +15 lines, -0 lines 0 comments Download
M ui/ozone/BUILD.gn View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M ui/ozone/demo/ozone_demo.cc View 1 2 3 3 chunks +5 lines, -3 lines 0 comments Download
M ui/ozone/ozone.gyp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M ui/ozone/platform/dri/ozone_platform_dri.cc View 1 2 3 4 chunks +5 lines, -3 lines 0 comments Download
A ui/ozone/public/ozone_gpu_test_helper.h View 1 2 3 1 chunk +48 lines, -0 lines 0 comments Download
A + ui/ozone/public/ozone_gpu_test_helper.cc View 1 2 3 4 chunks +18 lines, -18 lines 0 comments Download
M ui/ozone/public/ui_thread_gpu.h View 1 2 3 1 chunk +0 lines, -42 lines 0 comments Download
M ui/ozone/public/ui_thread_gpu.cc View 1 2 3 1 chunk +0 lines, -119 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
dnicoara
spang@ for Ozone review posciak@ for owners review
5 years, 10 months ago (2015-02-18 02:27:18 UTC) #2
Pawel Osciak
On 2015/02/18 02:27:18, dnicoara wrote: > spang@ for Ozone review > posciak@ for owners review ...
5 years, 10 months ago (2015-02-18 03:17:28 UTC) #3
spang
All of the ozone APIs are used from the rendering thread, so UiThreadGpu should ideally ...
5 years, 10 months ago (2015-02-18 07:33:12 UTC) #4
dnicoara
On 2015/02/18 07:33:12, spang wrote: > All of the ozone APIs are used from the ...
5 years, 10 months ago (2015-02-18 17:08:44 UTC) #5
spang
On 2015/02/18 17:08:44, dnicoara wrote: > On 2015/02/18 07:33:12, spang wrote: > > All of ...
5 years, 10 months ago (2015-02-18 19:35:45 UTC) #6
dnicoara
On 2015/02/18 19:35:45, spang wrote: > On 2015/02/18 17:08:44, dnicoara wrote: > > On 2015/02/18 ...
5 years, 10 months ago (2015-02-19 01:11:29 UTC) #8
spang
On 2015/02/19 01:11:29, dnicoara wrote: > On 2015/02/18 19:35:45, spang wrote: > > On 2015/02/18 ...
5 years, 10 months ago (2015-02-19 01:52:20 UTC) #9
spang
https://codereview.chromium.org/936703002/diff/40001/ui/ozone/public/ui_thread_gpu.cc File ui/ozone/public/ui_thread_gpu.cc (right): https://codereview.chromium.org/936703002/diff/40001/ui/ozone/public/ui_thread_gpu.cc#newcode45 ui/ozone/public/ui_thread_gpu.cc:45: browser_task_runner_->PostTask( s/browser_/ui_/ Browser is a process, not a thread.
5 years, 10 months ago (2015-02-19 01:55:09 UTC) #10
dnicoara
Renamed it to OzoneGpuTestHelper. https://codereview.chromium.org/936703002/diff/40001/ui/ozone/public/ui_thread_gpu.cc File ui/ozone/public/ui_thread_gpu.cc (right): https://codereview.chromium.org/936703002/diff/40001/ui/ozone/public/ui_thread_gpu.cc#newcode45 ui/ozone/public/ui_thread_gpu.cc:45: browser_task_runner_->PostTask( On 2015/02/19 01:55:09, spang ...
5 years, 10 months ago (2015-02-19 06:04:33 UTC) #11
spang
lgtm
5 years, 10 months ago (2015-02-19 18:09:41 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/936703002/60001
5 years, 10 months ago (2015-02-21 00:49:11 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-02-21 01:20:09 UTC) #15
commit-bot: I haz the power
5 years, 10 months ago (2015-02-21 01:21:07 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/09b7de5dd7254947cd4306de907274fa63373d48
Cr-Commit-Position: refs/heads/master@{#317474}

Powered by Google App Engine
This is Rietveld 408576698