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

Issue 12412007: Add a new API in WebMediaPlayer to do a GPU-GPU textures copy if possible (Closed)

Created:
7 years, 9 months ago by Jun Jiang
Modified:
7 years, 9 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, darin-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add a new API in WebMediaPlayer to do a GPU-GPU textures copy if possible. Signed-off-by: Jun Jiang <jun.a.jiang@intel.com>; BUG=179754 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187827

Patch Set 1 #

Total comments: 11

Patch Set 2 : Add new API in WebMediaPlayer to do GPU-GPU textures copy #

Total comments: 7

Patch Set 3 : Add new APIs in WebMediaPlayer to do a GPU-GPU textures copy if possible. #

Total comments: 3

Patch Set 4 : Add new APIs in WebMediaPlayer to do a GPU-GPU textures copy if possible. #

Patch Set 5 : Add new APIs in WebMediaPlayer to do a GPU-GPU textures copy if possible. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -0 lines) Patch
M AUTHORS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webkit/media/webmediaplayer_impl.h View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M webkit/media/webmediaplayer_impl.cc View 1 2 3 2 chunks +39 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
Jun Jiang
The original discussion is at https://codereview.chromium.org/12385073/ and https://bugs.webkit.org/show_bug.cgi?id=111126. This is mainly to solve the problem ...
7 years, 9 months ago (2013-03-06 14:28:27 UTC) #1
scherkus (not reviewing)
I view this more as the 3D graphics context equivalent of void paintCurrentFrameInContext(GraphicsContext*, const IntRect&); ...
7 years, 9 months ago (2013-03-06 21:37:36 UTC) #2
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/12412007/diff/1/webkit/media/webmediaplayer_impl.cc File webkit/media/webmediaplayer_impl.cc (right): https://codereview.chromium.org/12412007/diff/1/webkit/media/webmediaplayer_impl.cc#newcode672 webkit/media/webmediaplayer_impl.cc:672: bool WebMediaPlayerImpl::copyVideoTextureToPlatformTexture(WebKit::WebGraphicsContext3D* webGraphicsContext, unsigned int texture, unsigned int internalFormat) ...
7 years, 9 months ago (2013-03-07 00:13:22 UTC) #3
Jun Jiang
Hi, scherkus and Kenneth. Thanks for your comments. It's better to finalize the API at ...
7 years, 9 months ago (2013-03-07 13:48:40 UTC) #4
Jun Jiang
https://codereview.chromium.org/12412007/diff/1/webkit/media/webmediaplayer_impl.cc File webkit/media/webmediaplayer_impl.cc (right): https://codereview.chromium.org/12412007/diff/1/webkit/media/webmediaplayer_impl.cc#newcode659 webkit/media/webmediaplayer_impl.cc:659: bool WebMediaPlayerImpl::videoDecodeAcceleratedByGpu() On 2013/03/06 21:37:37, scherkus wrote: > chromium ...
7 years, 9 months ago (2013-03-07 13:55:04 UTC) #5
scherkus (not reviewing)
https://codereview.chromium.org/12412007/diff/1/webkit/media/webmediaplayer_impl.cc File webkit/media/webmediaplayer_impl.cc (right): https://codereview.chromium.org/12412007/diff/1/webkit/media/webmediaplayer_impl.cc#newcode659 webkit/media/webmediaplayer_impl.cc:659: bool WebMediaPlayerImpl::videoDecodeAcceleratedByGpu() On 2013/03/07 13:55:04, Jun Jiang wrote: > ...
7 years, 9 months ago (2013-03-07 23:46:09 UTC) #6
Jun Jiang
https://codereview.chromium.org/12412007/diff/1/webkit/media/webmediaplayer_impl.cc File webkit/media/webmediaplayer_impl.cc (right): https://codereview.chromium.org/12412007/diff/1/webkit/media/webmediaplayer_impl.cc#newcode672 webkit/media/webmediaplayer_impl.cc:672: bool WebMediaPlayerImpl::copyVideoTextureToPlatformTexture(WebKit::WebGraphicsContext3D* webGraphicsContext, unsigned int texture, unsigned int internalFormat) ...
7 years, 9 months ago (2013-03-08 01:53:28 UTC) #7
scherkus (not reviewing)
https://codereview.chromium.org/12412007/diff/1/webkit/media/webmediaplayer_impl.cc File webkit/media/webmediaplayer_impl.cc (right): https://codereview.chromium.org/12412007/diff/1/webkit/media/webmediaplayer_impl.cc#newcode672 webkit/media/webmediaplayer_impl.cc:672: bool WebMediaPlayerImpl::copyVideoTextureToPlatformTexture(WebKit::WebGraphicsContext3D* webGraphicsContext, unsigned int texture, unsigned int internalFormat) ...
7 years, 9 months ago (2013-03-08 01:58:45 UTC) #8
Jun Jiang
On 2013/03/08 01:58:45, scherkus wrote: > https://codereview.chromium.org/12412007/diff/1/webkit/media/webmediaplayer_impl.cc > File webkit/media/webmediaplayer_impl.cc (right): > > https://codereview.chromium.org/12412007/diff/1/webkit/media/webmediaplayer_impl.cc#newcode672 > ...
7 years, 9 months ago (2013-03-08 02:18:55 UTC) #9
Jun Jiang
On 2013/03/08 02:18:55, Jun Jiang wrote: > On 2013/03/08 01:58:45, scherkus wrote: > > > ...
7 years, 9 months ago (2013-03-08 10:26:58 UTC) #10
scherkus (not reviewing)
few minor style nits -- thanks for doing this! also: can you update the CL ...
7 years, 9 months ago (2013-03-08 20:17:36 UTC) #11
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
7 years, 9 months ago (2013-03-10 09:51:22 UTC) #12
Jun Jiang
Hi,scherkus. Thanks for your comments. I have updated the patches at both chromium and WebKit(https://bugs.webkit.org/show_bug.cgi?id=111126) ...
7 years, 9 months ago (2013-03-10 13:45:30 UTC) #13
scherkus (not reviewing)
lgtm kbr/danakj: any other comments?
7 years, 9 months ago (2013-03-11 20:33:07 UTC) #14
danakj
Nothin from me :)
7 years, 9 months ago (2013-03-11 23:17:34 UTC) #15
Ken Russell (switch to Gerrit)
LGTM https://codereview.chromium.org/12412007/diff/20001/webkit/media/webmediaplayer_impl.cc File webkit/media/webmediaplayer_impl.cc (right): https://codereview.chromium.org/12412007/diff/20001/webkit/media/webmediaplayer_impl.cc#newcode704 webkit/media/webmediaplayer_impl.cc:704: web_graphics_context->flush(); This flush shouldn't be necessary.
7 years, 9 months ago (2013-03-12 02:08:13 UTC) #16
Jun Jiang
Hi, all. Thanks for your help on reviewing the patch and providing suggestions. For the ...
7 years, 9 months ago (2013-03-12 13:38:38 UTC) #17
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/12412007/diff/20001/webkit/media/webmediaplayer_impl.cc File webkit/media/webmediaplayer_impl.cc (right): https://codereview.chromium.org/12412007/diff/20001/webkit/media/webmediaplayer_impl.cc#newcode704 webkit/media/webmediaplayer_impl.cc:704: web_graphics_context->flush(); On 2013/03/12 13:38:38, Jun Jiang wrote: > On ...
7 years, 9 months ago (2013-03-12 22:17:46 UTC) #18
Jun Jiang
Added comments on keeping the flush() operation according to Kenneth's suggestions.
7 years, 9 months ago (2013-03-13 01:25:46 UTC) #19
Ken Russell (switch to Gerrit)
LGTM again. Are you able to check the commit box?
7 years, 9 months ago (2013-03-13 01:36:01 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jun.a.jiang@intel.com/12412007/29001
7 years, 9 months ago (2013-03-13 01:39:26 UTC) #21
commit-bot: I haz the power
Presubmit check for 12412007-29001 failed and returned exit status 1. INFO:root:Found 2 file(s). INFO:PRESUBMIT:Valid authors ...
7 years, 9 months ago (2013-03-13 01:39:30 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jun.a.jiang@intel.com/12412007/29001
7 years, 9 months ago (2013-03-13 01:42:37 UTC) #23
commit-bot: I haz the power
Presubmit check for 12412007-29001 failed and returned exit status 1. INFO:root:Found 2 file(s). INFO:PRESUBMIT:Valid authors ...
7 years, 9 months ago (2013-03-13 01:42:41 UTC) #24
Jun Jiang
Add my name into AUTHORS file since it is the first time I submit patch ...
7 years, 9 months ago (2013-03-13 01:46:58 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jun.a.jiang@intel.com/12412007/38001
7 years, 9 months ago (2013-03-13 01:47:49 UTC) #26
commit-bot: I haz the power
7 years, 9 months ago (2013-03-13 11:10:11 UTC) #27
Message was sent while issue was closed.
Change committed as 187827

Powered by Google App Engine
This is Rietveld 408576698