Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(43)

Issue 1192283002: Fix WebGL tex-image-and-sub-image-2d-with-video-rgb{565,4444,5551} tests on Android. (Closed)

Created:
4 years, 10 months ago by Ken Russell (switch to Gerrit)
Modified:
4 years, 10 months ago
CC:
blink-reviews, blink-reviews-html_chromium.org, dglazkov+blink, Rik, Justin Novosad, no sievers, Sami, boliu
Target Ref:
refs/remotes/origin/master
Project:
blink
Visibility:
Public.

Description

Fix WebGL tex-image-and-sub-image-2d-with-video-rgb{565,4444,5551} tests on Android. A subtle change in behavior in the fix for Issue 443151 caused all of the tex-image-and-sub-image-2d-with-video* tests to start failing on Android. This went unnoticed because the only Android bot on the waterfall at the time could not run these tests, so the tests were marked as expected failures. This fixes three of the four tests reliably. The fourth, tex-image-and-sub-image-2d-with-video.html, is flaky and will be fixed separately. BUG=499555 TBR=dongseong.hwang@intel.com,bajones@chromium.org,zmo@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197449

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M Source/core/html/canvas/WebGLRenderingContextBase.cpp View 1 chunk +3 lines, -2 lines 2 comments Download

Messages

Total messages: 10 (2 generated)
Ken Russell (switch to Gerrit)
I apologize, but am CQ'ing this TBR'd because I am in a rush to re-enable ...
4 years, 10 months ago (2015-06-19 05:01:34 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1192283002/1
4 years, 10 months ago (2015-06-19 05:02:42 UTC) #3
Sami
lgtm. https://codereview.chromium.org/1192283002/diff/1/Source/core/html/canvas/WebGLRenderingContextBase.cpp File Source/core/html/canvas/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/1192283002/diff/1/Source/core/html/canvas/WebGLRenderingContextBase.cpp#newcode3930 Source/core/html/canvas/WebGLRenderingContextBase.cpp:3930: if (GL_TEXTURE_2D == target) { I assume the ...
4 years, 10 months ago (2015-06-19 06:15:58 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://src.chromium.org/viewvc/blink?view=rev&revision=197449
4 years, 10 months ago (2015-06-19 06:58:52 UTC) #6
Ken Russell (switch to Gerrit)
On 2015/06/19 06:15:58, Sami wrote: > lgtm. > > https://codereview.chromium.org/1192283002/diff/1/Source/core/html/canvas/WebGLRenderingContextBase.cpp > File Source/core/html/canvas/WebGLRenderingContextBase.cpp (right): > ...
4 years, 10 months ago (2015-06-19 17:44:18 UTC) #7
dshwang
https://codereview.chromium.org/1192283002/diff/1/Source/core/html/canvas/WebGLRenderingContextBase.cpp File Source/core/html/canvas/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/1192283002/diff/1/Source/core/html/canvas/WebGLRenderingContextBase.cpp#newcode3949 Source/core/html/canvas/WebGLRenderingContextBase.cpp:3949: if (imageBuffer->copyToPlatformTexture(webContext(), texture->object(), internalformat, type, Thank you for fixing ...
4 years, 10 months ago (2015-06-22 11:44:17 UTC) #8
Ken Russell (switch to Gerrit)
On 2015/06/22 11:44:17, dshwang wrote: > https://codereview.chromium.org/1192283002/diff/1/Source/core/html/canvas/WebGLRenderingContextBase.cpp > File Source/core/html/canvas/WebGLRenderingContextBase.cpp (right): > > https://codereview.chromium.org/1192283002/diff/1/Source/core/html/canvas/WebGLRenderingContextBase.cpp#newcode3949 > ...
4 years, 10 months ago (2015-06-23 04:55:09 UTC) #9
dshwang
4 years, 10 months ago (2015-06-24 16:25:54 UTC) #10
Message was sent while issue was closed.
On 2015/06/23 04:55:09, Ken Russell wrote:
> On 2015/06/22 11:44:17, dshwang wrote:
> >
>
https://codereview.chromium.org/1192283002/diff/1/Source/core/html/canvas/Web...
> > File Source/core/html/canvas/WebGLRenderingContextBase.cpp (right):
> > 
> >
>
https://codereview.chromium.org/1192283002/diff/1/Source/core/html/canvas/Web...
> > Source/core/html/canvas/WebGLRenderingContextBase.cpp:3949: if
> > (imageBuffer->copyToPlatformTexture(webContext(), texture->object(),
> > internalformat, type,
> > Thank you for fixing the bug I created.
> > I couldn't understand how this change fixes the bug because this line is
> > supposed to fail if "Extensions3DUtil::canUseCopyTextureCHROMIUM" return 
> > |false|.
> > I think software fallback always goes through if
> > "Extensions3DUtil::canUseCopyTextureCHROMIUM" return 
> > |false|, no matter this CL.
> > The only difference between this CL and previous is that this CL make code
try
> > to go through hardware path and fail and then try software fallback. Trying
> > hardware path makes some difference (side effect). I feel root bug is still
> > there.
> 
> I agree that there is still some underlying bug and would appreciate any help
> you can offer in tracking it down. I'm completely swamped dealing with other
> issues and haven't had time to dive into this more deeply.

Yes, I'll dig into. However, I'm stuck in zero-copy on chromeos, so I'll be
slow.

Powered by Google App Engine
This is Rietveld 408576698