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

Issue 1861923002: Mac h264: Retain CVPixelBuffer inside GLImageIOSurface (Closed)

Created:
4 years, 8 months ago by ccameron
Modified:
4 years, 8 months ago
CC:
reveman, chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch_chromium.org, piman+watch_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mac h264: Retain CVPixelBuffer inside GLImageIOSurface CVPixelBuffers wrap IOSurfaces, and if the owning CVPixelBuffer goes away, then the IOSurface can end up being discarded. Adding this path to retain the CVPixelBuffer in the GLImage ensures that the GLImage will continue to contain valid contents. BUG=594452 Committed: https://crrev.com/95977a2105324fb9a790db999441bd5891c4e671 Cr-Commit-Position: refs/heads/master@{#386027}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Include order #

Patch Set 3 : Fix assert #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -5 lines) Patch
M content/common/gpu/media/vt_video_decode_accelerator_mac.cc View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M ui/gl/gl_image_io_surface.h View 1 4 chunks +11 lines, -0 lines 0 comments Download
M ui/gl/gl_image_io_surface.mm View 3 chunks +22 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 31 (16 generated)
ccameron
Adding sandersd@ for media/ Adding avi@ for ui/ (should I put myself in that OWNER ...
4 years, 8 months ago (2016-04-06 00:12:43 UTC) #2
ccameron
Actually adding avi@ for ui/
4 years, 8 months ago (2016-04-06 00:12:58 UTC) #5
ccameron
Actually adding avi@ for ui/
4 years, 8 months ago (2016-04-06 00:12:58 UTC) #6
sandersd (OOO until July 31)
lgtm
4 years, 8 months ago (2016-04-06 00:37:14 UTC) #7
reveman
lgtm
4 years, 8 months ago (2016-04-06 01:10:39 UTC) #8
Avi (use Gerrit)
lgtm https://codereview.chromium.org/1861923002/diff/1/ui/gl/gl_image_io_surface.h File ui/gl/gl_image_io_surface.h (right): https://codereview.chromium.org/1861923002/diff/1/ui/gl/gl_image_io_surface.h#newcode9 ui/gl/gl_image_io_surface.h:9: #include <CoreVideo/CVPixelBuffer.h> Alphabetical?
4 years, 8 months ago (2016-04-06 16:49:52 UTC) #9
ccameron
Thanks! https://codereview.chromium.org/1861923002/diff/1/ui/gl/gl_image_io_surface.h File ui/gl/gl_image_io_surface.h (right): https://codereview.chromium.org/1861923002/diff/1/ui/gl/gl_image_io_surface.h#newcode9 ui/gl/gl_image_io_surface.h:9: #include <CoreVideo/CVPixelBuffer.h> On 2016/04/06 16:49:52, Avi wrote: > ...
4 years, 8 months ago (2016-04-06 17:49:00 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861923002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861923002/20001
4 years, 8 months ago (2016-04-06 17:49:26 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/206619)
4 years, 8 months ago (2016-04-06 21:53:02 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861923002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861923002/40001
4 years, 8 months ago (2016-04-06 22:17:46 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/206876)
4 years, 8 months ago (2016-04-07 01:50:33 UTC) #23
ccameron
Err... I'll wait until after 5pm to flip the commit bit -- I want one ...
4 years, 8 months ago (2016-04-07 19:53:06 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861923002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861923002/40001
4 years, 8 months ago (2016-04-08 08:58:08 UTC) #28
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-08 09:32:30 UTC) #29
commit-bot: I haz the power
4 years, 8 months ago (2016-04-08 09:34:25 UTC) #31
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/95977a2105324fb9a790db999441bd5891c4e671
Cr-Commit-Position: refs/heads/master@{#386027}

Powered by Google App Engine
This is Rietveld 408576698