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

Issue 2120983002: gpu, cmaa: don't blend the leftmost and bottom-most edges in the BLUR_EDGES path. (Closed)

Created:
4 years, 5 months ago by dshwang
Modified:
4 years, 5 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu, cmaa: don't blend the left/right/top/bottom-most edges in the BLUR_EDGES path. textureGatherOffset() on out of range (i.e. outside of x = [0, width) or y = [0, height)) gives an undefined value. BLUR_EDGES pass can fetche (-1,_), (_,-1), (w,_), (_,h) texel, which is an undefiend value. So BLUR_EDGES can mislead the left most edge is dominant edge after comparing the undefined value and the left most pixel. This CL fixes parts of 2 WebGL conformance tests https://www.khronos.org/registry/webgl/sdk/tests/conformance/context/context-size-change.html https://www.khronos.org/registry/webgl/sdk/tests/conformance/textures/misc/copy-tex-image-and-sub-image-2d.html BUG=535198 TEST=Run a WebGL app with Chrome started with "--enable-cmaa-shaders" CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/58b7cc33f7817c8aeae707e1a440e4b170ad1f65 Cr-Commit-Position: refs/heads/master@{#403773}

Patch Set 1 #

Patch Set 2 : handle rightmost and topmost edges also #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -15 lines) Patch
M gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.cc View 1 2 chunks +37 lines, -15 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
dshwang
jon, adrian, could you review? zmo@, could you review as owner? It's one of two ...
4 years, 5 months ago (2016-07-04 14:28:46 UTC) #3
adrian.belgun
lgtm
4 years, 5 months ago (2016-07-04 14:31:59 UTC) #6
Zhenyao Mo
owner stamp lgtm
4 years, 5 months ago (2016-07-05 01:51:28 UTC) #7
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/2120983002/1
4 years, 5 months ago (2016-07-05 10:38:33 UTC) #9
dshwang
The CL is updated. Could you review again? With the previous patch, following test is ...
4 years, 5 months ago (2016-07-05 11:25:15 UTC) #12
jon.kennedy
On 2016/07/05 11:25:15, dshwang wrote: > The CL is updated. Could you review again? > ...
4 years, 5 months ago (2016-07-05 11:35:45 UTC) #14
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/2120983002/40001
4 years, 5 months ago (2016-07-05 11:43:46 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 5 months ago (2016-07-05 12:37:00 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-07-05 12:38:34 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/58b7cc33f7817c8aeae707e1a440e4b170ad1f65
Cr-Commit-Position: refs/heads/master@{#403773}

Powered by Google App Engine
This is Rietveld 408576698