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

Issue 2547683003: Reland "Fix HTML5 video blurry" (Closed)

Created:
4 years ago by dshwang
Modified:
4 years ago
CC:
chromium-reviews, blink-reviews-platform-graphics_chromium.org, Stephen Chennney, miu+watch_chromium.org, krit, drott+blinkwatch_chromium.org, jam, Justin Novosad, jbauman+watch_chromium.org, posciak+watch_chromium.org, Rik, darin-cc_chromium.org, blink-reviews, einbinder+watch-test-runner_chromium.org, xjz+watch_chromium.org, rwlbuis, ajuma+watch_chromium.org, jbroman, feature-media-reviews_chromium.org, pdr+graphicswatchlist_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, jochen+watch_chromium.org, mlamouri+watch-test-runner_chromium.org, ajuma+watch-canvas_chromium.org, f(malita), cc-bugs_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland "Fix HTML5 video blurry" Original CL: https://codereview.chromium.org/2418173002/ Revert CL: https://codereview.chromium.org/2463103002/ https://codereview.chromium.org/2474073004 Changes: Skip failed gpu pixel tests until baseline is created. Fix following failures in Win7 dbg RendererPixelTest/2.PremultipliedTextureWithBackground GLRendererPixelTest.TextureQuadBatching RendererPixelTest/0.PremultipliedTextureWithBackground GLRendererPixelTest.NonPremultipliedTextureWithBackground IntersectingQuadGLPixelTest/0.Y16VideoQuads VideoGLRendererPixelTest.TwoColorY16Rect IntersectingQuadGLPixelTest/1.Y16VideoQuads TBR=dalecurtis@chromium.org,ccameron@chromium.org,dpranke@chromium.org,junov@chromium.org BUG=615325 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Committed: https://crrev.com/60d375f8a6bd7b8c3e3abfd3771a228f3039bf62 Cr-Commit-Position: refs/heads/master@{#436118}

Patch Set 1 #

Patch Set 2 : diff of this CL #

Patch Set 3 : rebase to ToT #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+577 lines, -258 lines) Patch
M cc/layers/video_layer_impl.cc View 2 chunks +7 lines, -12 lines 0 comments Download
M cc/output/gl_renderer.h View 2 chunks +4 lines, -3 lines 0 comments Download
M cc/output/gl_renderer.cc View 1 7 chunks +52 lines, -2 lines 0 comments Download
M cc/output/gl_renderer_draw_cache.h View 2 chunks +2 lines, -0 lines 0 comments Download
M cc/output/renderer_pixeltest.cc View 15 chunks +199 lines, -75 lines 0 comments Download
M cc/output/shader.h View 3 chunks +49 lines, -20 lines 0 comments Download
M cc/output/shader.cc View 5 chunks +89 lines, -36 lines 1 comment Download
M cc/resources/resource_provider.h View 2 chunks +0 lines, -3 lines 0 comments Download
M cc/resources/resource_provider.cc View 3 chunks +0 lines, -18 lines 0 comments Download
M cc/resources/video_resource_updater.h View 2 chunks +4 lines, -0 lines 0 comments Download
M cc/resources/video_resource_updater.cc View 7 chunks +44 lines, -18 lines 0 comments Download
M cc/test/data/yuv_stripes.png View Binary file 0 comments Download
M cc/test/data/yuv_stripes_alpha.png View Binary file 0 comments Download
M cc/test/data/yuv_stripes_clipped.png View Binary file 0 comments Download
A cc/test/data/yuv_stripes_clipped_rgba.png View Binary file 0 comments Download
M cc/test/data/yuv_stripes_offset.png View Binary file 0 comments Download
A cc/test/data/yuv_stripes_rgba.png View Binary file 0 comments Download
M cc/test/render_pass_test_utils.cc View 1 chunk +2 lines, -1 line 0 comments Download
M cc/test/test_in_process_context_provider.h View 2 chunks +10 lines, -0 lines 0 comments Download
M cc/test/test_in_process_context_provider.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M components/test_runner/test_plugin.cc View 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/delegated_frame_host.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/test/gpu/gpu_tests/pixel_expectations.py View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M content/test/gpu/gpu_tests/pixel_test_pages.py View 1 2 3 chunks +7 lines, -7 lines 0 comments Download
M media/renderers/skcanvas_video_renderer.h View 1 chunk +2 lines, -0 lines 0 comments Download
M media/renderers/skcanvas_video_renderer.cc View 5 chunks +79 lines, -60 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 28 (17 generated)
dshwang
enne@, could you review this CL again? Sorry for delay of reland. I come back ...
4 years ago (2016-12-02 00:42:10 UTC) #8
enne (OOO)
Ok, lgtm if the only change is that added conditional. Thanks for following up on ...
4 years ago (2016-12-02 18:17:37 UTC) #11
dshwang
On 2016/12/02 18:17:37, enne wrote: > Ok, lgtm if the only change is that added ...
4 years ago (2016-12-02 18:19:55 UTC) #12
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/2547683003/20001
4 years ago (2016-12-02 18:20:29 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/317556)
4 years ago (2016-12-02 18:26:38 UTC) #16
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/2547683003/40001
4 years ago (2016-12-02 23:16:02 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-03 01:18:43 UTC) #22
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/60d375f8a6bd7b8c3e3abfd3771a228f3039bf62 Cr-Commit-Position: refs/heads/master@{#436118}
4 years ago (2016-12-03 01:21:00 UTC) #24
ynovikov
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2544893006/ by ynovikov@chromium.org. ...
4 years ago (2016-12-03 04:41:13 UTC) #25
aleksandar.stojiljkovic
On 2016/12/03 04:41:13, ynovikov wrote: > A revert of this CL (patchset #3 id:40001) has ...
4 years ago (2016-12-03 10:04:09 UTC) #26
aleksandar.stojiljkovic
4 years ago (2016-12-03 11:20:39 UTC) #28
Message was sent while issue was closed.
https://codereview.chromium.org/2547683003/diff/40001/cc/output/shader.cc
File cc/output/shader.cc (right):

https://codereview.chromium.org/2547683003/diff/40001/cc/output/shader.cc#new...
cc/output/shader.cc:1303: vec2 tex_clamped =
max(tex_clamp_rect[int(v_index)].xy,
On 2016/12/03 10:04:09, aleksandar.stojiljkovic wrote:
> On 2016/12/03 04:41:13, ynovikov wrote:
> > A revert of this CL (patchset #3 id:40001) has been created in
> > https://codereview.chromium.org/2544893006/ by mailto:ynovikov@chromium.org.
> > 
> > The reason for reverting is: I suspect this breaks
> >
>
https://build.chromium.org/p/chromium.gpu.fyi/builders/Win7%20Release%20%28AM...
> > Error compiling shader: ERROR: 0:7: '[]' : Index expression must be
constant.
> 
> It seems that none of CQ bots runs webgl_conformance_d3d9_tests.
> CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel
> should help.

Anyway, seems related to using non constant index in accessing uniform array in
fragment shader under angle:
https://cs.chromium.org/chromium/src/third_party/angle/src/compiler/translato...

Powered by Google App Engine
This is Rietveld 408576698