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

Issue 2896553003: Re-enable GPU-GPU copies of video textures to GL_RED (Closed)

Created:
3 years, 7 months ago by jiajia.qin
Modified:
3 years, 5 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org, haraken, blink-reviews, yunchao
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Re-enable GPU-GPU copies of video textures to GL_RED The CL https://codereview.chromium.org/2791813003/ introduced two bugs 710673 and 710874. So currently, for format=GL_RED/GL_RED_INTEGER or type=GL_FLOAT, it will not go GPU-GPU path. But by investigating that CL, we still can go GPU-GPU path using CopySubTextureCHROMIUM instead of CopyTextureCHROMIUM like the earlier code did. Using copySubTextureCHROMIUM can bypass the potential bug in CopyTextureCHROMIUM in MacOS. But still need to figure out the reason. BUG=710673 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 Review-Url: https://codereview.chromium.org/2896553003 Cr-Commit-Position: refs/heads/master@{#488014} Committed: https://chromium.googlesource.com/chromium/src/+/ca29dd7baa80c00d30039af7dcbdfc1abca6864c

Patch Set 1 : rebased, remove the current texture check to avoid context lost #

Patch Set 2 : rebased and clean up #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -83 lines) Patch
M media/renderers/skcanvas_video_renderer.h View 1 2 chunks +0 lines, -6 lines 0 comments Download
M media/renderers/skcanvas_video_renderer.cc View 1 6 chunks +27 lines, -70 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 1 chunk +0 lines, -7 lines 0 comments Download

Messages

Total messages: 45 (30 generated)
jiajia.qin
Hi Ken, please take a look. This change lets GL_RED reback to GPU-GPU path via ...
3 years, 5 months ago (2017-07-11 05:16:16 UTC) #21
jiajia.qin
Ping kbr@ Add zmo@ and sandersd@
3 years, 5 months ago (2017-07-13 00:55:09 UTC) #23
Ken Russell (switch to Gerrit)
Jiajia, thanks for this CL and the cleanup. I'm concerned about introducing performance regressions for ...
3 years, 5 months ago (2017-07-13 02:00:02 UTC) #24
jiajia.qin
On 2017/07/13 02:00:02, Ken Russell (switch to Gerrit) wrote: > Jiajia, thanks for this CL ...
3 years, 5 months ago (2017-07-13 07:16:54 UTC) #26
jiajia.qin
On 2017/07/13 07:16:54, jiajia.qin wrote: > > Second, there was another bug introduced by my ...
3 years, 5 months ago (2017-07-13 09:50:21 UTC) #27
jiajia.qin
On 2017/07/13 09:50:21, jiajia.qin wrote: > On 2017/07/13 07:16:54, jiajia.qin wrote: > > > Second, ...
3 years, 5 months ago (2017-07-14 08:59:42 UTC) #28
sandersd (OOO until July 31)
skcanvas_video_renderer looks correct to me. Be warned that when we last tested, Firefox does not ...
3 years, 5 months ago (2017-07-14 17:56:00 UTC) #29
Ken Russell (switch to Gerrit)
On 2017/07/14 08:59:42, jiajia.qin wrote: > On 2017/07/13 09:50:21, jiajia.qin wrote: > > On 2017/07/13 ...
3 years, 5 months ago (2017-07-18 19:21:38 UTC) #30
jiajia.qin
On 2017/07/18 19:21:38, Ken Russell (switch to Gerrit) wrote: > On 2017/07/14 08:59:42, jiajia.qin wrote: ...
3 years, 5 months ago (2017-07-19 13:40:44 UTC) #35
Ken Russell (switch to Gerrit)
Thanks for cleaning up the complex code I added. Still LGTM.
3 years, 5 months ago (2017-07-19 18:04:51 UTC) #36
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/2896553003/60001
3 years, 5 months ago (2017-07-19 22:28:15 UTC) #39
commit-bot: I haz the power
Committed patchset #2 (id:60001) as https://chromium.googlesource.com/chromium/src/+/ca29dd7baa80c00d30039af7dcbdfc1abca6864c
3 years, 5 months ago (2017-07-19 22:35:03 UTC) #42
sugoi1
On 2017/07/19 22:35:03, commit-bot: I haz the power wrote: > Committed patchset #2 (id:60001) as ...
3 years, 5 months ago (2017-07-21 15:09:55 UTC) #43
Ken Russell (switch to Gerrit)
On 2017/07/21 15:09:55, sugoi1 wrote: > On 2017/07/19 22:35:03, commit-bot: I haz the power wrote: ...
3 years, 5 months ago (2017-07-21 15:27:59 UTC) #44
jiajia.qin
3 years, 5 months ago (2017-07-21 15:39:17 UTC) #45
Message was sent while issue was closed.
On 2017/07/21 15:27:59, Ken Russell (switch to Gerrit) wrote:
> On 2017/07/21 15:09:55, sugoi1 wrote:
> > On 2017/07/19 22:35:03, commit-bot: I haz the power wrote:
> > > Committed patchset #2 (id:60001) as
> > >
> >
>
https://chromium.googlesource.com/chromium/src/+/ca29dd7baa80c00d30039af7dcbd...
> > 
> > This appears to have broken R8UI tests on Linux AMD R7 240
> > See
> >
>
https://build.chromium.org/p/chromium.gpu.fyi/builders/Linux%20Release%20%28A...
> 
> Thanks for pointing that out. I'll disable it for R8UI again. The overall code
> simplifications are desired.

Sorry for bringing this regression. I agree to disable R8UI again. Thanks Ken.
I will dig more deeper to check why copy(Sub)TexureCHROMIUM fails for GL_RED
next week.

Powered by Google App Engine
This is Rietveld 408576698