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

Issue 2454153002: mac: Offscreen Canvas sets texture wrap to CLAMP_TO_EDGE explicitly (Closed)

Created:
4 years, 1 month ago by dshwang
Modified:
4 years, 1 month ago
CC:
chromium-reviews, krit, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, pdr+graphicswatchlist_chromium.org, jbroman, Rik, f(malita), blink-reviews, danakj+watch_chromium.org, ajuma+watch_chromium.org, Stephen Chennney, rwlbuis, xidachen, xlai (Olivia)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mac: Offscreen Canvas sets texture wrap to CLAMP_TO_EDGE explicitly OpenGL ES 2.0 defines the default texture wrap is CLAMP_TO_EDGE. However, some MacOSX drivers don't respect it. Offscreen Canvas doesn't explicitly define texture wrap, and some MacOSX handle it as GL_CLAMP_TO_BORDER. As a result, the edge of the texture of Offscreen Canvas is slightly mixed with the border color, which is black. This CL fixes it. TEST=./content/test/gpu/run_gpu_integration_test.py pixel --browser=release --test-filter OffscreenCanvasUnaccelerated2DGPUCompositing Pixel_OffscreenCanvasUnaccelerated2DGPUCompositing Pixel_OffscreenCanvasUnaccelerated2DGPUCompositingWorker BUG=615325 CQ_INCLUDE_TRYBOTS=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;master.tryserver.chromium.android:android_optional_gpu_tests_rel Committed: https://crrev.com/5cd34fe6b6331792a9501cb9e9024d4a6a9dea7f Cr-Commit-Position: refs/heads/master@{#428505}

Patch Set 1 #

Patch Set 2 : add failed tests to pixel expectations #

Total comments: 2

Patch Set 3 : mark rebaseline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M content/test/gpu/gpu_tests/pixel_expectations.py View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/test/gpu/gpu_tests/pixel_test_pages.py View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (19 generated)
dshwang
Justin, could you review? https://codereview.chromium.org/2418173002 revealed this hidden bug and cannot be landed. Ken, could ...
4 years, 1 month ago (2016-10-27 18:18:18 UTC) #9
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2454153002/diff/20001/content/test/gpu/gpu_tests/pixel_expectations.py File content/test/gpu/gpu_tests/pixel_expectations.py (right): https://codereview.chromium.org/2454153002/diff/20001/content/test/gpu/gpu_tests/pixel_expectations.py#newcode49 content/test/gpu/gpu_tests/pixel_expectations.py:49: ['mac'], bug=615325) There's no way to rebaseline these for ...
4 years, 1 month ago (2016-10-27 22:51:25 UTC) #13
Ken Russell (switch to Gerrit)
+xidachen and xlai for any comments
4 years, 1 month ago (2016-10-27 22:52:08 UTC) #14
xidachen
Thank you for fixing it. This change makes sense to me. Please follow the document ...
4 years, 1 month ago (2016-10-28 01:17:41 UTC) #16
dshwang
Justin, could you review? https://codereview.chromium.org/2454153002/diff/20001/content/test/gpu/gpu_tests/pixel_expectations.py File content/test/gpu/gpu_tests/pixel_expectations.py (right): https://codereview.chromium.org/2454153002/diff/20001/content/test/gpu/gpu_tests/pixel_expectations.py#newcode49 content/test/gpu/gpu_tests/pixel_expectations.py:49: ['mac'], bug=615325) On 2016/10/27 22:51:25, ...
4 years, 1 month ago (2016-10-28 08:43:34 UTC) #19
xidachen
platform/graphics lgtm
4 years, 1 month ago (2016-10-28 12:04:30 UTC) #22
Justin Novosad
lgtm
4 years, 1 month ago (2016-10-28 17:23:27 UTC) #23
dshwang
On 2016/10/28 17:23:27, Justin Novosad wrote: > lgtm thank you for review! kbr@, could you ...
4 years, 1 month ago (2016-10-28 17:31:28 UTC) #24
Ken Russell (switch to Gerrit)
content/test/gpu lgtm Please don't forget to follow up to this CL resetting the expectations to ...
4 years, 1 month ago (2016-10-28 18:07:44 UTC) #25
dshwang
On 2016/10/28 18:07:44, Ken Russell wrote: > content/test/gpu lgtm > > Please don't forget to ...
4 years, 1 month ago (2016-10-28 18:39:36 UTC) #26
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/2454153002/40001
4 years, 1 month ago (2016-10-28 18:40:10 UTC) #28
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-10-28 21:57:11 UTC) #30
commit-bot: I haz the power
4 years, 1 month ago (2016-10-28 22:01:05 UTC) #32
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5cd34fe6b6331792a9501cb9e9024d4a6a9dea7f
Cr-Commit-Position: refs/heads/master@{#428505}

Powered by Google App Engine
This is Rietveld 408576698