Andrew Osmond
918b734a20
Bug 1504699 - Part 5. Stop sharing code between SharedUserData and SharedSurfacesAnimation. r=nical
...
Originally it made sense to share the code, but now the latter has
become too specialized to reuse it. Fork it off here and update it later
parts in this series.
Differential Revision: https://phabricator.services.mozilla.com/D10901
2018-11-21 06:47:17 -05:00
Michael Froman
36306e253f
Bug 1471535 - pt4 - Add BuildSurfaceDescriptorBuffer to ImageContainer for remote decoding. r=jya,mattwoodrow
...
Depends on D8484
Differential Revision: https://phabricator.services.mozilla.com/D8486
--HG--
extra : moz-landing-system : lando
2018-11-14 18:05:28 +00:00
Bogdan Tara
fc8134a16a
Backed out 12 changesets (bug 1471535) for VideoDecoderChild failures CLOSED TREE
...
Backed out changeset 3d8a11458d79 (bug 1471535)
Backed out changeset 2176010bc1fe (bug 1471535)
Backed out changeset dfb4d3462b22 (bug 1471535)
Backed out changeset ea6b73ded74d (bug 1471535)
Backed out changeset 404d760a9e82 (bug 1471535)
Backed out changeset 28ae4b6fab68 (bug 1471535)
Backed out changeset af91e1f04c2d (bug 1471535)
Backed out changeset d39fef4334b3 (bug 1471535)
Backed out changeset a038821cd8ae (bug 1471535)
Backed out changeset 5dcc74a938c6 (bug 1471535)
Backed out changeset 53aff7e699b4 (bug 1471535)
Backed out changeset f3f6abc052f0 (bug 1471535)
--HG--
rename : dom/media/ipc/GpuDecoderModule.cpp => dom/media/ipc/RemoteVideoDecoder.cpp
rename : dom/media/ipc/GpuDecoderModule.h => dom/media/ipc/RemoteVideoDecoder.h
2018-11-13 23:31:56 +02:00
Michael Froman
d79a368a51
Bug 1471535 - pt4 - Add BuildSurfaceDescriptorBuffer to ImageContainer for remote decoding. r=jya,mattwoodrow
...
Depends on D8484
Differential Revision: https://phabricator.services.mozilla.com/D8486
--HG--
extra : moz-landing-system : lando
2018-11-13 17:34:48 +00:00
Dorel Luca
cb089b0bc4
Backed out 9 changesets (bug 1471535) for Mochitest failures in build/src/dom/media/ipc/VideoDecoderChild.cpp
...
Backed out changeset 1342e21cf613 (bug 1471535)
Backed out changeset 8dc9b4d59f90 (bug 1471535)
Backed out changeset 8082f226b52d (bug 1471535)
Backed out changeset f53e1e7bd538 (bug 1471535)
Backed out changeset 1a991ac2e1f8 (bug 1471535)
Backed out changeset a32288737e57 (bug 1471535)
Backed out changeset a094c1ac3afe (bug 1471535)
Backed out changeset fe9b5cdf78f9 (bug 1471535)
Backed out changeset 3a8a75389c42 (bug 1471535)
2018-11-09 12:14:50 +02:00
Michael Froman
3ccc68c776
Bug 1471535 - pt4 - Add BuildSurfaceDescriptorBuffer to ImageContainer for remote decoding. r=jya,mattwoodrow
...
Depends on D8484
Differential Revision: https://phabricator.services.mozilla.com/D8486
--HG--
extra : moz-landing-system : lando
2018-11-08 03:46:32 +00:00
Andrew Osmond
aa6a92d381
Bug 1428558
- Part 6. Integrate SharedSurfacesAnimation with ImageContainer. r=nical
...
This patch embeds a SharedSurfacesAnimation object inside an
ImageContainer. This allows any consumers of the container to get the
single shared ImageKey for an animation, despite whatever surfaces may
be held inside the container at a given time.
Differential Revision: https://phabricator.services.mozilla.com/D7503
2018-11-02 09:09:52 -04:00
Jean-Yves Avenard
b10364a15f
Bug 1493198 - P2. Use enum for describing color depth. r=mattwoodrow
...
Depends on D6662
Differential Revision: https://phabricator.services.mozilla.com/D6663
--HG--
extra : moz-landing-system : lando
2018-09-25 20:44:55 +00:00
Jean-Yves Avenard
ea40a439ac
Bug 1245400 - P4. Remove no longer used class member. r=nical
...
Also speed up compositing videos as there's no longer need to check every single frames twice to determine if they were composited or not.
Differential Revision: https://phabricator.services.mozilla.com/D2178
2018-08-22 17:26:37 +02:00
Jean-Yves Avenard
70040ff272
Bug 1245400 - P3. Report number of frames dropped by compositor back to VideoSink. r=nical
...
We report the number of frames dropped by the compositor because they were too late through:
ImageComposite -> ImageHost -> CompositableTransactionParent -> ImageBridgeParent -> IPDL -> ImageBridgeChild -> ImageContainerListener -> ImageContainer -> VideoSink
Differential Revision: https://phabricator.services.mozilla.com/D2177
2018-08-22 17:26:36 +02:00
sotaro
967ea144d0
Bug 1465224 - Add Video rotation handling r=nical
2018-06-13 10:40:23 -07:00
Jean-Yves Avenard
c41e0fce24
Bug 1404997 - P5. Fix constness and remove redundant virtual keyword. r=mattwoodrow
...
Additionally, various C++ code and style cleanup
MozReview-Commit-ID: 7BCtQzFGaOc
--HG--
extra : rebase_source : 77598165c0f6ad9f04c8a09985c79df82f2732e4
2017-11-30 19:03:02 +01:00
Daniel Holbert
126bd9e1a4
Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel
...
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py
For every file that is modified in this patch, the changes are as follows:
(1) The patch changes the file to use the exact C++ mode lines from the
Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line
(2) The patch deletes any blank lines between the mode line & the MPL
boilerplate comment.
(3) If the file previously had the mode lines and MPL boilerplate in a
single contiguous C++ comment, then the patch splits them into
separate C++ comments, to match the boilerplate in the coding style.
MozReview-Commit-ID: 77D61xpSmIl
--HG--
extra : rebase_source : c6162fa3cf539a07177a19838324bf368faa162b
2017-10-27 16:10:06 -07:00
Jean-Yves Avenard
3828ad5fbe
Bug 1215089 - P6: Remove dead code. r=mattwoodrow
...
The method isn't called and the comments referring to it are no longer applicable.
MozReview-Commit-ID: 2FFWhj7wzht
--HG--
extra : rebase_source : 5987c52a2a220185a61a45d18a6229aa7e5d8ea3
2017-10-04 03:26:45 +02:00
Jean-Yves Avenard
72e08420b1
Bug 1215089 - P3: Add mBitDepth member to YCbCr data structure. r=kamidphish,mattwoodrow
...
MozReview-Commit-ID: BNLawJOfj3w
--HG--
extra : rebase_source : f538373e317e3e1e5452c0a0d6e00e810148ea87
2017-06-29 23:09:20 +02:00
Sebastian Hengst
46807fbb50
Backed out changeset 3fc22c028eab (bug 1215089)
2017-10-04 16:26:09 +02:00
Sebastian Hengst
f0ac1d29e8
Backed out changeset 2072826699d5 (bug 1215089)
2017-10-04 16:25:51 +02:00
Jean-Yves Avenard
6e1769b5cd
Bug 1215089 - P5: Remove dead code. r=mattwoodrow
...
The method isn't called and the comments referring to it are no longer applicable.
MozReview-Commit-ID: 2FFWhj7wzht
--HG--
extra : rebase_source : 9bc3e9288ce0f38f03a9d33acc902f11703536da
2017-10-04 03:26:45 +02:00
Jean-Yves Avenard
89b1091f27
Bug 1215089 - P2: Add mDepth member to YCbCr data structure. r=kamidphish
...
MozReview-Commit-ID: BNLawJOfj3w
--HG--
extra : rebase_source : 6cd0336506a8feda874f6bd6525da73a745d5100
2017-06-29 23:09:20 +02:00
sotaro
afe9dcf6ff
Bug 1403049 - Remove EGLImageImage r=snorp
2017-09-27 09:56:38 +09:00
sotaro
b283dc671f
Bug 1402739 - Fix mutex handling around async ImageContainer r=nical
2017-09-26 09:58:37 +09:00
sotaro
99c13fbf3d
Bug 1387920
- Drop all ImageContainers' ImageClients during disabling WebRender r=nical
2017-09-22 08:21:09 +09:00
sotaro
9be589ac3c
Bug 1387352 - Avoids falling into the fallback codepath for async ImageContainers in layers-free mode r=kats
2017-08-07 11:09:50 +09:00
Nathan Froyd
e1013bf46d
Bug 1347963 - part 7 - make ImageContainer use RecursiveMutex; r=kats
...
Making ImageContainer slightly faster with RecursiveMutex is a good thing.
We need to fix up some cargo-culting of includes along the way, though.
2017-07-04 13:47:42 -04:00
Andrew Osmond
b306aa3fb2
Bug 1380716 - Reinitialize ImageContainer::mImageClient if its parent ImageBridgeChild was also reinitialized. r=sotaro
2017-07-15 07:52:02 -04:00
JerryShih
309a5411d4
Bug 1374548 - Implement the frame selection in BasicImageLayer. r=mattwoodrow a=relanding
...
The BasicImageLayer always picks the first frame in image container which is not desired for video playback.
MozReview-Commit-ID: q4QkBT2a7w
2017-06-30 11:57:14 -07:00
Wes Kocher
3483bcf612
Backed out changeset 85099e5d1e2a (bug 1374548) for being the likely cause of the spike in crashes from bug 1370089 a=backout
2017-06-30 10:45:51 -07:00
JerryShih
56f5339e5a
Bug 1374548 - Implement the frame selection in BasicImageLayer. r=mattwoodrow
...
The BasicImageLayer always picks the first frame in image container which is not desired for video playback.
MozReview-Commit-ID: q4QkBT2a7w
--HG--
extra : rebase_source : 732f61eb5ca64a051fc928a1e22706011800d8fb
2017-06-22 21:03:00 +02: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
Jean-Yves Avenard
00153b34ec
Bug 1223270: P2. Add D3D11YCbCrImage type. r=mattwoodrow,nical
...
And related methods.
Will allow to directly upload a YUV420 buffer into a D3D11 texture.
MozReview-Commit-ID: FugfJB3818Y
--HG--
extra : rebase_source : faaf2667236699513923aaf76ccc462840182aa6
2017-05-03 23:23:45 +02:00
Carsten "Tomcat" Book
98bb30bdec
Backed out changeset 5d4f3028f48e (bug 1223270)
2017-06-20 09:41:41 +02:00
Jean-Yves Avenard
4027661343
Bug 1223270: P2. Add D3D11YCbCrImage type. r=nical
...
And related methods.
Will allow to directly upload a YUV420 buffer into a D3D11 texture.
MozReview-Commit-ID: FugfJB3818Y
--HG--
extra : rebase_source : 75e77c9a5bec64c9e10d335c06d22f6988dec7d7
2017-05-03 23:23:45 +02:00
Bill McCloskey
f9aca3eae6
Bug 1365099 - Convert NS_GetCurrentThread uses in gfx (r=dvander)
...
MozReview-Commit-ID: 9I4eXsBl2s8
2017-06-12 20:20:08 -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
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
JerryShih
a02136ffc6
Bug 1336362 - Remove PCompositable, PLayer and PImageContainer related def. r=dvander
...
MozReview-Commit-ID: IzxHU1SRh2t
2017-02-03 01:06:00 -05:00
David Anderson
34bb55e427
Keep trying async video until PImageBridge is alive again. (bug 1331548 part 2, r=mattwoodrow)
2017-02-01 23:51:51 -08:00
David Anderson
c74b40959d
Replace async image container IDs with a typed struct. (bug 1323957 part 1, r=mattwoodrow)
...
--HG--
extra : rebase_source : 4ff77f95ef818f59edb3d3b167548d84773a416f
2017-01-17 18:47:05 -08:00
sotaro
9c5080bd64
Bug 1329432 - Add ImageContainerListener r=nical
2017-01-14 07:51:40 +09:00
Ryan VanderMeulen
6ec8510ea7
Backed out 6 changesets (bug 1323957) for intermittent GPU process leaks on a CLOSED TREE.
...
Backed out changeset 8fe93d5f82a8 (bug 1323957)
Backed out changeset 5d1615317a36 (bug 1323957)
Backed out changeset 1ec74a022e80 (bug 1323957)
Backed out changeset 0a97bbdd54d5 (bug 1323957)
Backed out changeset 70fab4f6d367 (bug 1323957)
Backed out changeset c5ca5b7fcacd (bug 1323957)
2017-01-11 23:09:14 -05:00
David Anderson
69835ac44e
Replace async image container IDs with a typed struct. (bug 1323957 part 1, r=mattwoodrow)
2017-01-11 09:20:53 -08:00
David Anderson
61c82e108f
Remove PImageContainer. (bug 1325784 part 5, r=nical)
2017-01-04 10:19:30 -05:00
David Anderson
944e8cc055
Use async compositable IDs for image composite notifications. (bug 1325784 part 4, r=nical)
2017-01-04 10:19:30 -05:00
Sotaro Ikeda
92926a0f41
Bug 1317656 - Cleanup more gonk/b2g dependent code r=nical
2016-11-15 22:01:30 -08:00
Matt Woodrow
4d0b10822d
Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro
2016-10-27 13:17:10 +13:00
Sotaro Ikeda
1d3ceeff04
Bug 1306521 - Handle VP9 colorspace BT.709 on BasicCompositor r=nical,jwwang,jya,jrmuizel
2016-10-11 19:46:28 -07:00
Matt Woodrow
50bff87cb2
Bug 1305361 - Rebuild IPDL actors on ImageContainer once we've recovered from a GPU process crash. r=dvander
2016-10-03 21:20:42 +13:00
Matt Woodrow
55f506db9f
Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280
2016-09-27 16:22:20 +13:00
Matt Woodrow
f8671565f8
Bug 1303897 - Part 1: Use TextureForwarder for Image::GetTextureClient. r=nical
2016-09-23 09:43:11 +12:00