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

Issue 14007004: cc: Don't do produce/consume on the texture id given in VideoFrame. (Closed)

Created:
7 years, 8 months ago by danakj
Modified:
7 years, 8 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, cc-bugs_chromium.org, alexst (slow to review), backer, skaslev
Visibility:
Public.

Description

cc: Don't do produce/consume on the texture id given in VideoFrame. This texture id is used for hardware readback to webgl, so producing the texture id breaks that path. Instead, add a hardware_resource ResourceId to pass along with the video frame resources to the VideoLayerImpl. This is a resource id wrapping the hardware decoder texture. Once we have shared mailboxes this can be removed, and we can just pass the Mailbox from the VideoFrame to the video layer. R=enne,piman BUG=179729 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194108

Patch Set 1 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -51 lines) Patch
M cc/layers/video_layer_impl.h View 2 chunks +6 lines, -0 lines 0 comments Download
M cc/layers/video_layer_impl.cc View 10 chunks +37 lines, -24 lines 0 comments Download
M cc/resources/video_resource_updater.h View 3 chunks +6 lines, -5 lines 0 comments Download
M cc/resources/video_resource_updater.cc View 3 chunks +10 lines, -22 lines 2 comments Download

Messages

Total messages: 8 (0 generated)
danakj
7 years, 8 months ago (2013-04-12 22:21:42 UTC) #1
piman
lgtm
7 years, 8 months ago (2013-04-12 22:33:28 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/14007004/4001
7 years, 8 months ago (2013-04-12 22:36:47 UTC) #3
no sievers
https://codereview.chromium.org/14007004/diff/4001/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (left): https://codereview.chromium.org/14007004/diff/4001/cc/resources/video_resource_updater.cc#oldcode352 cc/resources/video_resource_updater.cc:352: GLC(context, context->bindTexture(GL_TEXTURE_2D, texture_id)); Hey when you reland, be sure ...
7 years, 8 months ago (2013-04-13 01:14:30 UTC) #4
commit-bot: I haz the power
List of reviewers changed. sievers@chromium.org did a drive-by without LGTM'ing!
7 years, 8 months ago (2013-04-13 05:07:03 UTC) #5
danakj
https://codereview.chromium.org/14007004/diff/4001/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (left): https://codereview.chromium.org/14007004/diff/4001/cc/resources/video_resource_updater.cc#oldcode352 cc/resources/video_resource_updater.cc:352: GLC(context, context->bindTexture(GL_TEXTURE_2D, texture_id)); On 2013/04/13 01:14:30, Daniel Sievers wrote: ...
7 years, 8 months ago (2013-04-13 16:47:24 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/14007004/4001
7 years, 8 months ago (2013-04-13 16:47:35 UTC) #7
commit-bot: I haz the power
7 years, 8 months ago (2013-04-13 16:47:56 UTC) #8
Message was sent while issue was closed.
Change committed as 194108

Powered by Google App Engine
This is Rietveld 408576698