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

Issue 132503002: video: On ChromeOS don't assume GLX always. (Closed)

Created:
6 years, 11 months ago by danakj
Modified:
6 years, 11 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, chromium-apps-reviews_chromium.org, wjia+watch_chromium.org, miu+watch_chromium.org
Visibility:
Public.

Description

video: On ChromeOS don't assume GLX always. Hardware video decode depends on GLX but we may be using OSMesa. In this case fallback to non-hardware video decode gracefully instead of static casting to an incorrect type. This allows us to remove flags forcing non-OSMesa for some tests, and they will test hardware decode on the ChromeOS VMs still. These flags must go in order to support browser tests running with a compositor instead of using legacy software mode, since GLX inside the bot Xvfb environment can not run the compositor. (This is a small piece of enabling us to test real code paths in browser tests https://codereview.chromium.org/120313002/ .) R=fischman@chromium.org, piman@chromium.org, piman BUG=270918 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244111 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244222

Patch Set 1 #

Patch Set 2 : videodecode: notabcapture2 #

Patch Set 3 : videodecode: 1more #

Total comments: 4

Patch Set 4 : videodecode: vlogandcheck #

Total comments: 2

Patch Set 5 : videodecode: bettercheck #

Patch Set 6 : videodecode: movedcheck #

Total comments: 1

Patch Set 7 : videodecode: nopixelresult #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -12 lines) Patch
M chrome/browser/media/chrome_webrtc_browsertest.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/media/webrtc_aecdump_browsertest.cc View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M content/browser/media/webrtc_browsertest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -4 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.cc View 1 2 3 2 chunks +8 lines, -1 line 0 comments Download
M content/common/gpu/media/video_decode_accelerator_unittest.cc View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
danakj
piman@: please review fischman@: please review the webrtc test changes
6 years, 11 months ago (2014-01-09 22:22:16 UTC) #1
piman
lgtm
6 years, 11 months ago (2014-01-09 23:12:48 UTC) #2
Ami GONE FROM CHROMIUM
Would it be better to do this via a blacklist entry than the change to ...
6 years, 11 months ago (2014-01-09 23:35:43 UTC) #3
piman
On Thu, Jan 9, 2014 at 3:35 PM, <fischman@chromium.org> wrote: > Would it be better ...
6 years, 11 months ago (2014-01-09 23:42:41 UTC) #4
Ami GONE FROM CHROMIUM
Sold. On Thu, Jan 9, 2014 at 3:42 PM, Antoine Labour <piman@chromium.org> wrote: > > ...
6 years, 11 months ago (2014-01-09 23:46:19 UTC) #5
danakj
> Probably also want to add a LOG(FATAL) for this condition to > content/common/gpu/media/video_decode_accelerator_unittest.cc:GLRenderingVDAClient::CreateAndStartDecoder() > ...
6 years, 11 months ago (2014-01-10 01:10:40 UTC) #6
Ami GONE FROM CHROMIUM
LGTM % comment below. (this test is run on the cros waterfall, but not on ...
6 years, 11 months ago (2014-01-10 01:15:09 UTC) #7
danakj
https://codereview.chromium.org/132503002/diff/330001/content/common/gpu/media/video_decode_accelerator_unittest.cc File content/common/gpu/media/video_decode_accelerator_unittest.cc (right): https://codereview.chromium.org/132503002/diff/330001/content/common/gpu/media/video_decode_accelerator_unittest.cc#newcode538 content/common/gpu/media/video_decode_accelerator_unittest.cc:538: CHECK_EQ(gfx::kGLImplementationDesktopGL, gfx::GetGLImplementation()); On 2014/01/10 01:15:10, Ami Fischman wrote: > ...
6 years, 11 months ago (2014-01-10 01:18:14 UTC) #8
Ami GONE FROM CHROMIUM
LGTM
6 years, 11 months ago (2014-01-10 01:20:46 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/132503002/450001
6 years, 11 months ago (2014-01-10 01:25:10 UTC) #10
commit-bot: I haz the power
Change committed as 244111
6 years, 11 months ago (2014-01-10 06:38:08 UTC) #11
Marijn Kruisselbrink
A revert of this CL has been created in https://codereview.chromium.org/134003003/ by mek@chromium.org. The reason for ...
6 years, 11 months ago (2014-01-10 15:19:50 UTC) #12
danakj
It appears that WebrtcBrowserTest.TestGetUserMediaConstraints is timing out, it probably does not need pixel results. I'll ...
6 years, 11 months ago (2014-01-10 16:36:20 UTC) #13
danakj
On 2014/01/10 16:36:20, danakj wrote: > It appears that WebrtcBrowserTest.TestGetUserMediaConstraints is timing out, it > ...
6 years, 11 months ago (2014-01-10 16:51:17 UTC) #14
danakj
https://codereview.chromium.org/132503002/diff/450001/content/browser/media/webrtc_browsertest.cc File content/browser/media/webrtc_browsertest.cc (right): https://codereview.chromium.org/132503002/diff/450001/content/browser/media/webrtc_browsertest.cc#newcode93 content/browser/media/webrtc_browsertest.cc:93: UseRealGLContexts(); I removed this from this CL as it's ...
6 years, 11 months ago (2014-01-10 17:55:41 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/132503002/800001
6 years, 11 months ago (2014-01-10 18:04:24 UTC) #16
danakj
6 years, 11 months ago (2014-01-10 20:01:35 UTC) #17
Message was sent while issue was closed.
Committed patchset #7 manually as r244222 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698