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

Issue 2127053004: Optimize webgl texImage2D from YUV video textures. (Closed)

Created:
4 years, 5 months ago by jbauman
Modified:
4 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch+vc_chromium.org, miu+watch_chromium.org, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@skianocopy
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Optimize webgl texImage2D from YUV video textures. The current path does a conversion from YUV to an RGBA SkImage, then paints that to another Skia canvas and does a CopyTexImageCHROMIUM to the WebGL texture. We can optimize this by removing the paint to the canvas and doing a copy directly from the SkImage to the WebGL texture. BUG=625900 Committed: https://crrev.com/581d041c9971bb533e2cbd5c57014ee026fb50e6 Cr-Commit-Position: refs/heads/master@{#406735}

Patch Set 1 #

Total comments: 4

Patch Set 2 : hold on to converted SkImages #

Total comments: 3

Patch Set 3 : review changes #

Patch Set 4 : remove unnecessary change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -40 lines) Patch
M content/renderer/media/webmediaplayer_ms.cc View 1 2 3 1 chunk +12 lines, -7 lines 0 comments Download
M media/blink/webmediaplayer_impl.cc View 1 2 3 1 chunk +7 lines, -6 lines 0 comments Download
M media/renderers/skcanvas_video_renderer.h View 1 2 3 2 chunks +21 lines, -0 lines 0 comments Download
M media/renderers/skcanvas_video_renderer.cc View 1 2 3 3 chunks +103 lines, -27 lines 0 comments Download

Messages

Total messages: 26 (12 generated)
jbauman
4 years, 5 months ago (2016-07-08 22:29:35 UTC) #3
Daniele Castagna
I have only one concern: IIUC if someone uploads a video with texImage2D multiple times, ...
4 years, 5 months ago (2016-07-11 18:23:36 UTC) #5
jbauman
On 2016/07/11 18:23:36, Daniele Castagna wrote: > I have only one concern: IIUC if someone ...
4 years, 5 months ago (2016-07-12 04:17:48 UTC) #6
Daniele Castagna
On 2016/07/12 at 04:17:48, jbauman wrote: > On 2016/07/11 18:23:36, Daniele Castagna wrote: > > ...
4 years, 5 months ago (2016-07-13 20:51:01 UTC) #7
sandersd (OOO until July 31)
media/ lgtm https://codereview.chromium.org/2127053004/diff/20001/media/renderers/skcanvas_video_renderer.cc File media/renderers/skcanvas_video_renderer.cc (right): https://codereview.chromium.org/2127053004/diff/20001/media/renderers/skcanvas_video_renderer.cc#newcode673 media/renderers/skcanvas_video_renderer.cc:673: if (!last_image_) Given this pattern is used ...
4 years, 5 months ago (2016-07-18 23:46:57 UTC) #8
jbauman
PTAL On 2016/07/13 20:51:01, Daniele Castagna wrote: > https://codereview.chromium.org/2127053004/diff/20001/media/renderers/skcanvas_video_renderer.cc > File media/renderers/skcanvas_video_renderer.cc (right): > > ...
4 years, 5 months ago (2016-07-19 20:34:57 UTC) #9
Daniele Castagna
lgtm
4 years, 5 months ago (2016-07-20 16:35:54 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2127053004/40001
4 years, 5 months ago (2016-07-20 19:42:41 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/38690) ios-device-gn on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 5 months ago (2016-07-20 19:45:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2127053004/60001
4 years, 5 months ago (2016-07-20 21:27:41 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/259337)
4 years, 5 months ago (2016-07-20 23:58:32 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2127053004/60001
4 years, 5 months ago (2016-07-21 00:02:30 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-21 01:01:17 UTC) #24
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 01:03:09 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/581d041c9971bb533e2cbd5c57014ee026fb50e6
Cr-Commit-Position: refs/heads/master@{#406735}

Powered by Google App Engine
This is Rietveld 408576698