Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a low latency mode for 2D/3D Canvas contexts #4087

Closed
yell0wd0g opened this issue Oct 11, 2018 · 16 comments
Closed

Add a low latency mode for 2D/3D Canvas contexts #4087

yell0wd0g opened this issue Oct 11, 2018 · 16 comments
Labels
addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest topic: canvas

Comments

@yell0wd0g
Copy link
Contributor

@junov filed #2659 for OffscreenCanvas. This is a sister issue for on-screen canvas (2d/3d), and is needed as a companion for Chromium development happening in http://crbug.com/788439 (mostly for ChromeOS since there we control the OS Compositor).

The original proposal from @junov stays the same with s/singleBuffered/lowLatency/, i.e. add a

partial dictionary CanvasContextCreationAttributes {
  boolean lowLatency = false;
}

+cc @fserb, @wffurr, @beaufortfrancois

@annevk
Copy link
Member

annevk commented Oct 12, 2018

@whatwg/canvas

@yell0wd0g
Copy link
Contributor Author

For future reference, one of my concerns was how to communicate back to the app if/when lowLatency is supported but @kenrussell brought to my attention that getContextAttributes() returns the actual context parameters, and this can be used. I haven't found a similar readback mechanism on 2D canvas contexts though.

@annevk
Copy link
Member

annevk commented Oct 16, 2018

That's #2563, but hasn't been touched in a while.

@domenic
Copy link
Member

domenic commented Nov 14, 2018

Is anyone considering working on a pull request for this? And/or for #2563?

@annevk annevk added addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest labels Nov 15, 2018
@wffurr
Copy link

wffurr commented Nov 23, 2018

There's an origin trial for this in Chrome 71: https://www.chromestatus.com/feature/6360971442388992

@domenic
Copy link
Member

domenic commented Nov 23, 2018

I sure hope nobody is considering shipping it without a spec.

kenrussell added a commit to kenrussell/html that referenced this issue Dec 11, 2018
Developers of stylus-based drawing applications (e.g. Google Keep)
have found this hint to be critical in order to be competitive with
native applications. It has been prototyped in Chromium and yields
significant latency improvements there.

Partial fix for whatwg#4087.
kenrussell added a commit to kenrussell/WebGL that referenced this issue Dec 11, 2018
Developers of stylus-based drawing applications (e.g. Google Keep)
have found this hint to be critical in order to be competitive with
native applications. It has been prototyped in Chromium and yields
significant latency improvements there.

This is the WebGL analogue of whatwg/html#4234
and partially addresses whatwg/html#4087 .
kenrussell added a commit to kenrussell/WebGL that referenced this issue Dec 18, 2018
Developers of stylus-based drawing applications (e.g. Google Keep)
have found this hint to be critical in order to be competitive with
native applications. It has been prototyped in Chromium and yields
significant latency improvements there.

This is the WebGL analogue of whatwg/html#4234
and partially addresses whatwg/html#4087 .
@domenic
Copy link
Member

domenic commented Dec 18, 2018

Are other implementers interested in this? There's a spec up at #4234.

kenrussell added a commit to kenrussell/WebGL that referenced this issue Dec 18, 2018
Developers of stylus-based drawing applications (e.g. Google Keep)
have found this hint to be critical in order to be competitive with
native applications. It has been prototyped in Chromium and yields
significant latency improvements there.

This is the WebGL analogue of whatwg/html#4234
and partially addresses whatwg/html#4087 .
@yell0wd0g
Copy link
Contributor Author

@jan-ivar from FF to say how they like this Spec proposal/ forward to some other interested FF devs

@jan-ivar
Copy link
Contributor

I'll defer to @annevk here.

@kenrussell
Copy link
Member

@jdashg from Mozilla has given good feedback on this proposal in the WebGL working group.

@domenic
Copy link
Member

domenic commented Dec 22, 2018

Thanks, is there any public (e.g. minuted) sign of implementation interest we can link to?

@annevk
Copy link
Member

annevk commented Jan 3, 2019

@jrmuizel might also be able to comment on behalf of Mozilla.

kenrussell added a commit to kenrussell/html that referenced this issue Jan 11, 2019
Developers of stylus-based drawing applications (e.g. Google Keep)
have found this hint to be critical in order to be competitive with
native applications. It has been prototyped in Chromium and yields
significant latency improvements there.

