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

Issue 2360413002: Implement OffscreenCanvas Unaccelerated 2d commit() on main thread (Closed)

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

Description

Implement OffscreenCanvas Unaccelerated 2d commit() on main thread BUG=563852 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/f2246b3d3631e26bdf958bbd59cadd57938826b8 Cr-Commit-Position: refs/heads/master@{#422231}

Patch Set 1 #

Patch Set 2 : works #

Patch Set 3 : test #

Total comments: 2

Patch Set 4 : Mac #

Total comments: 25

Patch Set 5 : rebase #

Patch Set 6 : Address all feedback #

Total comments: 3

Patch Set 7 : Rebase #

Patch Set 8 : style #

Total comments: 1

Patch Set 9 : fix #

Messages

Total messages: 34 (11 generated)
xlai (Olivia)
junov@chromium.org: Please review changes in OffscreenCanvasFrameDispatcherImpl kbr@chromium.org: Please review changes in gpu pixel test
4 years, 3 months ago (2016-09-23 20:35:00 UTC) #3
danakj
Some drive-by comments about gpu vs software compositing. https://codereview.chromium.org/2360413002/diff/40001/content/test/gpu/page_sets/pixel_tests.py File content/test/gpu/page_sets/pixel_tests.py (right): https://codereview.chromium.org/2360413002/diff/40001/content/test/gpu/page_sets/pixel_tests.py#newcode58 content/test/gpu/page_sets/pixel_tests.py:58: '--disable-gpu-compositing', ...
4 years, 3 months ago (2016-09-23 20:40:01 UTC) #5
Justin Novosad
https://codereview.chromium.org/2360413002/diff/60001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp File third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp (right): https://codereview.chromium.org/2360413002/diff/60001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp#newcode72 third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp:72: if (!image->isTextureBacked() && !RuntimeEnabledFeatures::accelerated2dCanvasEnabled()) { You do not need ...
4 years, 3 months ago (2016-09-23 20:54:52 UTC) #6
danakj
https://codereview.chromium.org/2360413002/diff/60001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp File third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp (right): https://codereview.chromium.org/2360413002/diff/60001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp#newcode72 third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp:72: if (!image->isTextureBacked() && !RuntimeEnabledFeatures::accelerated2dCanvasEnabled()) { On 2016/09/23 20:54:52, Justin ...
4 years, 3 months ago (2016-09-23 20:56:02 UTC) #7
xidachen
https://codereview.chromium.org/2360413002/diff/60001/content/test/gpu/gpu_tests/pixel_expectations.py File content/test/gpu/gpu_tests/pixel_expectations.py (right): https://codereview.chromium.org/2360413002/diff/60001/content/test/gpu/gpu_tests/pixel_expectations.py#newcode38 content/test/gpu/gpu_tests/pixel_expectations.py:38: self.Fail('Pixel.OffscreenCanvasAccelerated2DWorker', bug=563852) These two entries seem to be duplicated. ...
4 years, 3 months ago (2016-09-24 01:20:20 UTC) #9
xidachen
https://codereview.chromium.org/2360413002/diff/60001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp File third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp (right): https://codereview.chromium.org/2360413002/diff/60001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp#newcode96 third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp:96: resource.is_overlay_candidate = false; On 2016/09/24 01:20:20, xidachen wrote: > ...
4 years, 3 months ago (2016-09-24 01:24:53 UTC) #10
Ken Russell (switch to Gerrit)
The tests will LGTM once a couple of small changes are made. I defer to ...
4 years, 2 months ago (2016-09-26 22:29:30 UTC) #11
xidachen
https://codereview.chromium.org/2360413002/diff/60001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp File third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp (right): https://codereview.chromium.org/2360413002/diff/60001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp#newcode79 third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp:79: image->imageForCurrentFrame()->readPixels(imageInfo, pixels, imageInfo.minRowBytes(), 0, 0); junov@: I have some ...
4 years, 2 months ago (2016-09-27 11:22:44 UTC) #12
Justin Novosad
On 2016/09/27 11:22:44, xidachen wrote: > https://codereview.chromium.org/2360413002/diff/60001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp > File > third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp > (right): > > ...
4 years, 2 months ago (2016-09-27 15:05:28 UTC) #13
Justin Novosad
https://codereview.chromium.org/2360413002/diff/60001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp File third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp (right): https://codereview.chromium.org/2360413002/diff/60001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp#newcode92 third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp:92: // It guarantees that the resource is not re-used ...
4 years, 2 months ago (2016-09-27 15:11:15 UTC) #14
danakj
https://codereview.chromium.org/2360413002/diff/60001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp File third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp (right): https://codereview.chromium.org/2360413002/diff/60001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp#newcode92 third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp:92: // It guarantees that the resource is not re-used ...
4 years, 2 months ago (2016-09-27 19:05:20 UTC) #15
xidachen
https://codereview.chromium.org/2360413002/diff/60001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp File third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp (right): https://codereview.chromium.org/2360413002/diff/60001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp#newcode92 third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp:92: // It guarantees that the resource is not re-used ...
4 years, 2 months ago (2016-09-27 20:17:24 UTC) #16
danakj
On Tue, Sep 27, 2016 at 1:17 PM, <xidachen@chromium.org> wrote: > > https://codereview.chromium.org/2360413002/diff/60001/third_ > party/WebKit/Source/platform/graphics/OffscreenCanvasFrameD ...
4 years, 2 months ago (2016-09-27 20:37:56 UTC) #17
danakj
On Tue, Sep 27, 2016 at 1:17 PM, <xidachen@chromium.org> wrote: > > https://codereview.chromium.org/2360413002/diff/60001/third_ > party/WebKit/Source/platform/graphics/OffscreenCanvasFrameD ...
4 years, 2 months ago (2016-09-27 20:37:57 UTC) #18
xlai (Olivia)
I've updated the CL and addressed all feedback. https://codereview.chromium.org/2360413002/diff/60001/content/test/gpu/gpu_tests/pixel_expectations.py File content/test/gpu/gpu_tests/pixel_expectations.py (right): https://codereview.chromium.org/2360413002/diff/60001/content/test/gpu/gpu_tests/pixel_expectations.py#newcode47 content/test/gpu/gpu_tests/pixel_expectations.py:47: self.Fail('Pixel.OffscreenCanvasUnaccelerated2DES3', ...
4 years, 2 months ago (2016-09-29 15:53:07 UTC) #19
xidachen
lgtm with nits. Also, please wait for Ken's CL to land first: https://codereview.chromium.org/2363343002/ https://codereview.chromium.org/2360413002/diff/100001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp File ...
4 years, 2 months ago (2016-09-29 16:01:40 UTC) #20
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2360413002/diff/100001/content/test/gpu/gpu_tests/pixel_expectations.py File content/test/gpu/gpu_tests/pixel_expectations.py (right): https://codereview.chromium.org/2360413002/diff/100001/content/test/gpu/gpu_tests/pixel_expectations.py#newcode35 content/test/gpu/gpu_tests/pixel_expectations.py:35: self.Fail('Pixel.OffscreenCanvasUnaccelerated2D', bug=563852) The naming convention's changed in https://codereview.chromium.org/2363343002/ ; ...
4 years, 2 months ago (2016-09-29 22:47:28 UTC) #21
xlai (Olivia)
ken@: can you take a look at the new patch again? I've rebased it based ...
4 years, 2 months ago (2016-09-30 15:26:12 UTC) #22
Justin Novosad
lgtm
4 years, 2 months ago (2016-09-30 15:53:50 UTC) #23
Ken Russell (switch to Gerrit)
lgtm with one small test change. https://codereview.chromium.org/2360413002/diff/140001/content/test/gpu/gpu_tests/pixel_test_pages.py File content/test/gpu/gpu_tests/pixel_test_pages.py (right): https://codereview.chromium.org/2360413002/diff/140001/content/test/gpu/gpu_tests/pixel_test_pages.py#newcode190 content/test/gpu/gpu_tests/pixel_test_pages.py:190: PixelTestPage( Could you ...
4 years, 2 months ago (2016-09-30 20:00:45 UTC) #28
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/2360413002/160001
4 years, 2 months ago (2016-09-30 20:09:43 UTC) #31
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 2 months ago (2016-09-30 21:53:23 UTC) #32
commit-bot: I haz the power
4 years, 2 months ago (2016-09-30 21:57:16 UTC) #34
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/f2246b3d3631e26bdf958bbd59cadd57938826b8
Cr-Commit-Position: refs/heads/master@{#422231}

Powered by Google App Engine
This is Rietveld 408576698