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

Issue 1806943005: Implemented/Tested line-drawing functions in OffscreenCanvas 2D Context (Closed)

Created:
4 years, 9 months ago by xlai (Olivia)
Modified:
4 years, 9 months ago
Reviewers:
haraken, Justin Novosad
CC:
chromium-reviews, blink-reviews, ajuma+watch-canvas_chromium.org, Rik, Justin Novosad, dshwang
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implemented/Tested line-drawing functions in OffscreenCanvas 2D Context The new Web APIs that are implemented are: * OffscreenCanvasRendering2D.beginPath() * OffscreenCanvasRendering2D.fill(optional CanvasFillRule) * OffscreenCanvasRendering2D.fill(Path2D, optional CanvasFillRule) * OffscreenCanvasRendering2D.stroke() * OffscreenCanvasRendering2D.stroke(Path2D) * OffscreenCanvasRendering2D.lineWidth * OffscreenCanvasRendering2D.lineCap * OffscreenCanvasRendering2D.lineJoin * OffscreenCanvasRendering2D.miterLimit * OffscreenCanvasRendering2D.setLineDash(array); * OffscreenCanvasRendering2D.getLineDash * OffscreenCanvasRendering2D.lineDashOffset A subset of existing Web APIs shared with non-Offscreen canvas from CanvasPathMethods are also tested, including: arc, lineTo, bezierCurveTo, moveTo, closePath. BUG=563856 Committed: https://crrev.com/743ca082b662386b4df43a5dc556f9a1be701785 Cr-Commit-Position: refs/heads/master@{#382584}

Patch Set 1 : #

Total comments: 1

Patch Set 2 : Exposed Path2D to Worker on experimental mode only+Update expected test results+Add myself to OWNERS #

Patch Set 3 : Name the new runtime-enabled flag as "StableBlinkFeatures" #

Total comments: 1

Patch Set 4 : Nits + rebase with master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -2 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-paths-in-worker.html View 1 chunk +53 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-paths-in-worker-expected.html View 1 chunk +32 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-dedicated-worker-expected.txt View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt View 1 2 3 1 chunk +28 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/Path2D.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/offscreencanvas/OWNERS View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/offscreencanvas2d/OWNERS View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.idl View 1 chunk +20 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
xlai (Olivia)
Added the set of functions that are related to line-drawing to OffscreenCanvasRenderingContext2D. I tried to ...
4 years, 9 months ago (2016-03-17 15:38:53 UTC) #4
xlai (Olivia)
Adding haraken@ as reviewers for the added runtime flag "StableBlinkFeatures", after discussion in the email ...
4 years, 9 months ago (2016-03-22 14:24:43 UTC) #6
Justin Novosad
lgtm with nit https://codereview.chromium.org/1806943005/diff/60001/third_party/WebKit/Source/modules/canvas2d/Path2D.idl File third_party/WebKit/Source/modules/canvas2d/Path2D.idl (right): https://codereview.chromium.org/1806943005/diff/60001/third_party/WebKit/Source/modules/canvas2d/Path2D.idl#newcode36 third_party/WebKit/Source/modules/canvas2d/Path2D.idl:36: Exposed(Worker ExperimentalCanvasFeatures,Window StableBlinkFeatures), space after comma.
4 years, 9 months ago (2016-03-22 14:34:48 UTC) #7
haraken
LGTM given the discussion in the "IDL Binding Feature Request:" thread.
4 years, 9 months ago (2016-03-22 15:08:53 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1806943005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1806943005/80001
4 years, 9 months ago (2016-03-22 15:14:27 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 9 months ago (2016-03-22 16:36:59 UTC) #13
commit-bot: I haz the power
4 years, 9 months ago (2016-03-22 16:38:24 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/743ca082b662386b4df43a5dc556f9a1be701785
Cr-Commit-Position: refs/heads/master@{#382584}

Powered by Google App Engine
This is Rietveld 408576698