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

Issue 1515723002: cc: Avoid crash on Android in GLRenderer (Closed)

Created:
5 years ago by no sievers
Modified:
5 years ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Avoid crash on Android in GLRenderer We don't really handle GetVideoStreamTextureProgram() returning null gracefully, so avoid the crash. However, any broken implementation that was crashing here will still not render embedded videos and cause GL errors (since successfull shader compilation and use of GLenums are also gated on the extension). BUG=350443 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/46c880331aaad20da0d966ca2240ff820bb41e28 Cr-Commit-Position: refs/heads/master@{#364263}

Patch Set 1 #

Patch Set 2 : test #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -4 lines) Patch
M cc/output/gl_renderer.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/output/gl_renderer_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 29 (13 generated)
no sievers
I can remove the cap bool separately now that it looks like that bit is ...
5 years ago (2015-12-09 22:18:06 UTC) #4
no sievers
On 2015/12/09 22:18:06, sievers wrote: > I can remove the cap bool separately now that ...
5 years ago (2015-12-09 22:18:49 UTC) #5
danakj
On 2015/12/09 22:18:06, sievers wrote: > I can remove the cap bool separately now that ...
5 years ago (2015-12-09 22:19:09 UTC) #6
danakj
On 2015/12/09 22:18:49, sievers wrote: > On 2015/12/09 22:18:06, sievers wrote: > > I can ...
5 years ago (2015-12-09 22:19:53 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1515723002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1515723002/1
5 years ago (2015-12-09 22:23:01 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/153550)
5 years ago (2015-12-09 23:40:22 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1515723002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1515723002/20001
5 years ago (2015-12-09 23:59:26 UTC) #14
danakj
https://codereview.chromium.org/1515723002/diff/20001/cc/output/gl_renderer_unittest.cc File cc/output/gl_renderer_unittest.cc (right): https://codereview.chromium.org/1515723002/diff/20001/cc/output/gl_renderer_unittest.cc#newcode135 cc/output/gl_renderer_unittest.cc:135: if (renderer()->Capabilities().using_egl_image) can you remove this at the same ...
5 years ago (2015-12-10 00:00:04 UTC) #15
no sievers
https://codereview.chromium.org/1515723002/diff/20001/cc/output/gl_renderer_unittest.cc File cc/output/gl_renderer_unittest.cc (right): https://codereview.chromium.org/1515723002/diff/20001/cc/output/gl_renderer_unittest.cc#newcode135 cc/output/gl_renderer_unittest.cc:135: if (renderer()->Capabilities().using_egl_image) On 2015/12/10 00:00:04, danakj (behind on reviews) ...
5 years ago (2015-12-10 00:05:51 UTC) #17
danakj
https://codereview.chromium.org/1515723002/diff/40001/cc/output/gl_renderer_unittest.cc File cc/output/gl_renderer_unittest.cc (left): https://codereview.chromium.org/1515723002/diff/40001/cc/output/gl_renderer_unittest.cc#oldcode136 cc/output/gl_renderer_unittest.cc:136: EXPECT_PROGRAM_VALID(renderer()->GetVideoStreamTextureProgram(precision)); I think you wanna keep this tho? :) ...
5 years ago (2015-12-10 00:13:36 UTC) #18
no sievers
https://codereview.chromium.org/1515723002/diff/40001/cc/output/gl_renderer_unittest.cc File cc/output/gl_renderer_unittest.cc (left): https://codereview.chromium.org/1515723002/diff/40001/cc/output/gl_renderer_unittest.cc#oldcode136 cc/output/gl_renderer_unittest.cc:136: EXPECT_PROGRAM_VALID(renderer()->GetVideoStreamTextureProgram(precision)); On 2015/12/10 00:13:36, danakj (behind on reviews) wrote: ...
5 years ago (2015-12-10 00:16:27 UTC) #19
no sievers
and comment added.
5 years ago (2015-12-10 00:22:17 UTC) #22
danakj
Thanks LGTM
5 years ago (2015-12-10 00:23:50 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1515723002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1515723002/80001
5 years ago (2015-12-10 00:25:02 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:80001)
5 years ago (2015-12-10 02:20:31 UTC) #27
commit-bot: I haz the power
5 years ago (2015-12-10 02:21:49 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/46c880331aaad20da0d966ca2240ff820bb41e28
Cr-Commit-Position: refs/heads/master@{#364263}

Powered by Google App Engine
This is Rietveld 408576698