Revert "v4l2: Remove GLImage from OutputRecord"
This reverts commit 588d8a94. Reason for revert: Some CTS/GTS tests has failed due to the CL. Original change's description: > v4l2: Remove GLImage from OutputRecord > > When GLImages were introduced to v4l2 in crrev.com/c/517883 to replace > EGLImages, a scoped ref to a GLImage was added to OutputRecord in place of > the EGLImage. > > This was not necessary since when we bind the GLImage in GLES2 cmd decoder, > the decoder increases the ref count and keeps the GLImage alive. > > Additionally, copying the scoped_refptr<GLImage> in a different > thread than it was created, when we associate GLImage to OutputRecords, > causes a DCHECK to go off. > > This CL removes GLImage scoped_refptr from > V4L2SliceVideoDecodeAccelerator::OutputRecord. > > > Test: Youtube video on scarlet. Tried to close and open new tabs with videos. > Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel > Change-Id: Idd2625996b177be35b7a67eab3d9ac8b3f8206d7 > Reviewed-on: https://chromium-review.googlesource.com/911841 > Reviewed-by: Dale Curtis <dalecurtis@chromium.org> > Reviewed-by: Miguel Casas <mcasas@chromium.org> > Commit-Queue: Daniele Castagna <dcastagna@chromium.org> > Cr-Commit-Position: refs/heads/master@{#536139} TBR=dalecurtis@chromium.org,mcasas@chromium.org,dcastagna@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Change-Id: Iafc4e43b6d99de251d18c45ec1efcb901d8a2e79 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Reviewed-on: https://chromium-review.googlesource.com/936882Reviewed-by:Pawel Osciak <posciak@chromium.org> Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/master@{#539083}
Showing
Please register or sign in to comment