|
|
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. |
Descriptioncc: 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 : #
Messages
Total messages: 29 (13 generated)
Description was changed from ========== 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 ========== to ========== 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 ==========
Description was changed from ========== 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 ========== to ========== 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 ==========
sievers@chromium.org changed reviewers: + danakj@chromium.org
I can remove the cap bool separately now that it looks like that bit is only used for a DCHECK()(but this is more minimal for merging).
On 2015/12/09 22:18:06, sievers wrote: > I can remove the cap bool separately now that it looks like that bit is only > used for a DCHECK()(but this is more minimal for merging). Oh we use it in gl_renderer_unittest.cc.
On 2015/12/09 22:18:06, sievers wrote: > I can remove the cap bool separately now that it looks like that bit is only > used for a DCHECK()(but this is more minimal for merging). Yes plz. LGTM and LGTM++ for removing the bool.
The CQ bit was checked by sievers@chromium.org
On 2015/12/09 22:18:49, sievers wrote: > On 2015/12/09 22:18:06, sievers wrote: > > I can remove the cap bool separately now that it looks like that bit is only > > used for a DCHECK()(but this is more minimal for merging). > > Oh we use it in gl_renderer_unittest.cc. I think we can just remove that branch? It looks like it's testing the null.
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
The CQ bit was unchecked by commit-bot@chromium.org
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_...)
The CQ bit was checked by sievers@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from danakj@chromium.org Link to the patchset: https://codereview.chromium.org/1515723002/#ps20001 (title: "test")
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
https://codereview.chromium.org/1515723002/diff/20001/cc/output/gl_renderer_u... File cc/output/gl_renderer_unittest.cc (right): https://codereview.chromium.org/1515723002/diff/20001/cc/output/gl_renderer_u... cc/output/gl_renderer_unittest.cc:135: if (renderer()->Capabilities().using_egl_image) can you remove this at the same time?
The CQ bit was unchecked by danakj@chromium.org
https://codereview.chromium.org/1515723002/diff/20001/cc/output/gl_renderer_u... File cc/output/gl_renderer_unittest.cc (right): https://codereview.chromium.org/1515723002/diff/20001/cc/output/gl_renderer_u... cc/output/gl_renderer_unittest.cc:135: if (renderer()->Capabilities().using_egl_image) On 2015/12/10 00:00:04, danakj (behind on reviews) wrote: > can you remove this at the same time? makes sense. done.
https://codereview.chromium.org/1515723002/diff/40001/cc/output/gl_renderer_u... File cc/output/gl_renderer_unittest.cc (left): https://codereview.chromium.org/1515723002/diff/40001/cc/output/gl_renderer_u... cc/output/gl_renderer_unittest.cc:136: EXPECT_PROGRAM_VALID(renderer()->GetVideoStreamTextureProgram(precision)); I think you wanna keep this tho? :) sorry hehe, we wanna make sure the program can compile always?
https://codereview.chromium.org/1515723002/diff/40001/cc/output/gl_renderer_u... File cc/output/gl_renderer_unittest.cc (left): https://codereview.chromium.org/1515723002/diff/40001/cc/output/gl_renderer_u... 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: > I think you wanna keep this tho? :) sorry hehe, we wanna make sure the program > can compile always? Done.
Patchset #3 (id:40001) has been deleted
Patchset #3 (id:60001) has been deleted
and comment added.
Thanks LGTM
The CQ bit was checked by sievers@chromium.org
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
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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 ==========
Message was sent while issue was closed.
Committed patchset #3 (id:80001)
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/46c880331aaad20da0d966ca2240ff820bb41e28 Cr-Commit-Position: refs/heads/master@{#364263} |