Partial fix for whatwg#4087.
kenrussell added a commit to kenrussell/html that referenced this issue Jan 21, 2019
Developers of stylus-based drawing applications (e.g. Google Keep)
have found this hint to be critical in order to be competitive with
native applications. It has been prototyped in Chromium and yields
significant latency improvements there.

Partial fix for whatwg#4087.
annevk pushed a commit that referenced this issue Mar 20, 2019
Developers of stylus-based drawing applications (e.g., Google Keep) have found this hint to be critical in order to be competitive with native applications. It has been prototyped in Chromium and yields significant latency improvements there.

Tests: will be added as part of https://bugs.chromium.org/p/chromium/issues/detail?id=788439.

Supersedes #4234. Partial fix for #4087.

Co-authored-by: Miguel Casas-Sanchez <mcasas@chromium.org>
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this issue Mar 21, 2019
This CL renames s/lowLatency/desynchronized/ on web-exposed parts
(s/low_latency/desynchronized/ internally) following [1,2] PRs
(issue [3]), and extends wpt getContextAttributes.html.

[1] whatwg/html#4360
[2] KhronosGroup/WebGL#2753
[3] whatwg/html#4087

Bug: 944199
Change-Id: Ic9d7bd6165f9dc9536613dc63e77b86b8ec42f7f
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this issue Mar 22, 2019
This CL renames s/lowLatency/desynchronized/ on web-exposed parts
(s/low_latency/desynchronized/ internally) following [1,2] PRs
(issue [3]), and extends wpt getContextAttributes.html.

[1] whatwg/html#4360
[2] KhronosGroup/WebGL#2753
[3] whatwg/html#4087

Bug: 944199
Change-Id: Ic9d7bd6165f9dc9536613dc63e77b86b8ec42f7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532920
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Miguel Casas <mcasas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#643323}
aarongable pushed a commit to chromium/chromium that referenced this issue Mar 22, 2019
This CL renames s/lowLatency/desynchronized/ on web-exposed parts
(s/low_latency/desynchronized/ internally) following [1,2] PRs
(issue [3]), and extends wpt getContextAttributes.html.

[1] whatwg/html#4360
[2] KhronosGroup/WebGL#2753
[3] whatwg/html#4087

Bug: 944199
Change-Id: Ic9d7bd6165f9dc9536613dc63e77b86b8ec42f7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532920
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Miguel Casas <mcasas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#643323}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this issue Mar 22, 2019
This CL renames s/lowLatency/desynchronized/ on web-exposed parts
(s/low_latency/desynchronized/ internally) following [1,2] PRs
(issue [3]), and extends wpt getContextAttributes.html.

[1] whatwg/html#4360
[2] KhronosGroup/WebGL#2753
[3] whatwg/html#4087

Bug: 944199
Change-Id: Ic9d7bd6165f9dc9536613dc63e77b86b8ec42f7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532920
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Miguel Casas <mcasas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#643323}
mykmelez pushed a commit to mykmelez/gecko that referenced this issue Apr 25, 2019
…t, a=testonly

Automatic update from web-platform-tests
Extend canvas getContextAttributes WPTest

This CL extend the WPTest for Canvas getContextAttributes to include
the |desynchronized|.

This CL covers the flag WPT test extension mentioned in
whatwg/html#4360 (which addressed
whatwg/html#4087).

Bug: 944199, 945835
Change-Id: Ibb339c66014d7579023f75c7f2cef99e3f03d351
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1538491
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Commit-Queue: Miguel Casas <mcasas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#644332}

--

wpt-commits: c3f8e5c0bb15e7d7f57dbe60f6869caa0c4ad2e7
wpt-pr: 16084
marcoscaceres pushed a commit to web-platform-tests/wpt that referenced this issue Jul 23, 2019
This CL renames s/lowLatency/desynchronized/ on web-exposed parts
(s/low_latency/desynchronized/ internally) following [1,2] PRs
(issue [3]), and extends wpt getContextAttributes.html.

[1] whatwg/html#4360
[2] KhronosGroup/WebGL#2753
[3] whatwg/html#4087

Bug: 944199
Change-Id: Ic9d7bd6165f9dc9536613dc63e77b86b8ec42f7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532920
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Miguel Casas <mcasas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#643323}
marcoscaceres pushed a commit to web-platform-tests/wpt that referenced this issue Jul 23, 2019
This reverts commit 3fa9fd5b2eb09d461012c832db99273bb8c5a905.

