Kyle Machulis
9e159ac69d
Bug 1407040 - Change HTMLMediaElement XPCOM Enums to WebIDL Enums; r=bz
...
MozReview-Commit-ID: 55GnbaL2HKl
--HG--
extra : rebase_source : 5bb6c927443bf6adcfe594e69bd70c3b597b9ea4
2018-02-14 19:23:32 -08:00
Timothy Nikkel
ab2056b146
Bug 1414825. Clear mDataWrapper on ImageBitmap::Close because it holds gfx resources alive. r=nical
2018-02-06 02:53:21 -06:00
Andrea Marchesini
8cdf705535
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Andrea Marchesini
063723a1f0
Bug 1432963 - Fixing workers headers - part 13 - WorkerHolder without workers namespace, r=smaug
2018-01-31 08:23:44 +01:00
Timothy Nikkel
3af81f80fc
Bug 1414825. Use a shutdown observer to release the gfx resources of ImageBitmaps. r=kaku,nical
2018-01-22 21:38:45 -06:00
Andrew Osmond
89c5ff6db9
Bug 1429413 - Ensure Factory::CreateDataSourceSurface allocation failures are gracefully handled. r=bas
2018-01-11 08:26:42 -05:00
Andrea Marchesini
9a25904cf8
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 2 - image bitmap, r=asuth
2018-01-08 14:05:03 +01:00
Andrea Marchesini
3316d7de4d
Bug 1420223 - createImageBitmap must work with nsIAsyncInputStream - part 3 - ImageBitmap must use imgITools::decodeImageAsync, r=aosmond
2017-11-27 17:05:57 +01:00
David Anderson
9575a22267
Remove trivial calls to DataSourceSurface::Stride. (bug 1405390 part 3, r=bas)
...
--HG--
extra : rebase_source : 7700599ef497a2abadc7970af5ea26b48061966e
2017-11-09 00:43:30 -08:00
Andrea Marchesini
9067ec472c
Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug
2017-10-02 13:53:12 +02:00
Jon Coppeard
a3c0357907
Bug 1399141 - Attribute malloc memory when creating reflector object r=baku
2017-09-13 11:21:12 +01:00
Bill McCloskey
f115503a0b
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
8a1350b5a6
Backed out changeset 4f6302a98ae4 (bug 1372405
)
...
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey
6b3e84ed5f
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
ea1b86680c
Backed out changeset 9846de3bd954 (bug 1372405
)
...
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Olli Pettay
f78280f29a
Bug 1364513 - Ensure correct buffer initialization. r=mystor
...
--HG--
extra : rebase_source : af0024c26378f21da156e8f4e5da1b3bcc8c1ed8
2017-05-25 09:39:17 -04:00
Daosheng Mu
743e36e236
Bug 1358053 - Remove DataSourceSurface assertion when doing snapshot in WebGL; r=jgilbert
...
MozReview-Commit-ID: 6LhmY1ouNZ9
--HG--
extra : rebase_source : 91511c1aa2f403862c8341b404a6a09d889de963
2017-04-27 17:38:37 +08:00
Jeff Gilbert
14709fa9d8
Bug 1355763 - Only premult if there's something to premult.
...
MozReview-Commit-ID: LKd2tWWxGbI
2017-04-13 09:14:41 -07:00
Jeff Gilbert
326703ec04
Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu
...
MozReview-Commit-ID: Jzr8aPYlEcO
2017-04-13 09:14:34 -07:00
Timothy Nikkel
f2110e92fe
Bug 1355898
. Rename flag SFE_WANT_FIRST_FRAME to SFE_WANT_FIRST_FRAME_IF_IMAGE to represent what it does better. r=jgilbert
...
We only pay attention to the flag for images.
2017-04-13 03:40:45 -05:00
Iris Hsiao
bf9a6182a2
Backed out changeset f97fd860c168 (bug 1355763)
2017-04-13 14:46:43 +08:00
Jeff Gilbert
95c5ba8077
Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu
...
MozReview-Commit-ID: Jzr8aPYlEcO
2017-04-12 22:03:43 -07:00
Kaku Kuo
1ae5278f6a
Bug 1349459 part 1 - mark element as tainted when CreateImageBitmap() is used; r=jwwang,mattwoodrow
...
In this patch, we simply modify the ImageBitmap::createInternal(..., HTMLMediaElement&, ...) method to use
HTMLMediaElement::GetCurrentImage() utility and HTMLMediaElement::GetCurrentImage() marks the
videl element as tainted.
MozReview-Commit-ID: KyN2xRqKVrr
--HG--
extra : rebase_source : 5e0e0400f1848823751cd88f2bbe734bc5aec5fe
2017-03-22 15:21:44 +08:00
Michael Layzell
befc7b0924
Bug 1331434 - Part 9: Return after ErrorResult::Throw in /dom, r=ehsan
...
MozReview-Commit-ID: CWjx4L8LTr9
2017-03-07 19:06:48 -05:00
Lee Salzman
f1af01ebd4
Bug 738343 - part 4 - Use Moz2d swizzles in Canvas2D. r=jrmuizel
2017-02-12 09:27:39 -05:00
Andrew Osmond
48eeda9e2c
Bug 1331938 - Part 2. Add SourceSurfaceSharedData, a shared data backed DataSourceSurface. r=nical
2017-01-18 10:12:32 -05:00
Andrea Marchesini
94547f20bb
Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status, r=bkelly
2017-01-05 10:05:32 +01:00
Jeff Gilbert
8a9c965490
Bug 1324924 - Support ImageBitmap for Tex*Image*. (flattened) - r=bz,daoshengmu,mtseng
...
MozReview-Commit-ID: JzcbzeFHyHn
2016-12-20 19:24:25 -08:00
Kaku Kuo
42ed861e1e
Bug 1312148 - report memory allocation while creating ImageBitmap; r=mtseng,smaug
...
Creating ImageBitmap from the following sources includes allocating new memory:
(1) from ImageData.
(2) from Blob.
(3) from HTMLCanvasElement.
(4) from CanvasRenderingContext2D.
(5) from Structured-clone.
(6) from Transferring.
(7) from OffscreenCanvas.
(8) from ArrayBuffer/TypedArray.
We need to report to DOM so that the GC would be triggered appropriately.
MozReview-Commit-ID: 7rvNsjVNqpz
--HG--
extra : rebase_source : 8879c9a1723b65fcd1bae2ae7e8befb5be8a5c69
extra : source : c0fc415ed753cb675a605a6e6a55e369733c6646
2016-10-28 18:18:48 +08:00
Sebastian Hengst
a3b55f01b5
Backed out changeset 021cef553ece (bug 1312148) for failing test_bitmaprenderer.html on Windows 8 x64 opt. r=backout
2016-11-02 17:46:04 +01:00
Kaku Kuo
de99dd7b42
Bug 1312148 - report memory allocation while creating ImageBitmap; r=mtseng,smaug
...
Creating ImageBitmap from the following sources includes allocating new memory:
(1) from ImageData.
(2) from Blob.
(3) from HTMLCanvasElement.
(4) from CanvasRenderingContext2D.
(5) from Structured-clone.
(6) from Transferring.
(7) from OffscreenCanvas.
(8) from ArrayBuffer/TypedArray.
We need to report to DOM so that the GC would be triggered appropriately.
MozReview-Commit-ID: 7rvNsjVNqpz
--HG--
extra : rebase_source : 25760f91bd71fe2150fa3ae37dfc1fb8b53c15a4
2016-10-28 18:18:48 +08:00
Gijs Kruitbosch
bece3c3421
Bug 1308090, r=jrmuizel
...
MozReview-Commit-ID: A0wlb1qtk9r
--HG--
extra : rebase_source : c3bc7fc3fffc7f3d321aea9c0f7c582f55d3bfc7
2016-10-06 15:59:15 +01:00
kaku@mozilla.com
9a1c3746b2
Bug 1299718 part 3 - call MarkAsContentSource() at where using video element as a source; r=gerald,kamidphish,mtseng
...
MozReview-Commit-ID: Kg6UpcsCi0P
2016-09-14 15:50:29 +10:00
Kaku Kuo
3d85eebfd7
Bug 1293878 part 1 - reject promise with InvalidStateError DOMException; r=smaug
...
MozReview-Commit-ID: 7c62WCJZWMz
--HG--
extra : rebase_source : c3f90b2a6e10557cc3c3f01e31aab8e70eca6a39
2016-08-16 11:52:58 +08:00
Andrea Marchesini
60ab8339e0
Bug 1288736 - Add some missing rv.SuppressException(), r=smaug
2016-07-22 16:50:10 +02:00
Kaku Kuo
7460e53193
Bug 1141979 - part11 - handle cases that mapDataInto() should throw; r=jrmuizel
...
MozReview-Commit-ID: JuPj54fNB3s
--HG--
extra : transplant_source : UW%60%B44%B2%7B%B2u%06U%27%60%9AH%BF%BD%FD%25%B7
2016-03-16 12:01:32 +08:00
Kaku Kuo
b9ec3cd2af
Bug 1141979 - part10 - hanlde drawing RGB24/BGR24/HSV/Lab onto canvas element; r=jrmuizel
...
MozReview-Commit-ID: FmiTy6tXNN7
--HG--
extra : transplant_source : %DB%B6%3B%5CR%15%C6%ED%F9%2C%C9T%B2%CB%3F%C7%9A%5Dc1
2016-03-14 19:34:52 +08:00
Kaku Kuo
d3a7ed24e9
Bug 1141979 - part9 - implement ImageBitmapFactories extensions; r=jrmuizel
...
MozReview-Commit-ID: 6Hm58nffAuV
--HG--
extra : transplant_source : %97%EE%BB%BB%EC%D4%8B%90q%C6%8F%95%F2%A8%D1Q%DDp%A1%F8
2016-04-27 11:46:51 +08:00
Kaku Kuo
fca7b0b604
Bug 1141979 - part8 - implement ImageBitmap extensions; r=jrmuizel
...
MozReview-Commit-ID: Bc6HoqRLMNB
--HG--
extra : transplant_source : %89%E9Q%FD4%ED%FD%EC5pqq%AF%C6%90%E0y%A2%88%12
2016-04-27 13:03:01 +08:00
Kaku Kuo
447d4a1f0d
Bug 1141979 - part0 - setup preference utilities; r=jrmuizel
...
MozReview-Commit-ID: GoevPKVNASQ
--HG--
extra : transplant_source : %7Co%BA9%D0i%92B%5D%03%3Fb%AF_%84%02.Ano
2015-11-13 18:27:41 +08:00
Andrea Marchesini
513590a1ac
Bug 1267904 - Add telemetry for WorkerMainThreadRunnable, r=khuey
2016-05-03 09:09:47 +02:00
Bas Schouten
bb762a5da8
Bug 1265598: Deal with the possibility of a write map failing. r=kaku r=milan
...
MozReview-Commit-ID: KLrlKf6Silc
2016-04-28 13:22:32 +00:00
Bas Schouten
12035215b2
Bug 1266432: Use CopySurface in ImageBitmap::PrepareForDrawing even when using D2D 1.1. r=kaku
...
MozReview-Commit-ID: 4VjcaT5GwSu
2016-04-28 13:22:32 +00:00
Bas Schouten
17a1f926e2
Bug 1266390: Preserver mIsPremultipliedAlpha when creating an ImageBitmap from an existing ImageBitmap. r=kaku
...
MozReview-Commit-ID: 2p58Z9JUPe6
2016-04-28 13:22:31 +00:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Andreas Pehrson
c742b9dadf
Bug 1208371 - Change HTMLMediaElement video sinks to check principal for video only tracks. r=mt
...
MozReview-Commit-ID: KGbyJDgpBOn
--HG--
extra : rebase_source : 526556a2174417ec68cb0a84acb1f3fe704ebaf0
2016-01-26 15:36:52 +08:00
Kaku Kuo
7c27f74f1f
Bug 1239752 - Create ImageBitmap from ImageData should preserve alpha. r=roc
...
MozReview-Commit-ID: RTf8Bva5yb
--HG--
extra : rebase_source : f5a783c1d2bb7d02f64256e711010a3f2d8563f2
2016-01-19 15:06:20 +08:00
Boris Zbarsky
7345c5edb1
Bug 1251045 part 4. Remove the JSContext argument of WorkerRunnable::Dispatch. r=khuey
2016-02-26 15:23:12 -05:00
Kaku Kuo
e3bc6c71ea
Bug 1239300 - reject promise with null while creating imagebitmap from empty blob; r=smaug
2016-01-19 14:35:01 +08:00