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

Issue 2607373002: Linear filter for texture object in 2d context (Closed)

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

Description

Linear filter for texture object in 2d context This is a temporary fix to enforce linear filter for texture object in OffscreenCanvasRenderingContext2D in commit(). An ideal solution, which is not urgent for OffscreenCanvas launch, is to adapt the filter to respect image-rendering CSS property, as indicated in crbug.com/645590. BUG=676666 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 Review-Url: https://codereview.chromium.org/2607373002 Cr-Commit-Position: refs/heads/master@{#442803} Committed: https://chromium.googlesource.com/chromium/src/+/7a66a4125991912014552fd1edbb58c37e9feede

Patch Set 1 #

Total comments: 1

Patch Set 2 : only need to change 1 place #

Patch Set 3 : fix #

Total comments: 2

Patch Set 4 : remove duplicate code #

Patch Set 5 : edited pixel expectations #

Patch Set 6 : Mark mac and android failed #

Patch Set 7 : fix #

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

Messages

Total messages: 35 (24 generated)
xlai (Olivia)
This patch should be able to resolve crbug.com/676666, which is blocking OffscreenCanvas launch. The tricky ...
3 years, 11 months ago (2017-01-03 17:09:38 UTC) #4
Justin Novosad
https://codereview.chromium.org/2607373002/diff/1/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp File third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp (right): https://codereview.chromium.org/2607373002/diff/1/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp#newcode204 third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp:204: resource.filter = GL_NEAREST; I don't understand how this fixes ...
3 years, 11 months ago (2017-01-04 20:38:02 UTC) #5
xlai (Olivia)
After being confused for a few days by the fact that setting TransferableResource.filter to GL_LINEAR ...
3 years, 11 months ago (2017-01-06 18:11:43 UTC) #6
Justin Novosad
https://codereview.chromium.org/2607373002/diff/40001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp File third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp (right): https://codereview.chromium.org/2607373002/diff/40001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp#newcode271 third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp:271: const bool nearestNeighbor = false; What does this do?
3 years, 11 months ago (2017-01-06 20:06:01 UTC) #7
xlai (Olivia)
I did a rebase just now; please ignore those extra changes due to rebase. https://codereview.chromium.org/2607373002/diff/40001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp ...
3 years, 11 months ago (2017-01-06 20:22:12 UTC) #8
Justin Novosad
lgtm
3 years, 11 months ago (2017-01-06 20:32:48 UTC) #9
xlai (Olivia)
+zmo@ for review of pixel tests. Also I have a question, is it possible to ...
3 years, 11 months ago (2017-01-07 16:51:38 UTC) #22
xlai (Olivia)
+zmo@ for review of pixel tests. Also I have a question, is it possible to ...
3 years, 11 months ago (2017-01-07 16:51:40 UTC) #23
Zhenyao Mo
On 2017/01/07 16:51:40, xlai (Olivia) wrote: > +zmo@ for review of pixel tests. Also I ...
3 years, 11 months ago (2017-01-09 23:57:06 UTC) #24
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/2607373002/120001
3 years, 11 months ago (2017-01-11 04:29:38 UTC) #32
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 04:41:24 UTC) #35
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/7a66a4125991912014552fd1edbb...

Powered by Google App Engine
This is Rietveld 408576698