Reason for revert: Suspect cause of failure in webkit_layout_tests:
* external/wpt/2dcontext/context-attributes/getContextAttributes.html
https://ci.chromium.org/p/chromium/builders/ci/Mac10.11%20Tests/35391

Original change's description:
> WIP Canvas 2D/WebGL context: s/lowLatency/desynchronized/
>
> This CL renames s/lowLatency/desynchronized/ on web-exposed parts
> (s/low_latency/desynchronized/ internally) following [1,2] PRs
> (issue [3]), and extends wpt getContextAttributes.html.
>
> [1] whatwg/html#4360
> [2] KhronosGroup/WebGL#2753
> [3] whatwg/html#4087
>
> Bug: 944199
> Change-Id: Ic9d7bd6165f9dc9536613dc63e77b86b8ec42f7f
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532920
> Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
> Commit-Queue: Miguel Casas <mcasas@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#643323}

TBR=mcasas@chromium.org,foolip@chromium.org

Change-Id: I47d31863f61a882424e06aec40e93e8bc3875849
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 944199
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1534473
Reviewed-by: Fabrice de Gans-Riberi <fdegans@chromium.org>
Commit-Queue: Fabrice de Gans-Riberi <fdegans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#643430}
marcoscaceres pushed a commit to web-platform-tests/wpt that referenced this issue Jul 23, 2019
This CL extend the WPTest for Canvas getContextAttributes to include
the |desynchronized|.

This CL covers the flag WPT test extension mentioned in
whatwg/html#4360 (which addressed
whatwg/html#4087).

Bug: 944199, 945835
Change-Id: Ibb339c66014d7579023f75c7f2cef99e3f03d351
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1538491
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Commit-Queue: Miguel Casas <mcasas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#644332}
@smfr
Copy link

smfr commented Aug 23, 2019

I'd like the spec to say a bit more about how "desynchronized" affects event handling, if at all. Presumably the page still has to run JS to handle pointer events and call canvas API; does that part follow the normal HTML event loop rules? If so, isn't canvas update rate still limited by how responsive the event loop is?

@annevk
Copy link
Member

annevk commented Aug 26, 2019

This should have been closed by #4360. Filed #4865 for @smfr's comment.

@annevk annevk closed this as completed Aug 26, 2019
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this issue Oct 4, 2019
…y/desynchronized/, a=testonly

Automatic update from web-platform-tests
WIP Canvas 2D/WebGL context: s/lowLatency/desynchronized/

This CL renames s/lowLatency/desynchronized/ on web-exposed parts
(s/low_latency/desynchronized/ internally) following [1,2] PRs
(issue [3]), and extends wpt getContextAttributes.html.

[1] whatwg/html#4360
[2] KhronosGroup/WebGL#2753
[3] whatwg/html#4087

