Dzmitry Malyshau
3021defc28
Bug 1602133 - WebGPU presentation r=jgilbert,webidl,smaug,aosmond
...
This change adds support for CanvasContext presenting WebGPU via CPU readback.
The presentation is handled mostly on GPU process side by managing a list of staging buffers
and copying the contents into a WR external image (backed by an external buffer).
Differential Revision: https://phabricator.services.mozilla.com/D68032
--HG--
extra : moz-landing-system : lando
2020-04-06 22:29:18 +00:00
Cosmin Sabou
2f4d9af7d3
Backed out changeset bc6b2b003c6e (bug 1602133) for causing build bustages on CanvasRenderingContextHelper.cpp.
...
--HG--
extra : histedit_source : 917f3627a3e3f8dab0d806b69fc716bfd9f1d483
2020-04-06 23:46:51 +03:00
Dzmitry Malyshau
5004affc0e
Bug 1602133 - WebGPU presentation r=jgilbert,webidl,smaug,aosmond
...
This change adds support for CanvasContext presenting WebGPU via CPU readback.
The presentation is handled mostly on GPU process side by managing a list of staging buffers
and copying the contents into a WR external image (backed by an external buffer).
Differential Revision: https://phabricator.services.mozilla.com/D68032
--HG--
extra : moz-landing-system : lando
2020-04-06 20:10:03 +00:00
Bogdan Tara
7f7cc68c64
Backed out changeset 377a757c583d (bug 1602133) for webgpu related bustages CLOSED TREE
2020-04-06 21:59:57 +03:00
Dzmitry Malyshau
4c3a924336
Bug 1602133 - WebGPU presentation r=jgilbert,webidl,smaug,aosmond
...
This change adds support for CanvasContext presenting WebGPU via CPU readback.
The presentation is handled mostly on GPU process side by managing a list of staging buffers
and copying the contents into a WR external image (backed by an external buffer).
Differential Revision: https://phabricator.services.mozilla.com/D68032
--HG--
extra : moz-landing-system : lando
2020-04-02 19:55:01 +00:00
Boris Zbarsky
c878a8bb26
Bug 1619112 part 2. Pass char literals instead of char16_t literals into ErrorResult throwing methods. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D65538
--HG--
extra : moz-landing-system : lando
2020-03-06 21:04:58 +00:00
Simon Giesecke
723b05dfb6
Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/canvas. r=jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D63142
--HG--
extra : moz-landing-system : lando
2020-02-18 21:08:00 +00:00
Jeff Gilbert
cc0f990650
Bug 1615851 - layer::Image::GetAsSourceSurface is fallible. r=lsalzman
...
This fixes a crash, where we expected it to be infallible.
Differential Revision: https://phabricator.services.mozilla.com/D63005
--HG--
extra : moz-landing-system : lando
2020-02-16 04:07:20 +00:00
Boris Zbarsky
6c66fa85a4
Bug 1615022 part 2. Require an rvalue reference to reject a Promise with an ErrorResult. r=farre,kvark
...
The rejection process consumes the ErrorResult, so an rvalue reference is the honest thing here.
Differential Revision: https://phabricator.services.mozilla.com/D62632
--HG--
extra : moz-landing-system : lando
2020-02-14 15:42:30 +00:00
Edgar Chen
9e846bd48a
bug 1610296
- Rename TypedArray_base::ComputeLengthAndData to TypedArray_base::ComputeState; r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D60514
--HG--
extra : moz-landing-system : lando
2020-01-23 03:22:06 +00:00
Doug Thayer
86601b48c5
Bug 1602646 - Remove vestigial references to cooperative scheduling r=froydnj
...
GetCurrentPhysicalThread and GetCurrentVirtualThread are, in practice,
identical, as the TLS override that GetCurrentVirtualThread depends on
is never actually set. This simply removes that and renames some things/
deletes some comments.
Rebased across https://hg.mozilla.org/mozilla-central/rev/3f0b4e206853
by Karl Tomlinson <karlt+@karlt.net>.
Differential Revision: https://phabricator.services.mozilla.com/D41247
--HG--
extra : moz-landing-system : lando
2019-12-12 00:56:53 +00:00
Andrea Marchesini
1888d35204
Bug 1593860 - Correct error reporting when createImageBitmap() fails, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D52654
--HG--
extra : moz-landing-system : lando
2019-11-12 17:08:17 +00:00
Brindusan Cristian
bb90c3cbf6
Backed out changeset 41c6b7e917fd (bug 1367251) for mochitest failures at test_conformance__textures__image_bitmap_from_blob__tex-2d-luminance-luminance-unsigned_byte.html. CLOSED TREE
2019-10-07 04:46:13 +03:00
aardgoose
730d95aa10
Bug 1367251 - add bindings for options to createImageBitmap and support flipY r=bzbarsky,aosmond
...
implementation of imageOrientation: none|flipY.
Differential Revision: https://phabricator.services.mozilla.com/D29562
--HG--
extra : moz-landing-system : lando
2019-10-04 15:20:53 +00:00
Andrew Osmond
35689a2ab6
Bug 1583238 - Check if ImageBitmap was closed in WriteStructuredClone. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D47259
--HG--
extra : moz-landing-system : lando
2019-09-26 15:02:27 +00:00
Mihai Alexandru Michis
4e1448e7e6
Backed out 2 changesets (bug 1510226) for causing xpcshell crashes and xpcshell failures in test_TelemetrySession.js CLOSED TREE
...
Backed out changeset cb739de6606d (bug 1510226)
Backed out changeset b6f670610dc3 (bug 1510226)
2019-09-25 04:25:07 +03:00
Doug Thayer
65be2b22c1
Bug 1510226 - Remove vestigial references to cooperative scheduling r=froydnj
...
GetCurrentPhysicalThread and GetCurrentVirtualThread are, in practice,
identical, as the TLS override that GetCurrentVirtualThread depends on
is never actually set. This simply removes that and renames some things/
deletes some comments.
Differential Revision: https://phabricator.services.mozilla.com/D41247
--HG--
extra : moz-landing-system : lando
2019-08-20 18:03:11 +00:00
Boris Zbarsky
ccc114b512
Bug 1582196 part 1. Stop using NS_ERROR_RANGE_ERR in createImageBitmap. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D46459
--HG--
extra : moz-landing-system : lando
2019-09-19 15:35:07 +00:00
Timothy Nikkel
e0a79ba9f2
Bug 1578164. Use async notifications when requesting decode of an image in most places. r=aosmond
...
Most of things will likely be no real change because they ask for the exact frame they want immediately before.
Differential Revision: https://phabricator.services.mozilla.com/D44359
--HG--
extra : moz-landing-system : lando
2019-09-03 15:36:23 +00:00
Andrea Marchesini
bb718d74fc
Bug 1490044 - Remove DOMPrefs. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D33510
--HG--
extra : moz-landing-system : lando
2019-06-13 09:02:03 +00:00
Andrea Marchesini
f4c9f068fa
Bug 1554847 - Improve cross-origin checks in canvas API - consider intermediate redirects, r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D32792
--HG--
extra : moz-landing-system : lando
2019-06-04 06:32:37 +00:00
Coroiu Cristina
73edc6621b
Backed out 4 changesets (bug 1554847) for wpt failures at /service-workers/service-worker/fetch-canvas-tainting-video-cache.https.html
...
Backed out changeset 17e36d139ac2 (bug 1554847)
Backed out changeset 101bd1c2d688 (bug 1554847)
Backed out changeset 3ff9a221f3e5 (bug 1554847)
Backed out changeset 946e4d9420dd (bug 1554847)
2019-06-04 03:24:42 +03:00
Andrea Marchesini
8df66534cf
Bug 1554847 - Improve cross-origin checks in canvas API - consider intermediate redirects, r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D32792
--HG--
extra : moz-landing-system : lando
2019-06-03 09:54:43 +00:00
Andrew Osmond
b99b7a1925
Bug 1546505 - Remove ImageBitmapUtils and ImageBitmapColorUtils as it is dead code. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D28986
2019-05-02 14:06:14 -04:00
Andrea Marchesini
49c638ad36
Bug 1540221 - Setting fillStyle to a pattern of an unclean canvas makes the canvas origin-unclean, r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D25773
--HG--
extra : moz-landing-system : lando
2019-04-16 06:58:29 +00:00
Dorel Luca
58348f299b
Backed out changeset aa0feb50773a (bug 1540221) for WPT failures in /html/semantics/embedded-content/the-canvas-element/security.pattern.fillStyle.sub.html. CLOSED TREE
2019-04-11 05:28:34 +03:00
Andrea Marchesini
d7915fa305
Bug 1540221 - Setting fillStyle to a pattern of an unclean canvas makes the canvas origin-unclean, r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D25773
--HG--
extra : moz-landing-system : lando
2019-04-09 20:10:03 +00:00
Ryan Hunt
00e98538aa
Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D21106
--HG--
extra : rebase_source : ea3f51c2c11247114deccbc86e90fb02b8a97257
2019-02-25 16:05:29 -06:00
Emilio Cobos Álvarez
d2ed260822
Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
...
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.
Overall it's not a very interesting patch I think.
nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.
I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.
While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Andrea Marchesini
531924a924
Bug 1502799 - Implement origin-clean algorithm for ImageBitmap, r=aosmond
2018-11-06 23:31:34 +01:00
Andrea Marchesini
3b92b0dd3c
Bug 1502304 - Deprecated CanvasRenderingContext2D in CreateImageBitmap, r=aosmond
2018-10-26 19:10:35 +02:00
Andrea Marchesini
a6e388e171
Bug 1500768 - Support SVG images in HTMLImageElements, r=jwatt
2018-10-25 14:55:06 +02:00
Andrea Marchesini
25bff22bd6
Bug 1500768 - Implement SVGImageElement support for createImageBitmap, r=jwatt
2018-10-25 14:55:06 +02:00
Andrea Marchesini
b8f3de6ba0
Bug 1500733 - Remove ImageBitmap.findOptimalFormat, r=aosmond
2018-10-23 23:35:44 +02:00
Andrea Marchesini
be09783aca
Bug 1500733 - Remove ImageBitmap.mappedDataLength, r=aosmond
2018-10-23 23:35:44 +02:00
Andrea Marchesini
39a76c5462
Bug 1500733 - Remove ImageBitmap.mapDataInto, r=aosmond
2018-10-23 23:35:44 +02:00
Andrea Marchesini
e4a7eded18
Bug 1500733 - Remove the support for BufferSource in createImageBitmap, r=aosmond
2018-10-23 23:35:43 +02:00
Andrea Marchesini
4b02de9de7
Bug 1497925 - CreateImageBitmap must ignore the Blob.type value, r=aosmond
2018-10-23 23:35:43 +02:00
Andrea Marchesini
595a1dde91
Bug 1500786 - createImageBitmap should throw InvalidStateError with already closed imageBitmap as input, r=aosmond
2018-10-23 23:35:43 +02:00
Andrea Marchesini
ff2c1dfc45
Bug 1500780 - CreateImageBitmap should handle OOM as InvalidState error, r=aosmond
2018-10-23 23:35:43 +02:00
Andrea Marchesini
e7af025911
Bug 1500736 - CreateImageBitmap should throw InvalidStateError when the allocation fails, r=aosmond
2018-10-23 23:35:43 +02:00
Andrea Marchesini
17f8a25e39
Bug 1500734 - createImageBitmap should throw RangeError if sw or sh is 0 - r=aosmond
2018-10-23 08:17:28 +02:00
Ryan Hunt
454819897e
Bug 1475139 part 10 - Add method to create ImageBitmap from SourceSurface. r=jrmuizel
...
This commit adds a method to create an ImageBitmap from a SourceSurface, for use
by the new drawSnapshot API.
Differential Revision: https://phabricator.services.mozilla.com/D6789
--HG--
extra : rebase_source : bf0f804194f5a36f5dc805333eaf85b55be50012
2018-09-24 21:47:14 -05:00
Andrea Marchesini
bc5414c5f3
Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap
2018-07-12 19:33:41 +02:00
Jeff Gilbert
5b753da289
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Andrea Marchesini
de57a3fc82
Bug 1455256 - Port more components to WorkerRef - part 6 - ImageCanvas, r=asuth
2018-06-18 16:37:21 -04:00
Miko Mynttinen
4c85ef17cc
Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
...
MozReview-Commit-ID: HpdFXqQdIOO
--HG--
extra : rebase_source : 1e7eea4f2d4ec16ec0c559a8afb26976ddbf4d07
2018-06-01 17:59:07 +02:00
arthur.iakab
7e765f798b
Backed out 2 changesets (bug 1465060) for build bustages on security/sandbox/linux/reporter/SandboxReporter.cpp
...
Backed out changeset 7c8905b6b226 (bug 1465060)
Backed out changeset 10446073eca8 (bug 1465060)
2018-06-03 19:25:41 +03:00
Miko Mynttinen
8d9dc85cd4
Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
...
MozReview-Commit-ID: HpdFXqQdIOO
--HG--
extra : rebase_source : 619d0e0ff63a2453c80f0c4d9beb906d43fa9b01
2018-06-01 17:59:07 +02:00