Bug: 944199
Change-Id: Ic9d7bd6165f9dc9536613dc63e77b86b8ec42f7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532920
Reviewed-by: Philip Jägenstedt <foolipchromium.org>
Commit-Queue: Miguel Casas <mcasaschromium.org>
Cr-Commit-Position: refs/heads/master{#643323}

--

wpt-commits: 02e61522099b874a0075d058f89b9f549563c6dc
wpt-pr: 15982

UltraBlame original commit: e67259837e8158c2f585ec79fdd5355eacadcc8b
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this issue Oct 4, 2019
…owLatency/desynchronized/", a=testonly

Automatic update from web-platform-tests
Revert "WIP Canvas 2D/WebGL context: s/lowLatency/desynchronized/"

This reverts commit 3fa9fd5b2eb09d461012c832db99273bb8c5a905.

Reason for revert: Suspect cause of failure in webkit_layout_tests:
* external/wpt/2dcontext/context-attributes/getContextAttributes.html
https://ci.chromium.org/p/chromium/builders/ci/Mac10.11%20Tests/35391

Original change's description:
> WIP Canvas 2D/WebGL context: s/lowLatency/desynchronized/
>
> This CL renames s/lowLatency/desynchronized/ on web-exposed parts
> (s/low_latency/desynchronized/ internally) following [1,2] PRs
> (issue [3]), and extends wpt getContextAttributes.html.
>
> [1] whatwg/html#4360
> [2] KhronosGroup/WebGL#2753
> [3] whatwg/html#4087
>
> Bug: 944199
> Change-Id: Ic9d7bd6165f9dc9536613dc63e77b86b8ec42f7f
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532920
> Reviewed-by: Philip Jägenstedt <foolipchromium.org>
> Commit-Queue: Miguel Casas <mcasaschromium.org>
> Cr-Commit-Position: refs/heads/master{#643323}

TBR=mcasaschromium.org,foolipchromium.org

Change-Id: I47d31863f61a882424e06aec40e93e8bc3875849
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 944199
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1534473
Reviewed-by: Fabrice de Gans-Riberi <fdeganschromium.org>
Commit-Queue: Fabrice de Gans-Riberi <fdeganschromium.org>
Cr-Commit-Position: refs/heads/master{#643430}

--

wpt-commits: d62bee5a53daade043c4704dc77379bdd2db0ea8
wpt-pr: 16029

UltraBlame original commit: 0af953b7bc949a695ba962e2eeda584175bb602b
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this issue Oct 4, 2019
…t, a=testonly

Automatic update from web-platform-tests
Extend canvas getContextAttributes WPTest

This CL extend the WPTest for Canvas getContextAttributes to include
the |desynchronized|.

This CL covers the flag WPT test extension mentioned in
whatwg/html#4360 (which addressed
whatwg/html#4087).

Bug: 944199, 945835
Change-Id: Ibb339c66014d7579023f75c7f2cef99e3f03d351
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1538491
Reviewed-by: Fernando Serboncini <fserbchromium.org>
Commit-Queue: Miguel Casas <mcasaschromium.org>
Cr-Commit-Position: refs/heads/master{#644332}

--

wpt-commits: c3f8e5c0bb15e7d7f57dbe60f6869caa0c4ad2e7
wpt-pr: 16084

UltraBlame original commit: f0294cf3eb4247c971f3860ff55bcdfd36029b05
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this issue Oct 4, 2019
…y/desynchronized/, a=testonly

Automatic update from web-platform-tests
WIP Canvas 2D/WebGL context: s/lowLatency/desynchronized/

This CL renames s/lowLatency/desynchronized/ on web-exposed parts
(s/low_latency/desynchronized/ internally) following [1,2] PRs
(issue [3]), and extends wpt getContextAttributes.html.

[1] whatwg/html#4360
[2] KhronosGroup/WebGL#2753
[3] whatwg/html#4087

Bug: 944199
Change-Id: Ic9d7bd6165f9dc9536613dc63e77b86b8ec42f7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532920
Reviewed-by: Philip Jägenstedt <foolipchromium.org>
Commit-Queue: Miguel Casas <mcasaschromium.org>
Cr-Commit-Position: refs/heads/master{#643323}

--

wpt-commits: 02e61522099b874a0075d058f89b9f549563c6dc
wpt-pr: 15982

UltraBlame original commit: d693cdd0e1c8d7eb678371f465099f1400d491db
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this issue Oct 4, 2019
…owLatency/desynchronized/", a=testonly

Automatic update from web-platform-tests
Revert "WIP Canvas 2D/WebGL context: s/lowLatency/desynchronized/"

This reverts commit 3fa9fd5b2eb09d461012c832db99273bb8c5a905.

Reason for revert: Suspect cause of failure in webkit_layout_tests:
* external/wpt/2dcontext/context-attributes/getContextAttributes.html
https://ci.chromium.org/p/chromium/builders/ci/Mac10.11%20Tests/35391

Original change's description:
> WIP Canvas 2D/WebGL context: s/lowLatency/desynchronized/
>
> This CL renames s/lowLatency/desynchronized/ on web-exposed parts
> (s/low_latency/desynchronized/ internally) following [1,2] PRs
> (issue [3]), and extends wpt getContextAttributes.html.
>
> [1] whatwg/html#4360
> [2] KhronosGroup/WebGL#2753
> [3] whatwg/html#4087
>
> Bug: 944199
> Change-Id: Ic9d7bd6165f9dc9536613dc63e77b86b8ec42f7f
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532920
> Reviewed-by: Philip Jägenstedt <foolipchromium.org>
> Commit-Queue: Miguel Casas <mcasaschromium.org>
> Cr-Commit-Position: refs/heads/master{#643323}

TBR=mcasaschromium.org,foolipchromium.org

Change-Id: I47d31863f61a882424e06aec40e93e8bc3875849
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 944199
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1534473
Reviewed-by: Fabrice de Gans-Riberi <fdeganschromium.org>
Commit-Queue: Fabrice de Gans-Riberi <fdeganschromium.org>
Cr-Commit-Position: refs/heads/master{#643430}

--

wpt-commits: d62bee5a53daade043c4704dc77379bdd2db0ea8
wpt-pr: 16029

UltraBlame original commit: 420ff79bebab20b467c3cd730cdebaf2b1ef97e7
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this issue Oct 4, 2019
…t, a=testonly

Automatic update from web-platform-tests
Extend canvas getContextAttributes WPTest

This CL extend the WPTest for Canvas getContextAttributes to include
the |desynchronized|.

This CL covers the flag WPT test extension mentioned in
whatwg/html#4360 (which addressed
whatwg/html#4087).

Bug: 944199, 945835
Change-Id: Ibb339c66014d7579023f75c7f2cef99e3f03d351
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1538491
Reviewed-by: Fernando Serboncini <fserbchromium.org>
Commit-Queue: Miguel Casas <mcasaschromium.org>
Cr-Commit-Position: refs/heads/master{#644332}

--

wpt-commits: c3f8e5c0bb15e7d7f57dbe60f6869caa0c4ad2e7
wpt-pr: 16084

UltraBlame original commit: 1c1904072b0147267351bba8d5eafee1ffad8d56
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this issue Oct 4, 2019
…y/desynchronized/, a=testonly

Automatic update from web-platform-tests
WIP Canvas 2D/WebGL context: s/lowLatency/desynchronized/

This CL renames s/lowLatency/desynchronized/ on web-exposed parts
(s/low_latency/desynchronized/ internally) following [1,2] PRs
(issue [3]), and extends wpt getContextAttributes.html.

[1] whatwg/html#4360
[2] KhronosGroup/WebGL#2753
[3] whatwg/html#4087

Bug: 944199
Change-Id: Ic9d7bd6165f9dc9536613dc63e77b86b8ec42f7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532920
Reviewed-by: Philip Jägenstedt <foolipchromium.org>
Commit-Queue: Miguel Casas <mcasaschromium.org>
Cr-Commit-Position: refs/heads/master{#643323}

--

wpt-commits: 02e61522099b874a0075d058f89b9f549563c6dc
wpt-pr: 15982

UltraBlame original commit: e67259837e8158c2f585ec79fdd5355eacadcc8b
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this issue Oct 4, 2019
…owLatency/desynchronized/", a=testonly

Automatic update from web-platform-tests
Revert "WIP Canvas 2D/WebGL context: s/lowLatency/desynchronized/"

This reverts commit 3fa9fd5b2eb09d461012c832db99273bb8c5a905.

Reason for revert: Suspect cause of failure in webkit_layout_tests:
* external/wpt/2dcontext/context-attributes/getContextAttributes.html
https://ci.chromium.org/p/chromium/builders/ci/Mac10.11%20Tests/35391

Original change's description:
> WIP Canvas 2D/WebGL context: s/lowLatency/desynchronized/
>
> This CL renames s/lowLatency/desynchronized/ on web-exposed parts
> (s/low_latency/desynchronized/ internally) following [1,2] PRs
> (issue [3]), and extends wpt getContextAttributes.html.
>
> [1] whatwg/html#4360
> [2] KhronosGroup/WebGL#2753
> [3] whatwg/html#4087
>
> Bug: 944199
> Change-Id: Ic9d7bd6165f9dc9536613dc63e77b86b8ec42f7f
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532920
> Reviewed-by: Philip Jägenstedt <foolipchromium.org>
> Commit-Queue: Miguel Casas <mcasaschromium.org>
> Cr-Commit-Position: refs/heads/master{#643323}

TBR=mcasaschromium.org,foolipchromium.org

Change-Id: I47d31863f61a882424e06aec40e93e8bc3875849
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 944199
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1534473
Reviewed-by: Fabrice de Gans-Riberi <fdeganschromium.org>
Commit-Queue: Fabrice de Gans-Riberi <fdeganschromium.org>
Cr-Commit-Position: refs/heads/master{#643430}

--

wpt-commits: d62bee5a53daade043c4704dc77379bdd2db0ea8
wpt-pr: 16029

UltraBlame original commit: 0af953b7bc949a695ba962e2eeda584175bb602b
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this issue Oct 4, 2019
…t, a=testonly

Automatic update from web-platform-tests
Extend canvas getContextAttributes WPTest

This CL extend the WPTest for Canvas getContextAttributes to include
the |desynchronized|.

This CL covers the flag WPT test extension mentioned in
whatwg/html#4360 (which addressed
whatwg/html#4087).

Bug: 944199, 945835
Change-Id: Ibb339c66014d7579023f75c7f2cef99e3f03d351
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1538491
Reviewed-by: Fernando Serboncini <fserbchromium.org>
Commit-Queue: Miguel Casas <mcasaschromium.org>
Cr-Commit-Position: refs/heads/master{#644332}

--

wpt-commits: c3f8e5c0bb15e7d7f57dbe60f6869caa0c4ad2e7
wpt-pr: 16084

UltraBlame original commit: f0294cf3eb4247c971f3860ff55bcdfd36029b05
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this issue Oct 4, 2019
…y/desynchronized/, a=testonly

Automatic update from web-platform-tests
WIP Canvas 2D/WebGL context: s/lowLatency/desynchronized/

This CL renames s/lowLatency/desynchronized/ on web-exposed parts
(s/low_latency/desynchronized/ internally) following [1,2] PRs
(issue [3]), and extends wpt getContextAttributes.html.

[1] whatwg/html#4360
[2] KhronosGroup/WebGL#2753
[3] whatwg/html#4087

Bug: 944199
Change-Id: Ic9d7bd6165f9dc9536613dc63e77b86b8ec42f7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532920
Reviewed-by: Philip Jägenstedt <foolipchromium.org>
Commit-Queue: Miguel Casas <mcasaschromium.org>
Cr-Commit-Position: refs/heads/master{#643323}

--

wpt-commits: 02e61522099b874a0075d058f89b9f549563c6dc
wpt-pr: 15982

UltraBlame original commit: d693cdd0e1c8d7eb678371f465099f1400d491db
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this issue Oct 4, 2019
…owLatency/desynchronized/", a=testonly

Automatic update from web-platform-tests
Revert "WIP Canvas 2D/WebGL context: s/lowLatency/desynchronized/"

This reverts commit 3fa9fd5b2eb09d461012c832db99273bb8c5a905.

Reason for revert: Suspect cause of failure in webkit_layout_tests:
* external/wpt/2dcontext/context-attributes/getContextAttributes.html
https://ci.chromium.org/p/chromium/builders/ci/Mac10.11%20Tests/35391

Original change's description:
> WIP Canvas 2D/WebGL context: s/lowLatency/desynchronized/
>
> This CL renames s/lowLatency/desynchronized/ on web-exposed parts
> (s/low_latency/desynchronized/ internally) following [1,2] PRs
> (issue [3]), and extends wpt getContextAttributes.html.
>
> [1] whatwg/html#4360
> [2] KhronosGroup/WebGL#2753
> [3] whatwg/html#4087
>
> Bug: 944199
> Change-Id: Ic9d7bd6165f9dc9536613dc63e77b86b8ec42f7f
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532920
> Reviewed-by: Philip Jägenstedt <foolipchromium.org>
> Commit-Queue: Miguel Casas <mcasaschromium.org>
> Cr-Commit-Position: refs/heads/master{#643323}

TBR=mcasaschromium.org,foolipchromium.org

Change-Id: I47d31863f61a882424e06aec40e93e8bc3875849
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 944199
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1534473
Reviewed-by: Fabrice de Gans-Riberi <fdeganschromium.org>
Commit-Queue: Fabrice de Gans-Riberi <fdeganschromium.org>
Cr-Commit-Position: refs/heads/master{#643430}

--

wpt-commits: d62bee5a53daade043c4704dc77379bdd2db0ea8
wpt-pr: 16029

UltraBlame original commit: 420ff79bebab20b467c3cd730cdebaf2b1ef97e7
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this issue Oct 4, 2019
…t, a=testonly

Automatic update from web-platform-tests
Extend canvas getContextAttributes WPTest

This CL extend the WPTest for Canvas getContextAttributes to include
the |desynchronized|.

This CL covers the flag WPT test extension mentioned in
whatwg/html#4360 (which addressed
whatwg/html#4087).

Bug: 944199, 945835
Change-Id: Ibb339c66014d7579023f75c7f2cef99e3f03d351
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1538491
Reviewed-by: Fernando Serboncini <fserbchromium.org>
Commit-Queue: Miguel Casas <mcasaschromium.org>
Cr-Commit-Position: refs/heads/master{#644332}

--

wpt-commits: c3f8e5c0bb15e7d7f57dbe60f6869caa0c4ad2e7
wpt-pr: 16084

UltraBlame original commit: 1c1904072b0147267351bba8d5eafee1ffad8d56
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this issue Oct 4, 2019
…y/desynchronized/, a=testonly

Automatic update from web-platform-tests
WIP Canvas 2D/WebGL context: s/lowLatency/desynchronized/

This CL renames s/lowLatency/desynchronized/ on web-exposed parts
(s/low_latency/desynchronized/ internally) following [1,2] PRs
(issue [3]), and extends wpt getContextAttributes.html.

[1] whatwg/html#4360
[2] KhronosGroup/WebGL#2753
[3] whatwg/html#4087

Bug: 944199
Change-Id: Ic9d7bd6165f9dc9536613dc63e77b86b8ec42f7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532920
Reviewed-by: Philip Jägenstedt <foolipchromium.org>
Commit-Queue: Miguel Casas <mcasaschromium.org>
Cr-Commit-Position: refs/heads/master{#643323}

--

wpt-commits: 02e61522099b874a0075d058f89b9f549563c6dc
wpt-pr: 15982

UltraBlame original commit: e67259837e8158c2f585ec79fdd5355eacadcc8b
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this issue Oct 4, 2019
…owLatency/desynchronized/", a=testonly

Automatic update from web-platform-tests
Revert "WIP Canvas 2D/WebGL context: s/lowLatency/desynchronized/"

This reverts commit 3fa9fd5b2eb09d461012c832db99273bb8c5a905.

Reason for revert: Suspect cause of failure in webkit_layout_tests:
* external/wpt/2dcontext/context-attributes/getContextAttributes.html
https://ci.chromium.org/p/chromium/builders/ci/Mac10.11%20Tests/35391

Original change's description:
> WIP Canvas 2D/WebGL context: s/lowLatency/desynchronized/
>
> This CL renames s/lowLatency/desynchronized/ on web-exposed parts
> (s/low_latency/desynchronized/ internally) following [1,2] PRs
> (issue [3]), and extends wpt getContextAttributes.html.
>
> [1] whatwg/html#4360
> [2] KhronosGroup/WebGL#2753
> [3] whatwg/html#4087
>
> Bug: 944199
> Change-Id: Ic9d7bd6165f9dc9536613dc63e77b86b8ec42f7f
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532920
> Reviewed-by: Philip Jägenstedt <foolipchromium.org>
> Commit-Queue: Miguel Casas <mcasaschromium.org>
> Cr-Commit-Position: refs/heads/master{#643323}

TBR=mcasaschromium.org,foolipchromium.org

Change-Id: I47d31863f61a882424e06aec40e93e8bc3875849
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 944199
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1534473
Reviewed-by: Fabrice de Gans-Riberi <fdeganschromium.org>
Commit-Queue: Fabrice de Gans-Riberi <fdeganschromium.org>
Cr-Commit-Position: refs/heads/master{#643430}

--

wpt-commits: d62bee5a53daade043c4704dc77379bdd2db0ea8
wpt-pr: 16029

UltraBlame original commit: 0af953b7bc949a695ba962e2eeda584175bb602b
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this issue Oct 4, 2019
…t, a=testonly

Automatic update from web-platform-tests
Extend canvas getContextAttributes WPTest

This CL extend the WPTest for Canvas getContextAttributes to include
the |desynchronized|.

This CL covers the flag WPT test extension mentioned in
whatwg/html#4360 (which addressed
whatwg/html#4087).

Bug: 944199, 945835
Change-Id: Ibb339c66014d7579023f75c7f2cef99e3f03d351
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1538491
Reviewed-by: Fernando Serboncini <fserbchromium.org>
Commit-Queue: Miguel Casas <mcasaschromium.org>
Cr-Commit-Position: refs/heads/master{#644332}

--

wpt-commits: c3f8e5c0bb15e7d7f57dbe60f6869caa0c4ad2e7
wpt-pr: 16084

UltraBlame original commit: f0294cf3eb4247c971f3860ff55bcdfd36029b05
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this issue Oct 4, 2019
…y/desynchronized/, a=testonly

Automatic update from web-platform-tests
WIP Canvas 2D/WebGL context: s/lowLatency/desynchronized/

This CL renames s/lowLatency/desynchronized/ on web-exposed parts
(s/low_latency/desynchronized/ internally) following [1,2] PRs
(issue [3]), and extends wpt getContextAttributes.html.

[1] whatwg/html#4360
[2] KhronosGroup/WebGL#2753
[3] whatwg/html#4087

Bug: 944199
Change-Id: Ic9d7bd6165f9dc9536613dc63e77b86b8ec42f7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532920
Reviewed-by: Philip Jägenstedt <foolipchromium.org>
Commit-Queue: Miguel Casas <mcasaschromium.org>
Cr-Commit-Position: refs/heads/master{#643323}

--

wpt-commits: 02e61522099b874a0075d058f89b9f549563c6dc
wpt-pr: 15982

UltraBlame original commit: d693cdd0e1c8d7eb678371f465099f1400d491db
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this issue Oct 4, 2019
…owLatency/desynchronized/", a=testonly

Automatic update from web-platform-tests
Revert "WIP Canvas 2D/WebGL context: s/lowLatency/desynchronized/"

This reverts commit 3fa9fd5b2eb09d461012c832db99273bb8c5a905.

Reason for revert: Suspect cause of failure in webkit_layout_tests:
* external/wpt/2dcontext/context-attributes/getContextAttributes.html
https://ci.chromium.org/p/chromium/builders/ci/Mac10.11%20Tests/35391

Original change's description:
> WIP Canvas 2D/WebGL context: s/lowLatency/desynchronized/
>
> This CL renames s/lowLatency/desynchronized/ on web-exposed parts
> (s/low_latency/desynchronized/ internally) following [1,2] PRs
> (issue [3]), and extends wpt getContextAttributes.html.
>
> [1] whatwg/html#4360
> [2] KhronosGroup/WebGL#2753
> [3] whatwg/html#4087
>
> Bug: 944199
> Change-Id: Ic9d7bd6165f9dc9536613dc63e77b86b8ec42f7f
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1532920
> Reviewed-by: Philip Jägenstedt <foolipchromium.org>
> Commit-Queue: Miguel Casas <mcasaschromium.org>
> Cr-Commit-Position: refs/heads/master{#643323}

TBR=mcasaschromium.org,foolipchromium.org

Change-Id: I47d31863f61a882424e06aec40e93e8bc3875849
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 944199
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1534473
Reviewed-by: Fabrice de Gans-Riberi <fdeganschromium.org>
Commit-Queue: Fabrice de Gans-Riberi <fdeganschromium.org>
Cr-Commit-Position: refs/heads/master{#643430}

--

wpt-commits: d62bee5a53daade043c4704dc77379bdd2db0ea8
wpt-pr: 16029

UltraBlame original commit: 420ff79bebab20b467c3cd730cdebaf2b1ef97e7
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this issue Oct 4, 2019
…t, a=testonly

Automatic update from web-platform-tests
Extend canvas getContextAttributes WPTest

This CL extend the WPTest for Canvas getContextAttributes to include
the |desynchronized|.

This CL covers the flag WPT test extension mentioned in
whatwg/html#4360 (which addressed
whatwg/html#4087).

Bug: 944199, 945835
Change-Id: Ibb339c66014d7579023f75c7f2cef99e3f03d351
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1538491
Reviewed-by: Fernando Serboncini <fserbchromium.org>
Commit-Queue: Miguel Casas <mcasaschromium.org>
Cr-Commit-Position: refs/heads/master{#644332}

--

wpt-commits: c3f8e5c0bb15e7d7f57dbe60f6869caa0c4ad2e7
wpt-pr: 16084

UltraBlame original commit: 1c1904072b0147267351bba8d5eafee1ffad8d56
@aminya
Copy link

aminya commented Dec 1, 2020

How can I know that the lowLatency or unsynchronized features are supported?

On Ubuntu, setting these values to true causes problems.
atom-minimap/minimap#724

@kdashg
Copy link

kdashg commented Dec 1, 2020

getContextAttributes() will tell you if context creation attributes were actually applied.
The issues there look like a browser bug though, and should be filed into the affected browser's bug reporting system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest topic: canvas
Development

No branches or pull requests

9 participants