sotaro
757062cdf2
Bug 1513308 - Lazily initialize DirectX devices for WebRender r=mattwoodrow
2018-12-18 14:54:28 +09: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
Jean-Yves Avenard
103efd79bc
Bug 1497294 - P7. Add P016 and P010 surface format support. r=jgilbert
...
This is only used with DXVA decoder. P016 and P010 are just like NV12 but with 16 bits data..
Depends on D8246
Differential Revision: https://phabricator.services.mozilla.com/D8136
--HG--
extra : moz-landing-system : lando
2018-10-10 22:21:53 +00:00
sotaro
c4eb825654
Bug 1459233 - Make SyncObjectD3D11Host::Synchronize() fallible with WebRender r=mattwoodrow
2018-10-05 14:49:04 +09:00
Ciure Andrei
e22f3d2a81
Backed out 1 changesets (bug 1459233) for continuation-opacity.html failures on Win 10 qr a=backout
...
Backed out changeset 4505ab264626 (bug 1459233)
2018-10-03 14:16:38 +03:00
sotaro
d8ff0e4ced
Bug 1459233 - Make SyncObjectD3D11Host::Synchronize() fallible with WebRender r=mattwoodrow
2018-10-03 09:44:05 +09:00
Jean-Yves Avenard
a4846efef7
Bug 1493198 - P4. Add support for 10/12 bits YUV image to WebRender (bindings) r=mattwoodrow
...
Depends on D6663
Differential Revision: https://phabricator.services.mozilla.com/D6688
--HG--
extra : moz-landing-system : lando
2018-09-26 14:58:25 +00: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
cfc24b769e
Bug 1469711 - P1. Add 10/12 bits YUV support to D3D11 compositor. r=mattwoodrow
...
This change is for D3D11 with Advanced Layers enabled.
Differential Revision: https://phabricator.services.mozilla.com/D6492
--HG--
extra : moz-landing-system : lando
2018-09-25 11:18:34 +00:00
Emilio Cobos Álvarez
fffb25b74f
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
sotaro
2cc8bd0a21
Bug 1426199 - Relax ASSERT checks r=nical
2018-04-03 18:25:36 +09:00
Andrew Osmond
34935cb2ff
Bug 1388020. r=nical
2018-02-07 09:33:12 -05:00
Andrew Osmond
5a683f0a80
Backed out changeset d078b56f0fa6 (bug 1388020) for OS X crashtest failures. r=backout
2018-02-06 22:18:29 -05:00
Andrew Osmond
210a94af4d
Bug 1388020. r=nical
2018-02-06 20:14:17 -05:00
Nicolas Silva
082991a7bc
Bug 1404477 - Merge ResourceUpdateQueue and TransactionBuilder. r=kats
2018-01-29 14:33:39 +01:00
sotaro
603fade55f
Bug 1422288 - Do no add ExternalImage for d3d texture host when ANGLE is disable with WebRender r=nical
2018-01-24 13:17:06 +09:00
Kartikaya Gupta
8903b49768
Bug 1429951 - Propagate the non-premultiplied flag for textures to WR. r=sotaro
...
MozReview-Commit-ID: Vd5n5e7XuW
--HG--
extra : rebase_source : ebd563dd785d99a9623906554dfe8ccd507930b4
2018-01-17 12:55:40 -05:00
Milan Sreckovic
099cfc4242
Bug 1423570: Use BaseRect access methods instead of member variables in gfx/ r=bas.schouten
...
MozReview-Commit-ID: ZGySgc9oP3
--HG--
extra : rebase_source : 23aadc10e9885002290155684b2c495780d979ce
2017-12-19 15:48:39 -05:00
sotaro
05e371c3e3
Bug 1423795 - Set correct YUVColorSpace for video if possible r=nical
2017-12-08 11:58:53 +09:00
Bas Schouten
d3659cd140
Bug 1422169: Have the D3D11TextureData destructor defer releasing the last reference to its DrawTarget to the paint thread. r=dvander
...
MozReview-Commit-ID: Dmzu5Nnpx9g
2017-12-01 17:04:46 +01:00
sotaro
5988aed34a
Bug 1421939 - Fix RenderDXGIYCbCrTextureHostOGL::GetSize() r=nical
2017-11-30 21:30:35 +09:00
JerryShih
81f7ebd06b
Bug 1415754 - try to use egl stream instead of CreatePbufferFromClientBuffer() for d3d rgb format texture. r=jgilbert
...
MozReview-Commit-ID: Bydbxtx3oGU
2017-11-28 20:04:00 +08:00
Ryan Hunt
c34dc7e2af
Replay buffer commands on paint thread when OMTP is enabled (bug 1399692 part 7, r=bas)
...
This commit does the work of actually dispatching the recorded buffer operations
to the paint thread, and removing some main thread asserts from TextureClient.
MozReview-Commit-ID: CN3RoQPz9fP
--HG--
extra : rebase_source : 08ae6cf8445ef0a757efc54175768c2fa9bb1685
extra : intermediate-source : 0fc2414f146d8f5d08c97e5b7eedb25c5632ab2d
extra : source : e9349ad2f1f8fec862b1d2271d0d8f25ad0814d4
2017-10-26 00:47:17 -04:00
sotaro
a8b71fcd72
Bug 1415763 - Fix DXGIYCbCrTextureData as to deliver YUVColorSpace r=mattwoodrow
2017-11-10 18:15:54 +09:00
Andreea Pavel
5e4025c975
Backed out 9 changesets (bug 1399692) for failing reftest/tests/layout/reftests/svg/dynamic-text-06.svg Windows 10 x64 Stylo Disabled debug R-e10s2 r=backout on a CLOSED TREE
...
Backed out changeset 7d9324e2ab34 (bug 1399692)
Backed out changeset 76bf99decf09 (bug 1399692)
Backed out changeset 0fc2414f146d (bug 1399692)
Backed out changeset f235b12eda6e (bug 1399692)
Backed out changeset 467532fd5b7a (bug 1399692)
Backed out changeset dce585be0737 (bug 1399692)
Backed out changeset b971c1aa5a78 (bug 1399692)
Backed out changeset 8ba8bda8521a (bug 1399692)
Backed out changeset 2c41a712dff2 (bug 1399692)
2017-11-09 21:55:32 +02:00
Ryan Hunt
bd171d4d4c
Replay buffer commands on paint thread when OMTP is enabled (bug 1399692 part 7, r=bas)
...
This commit does the work of actually dispatching the recorded buffer operations
to the paint thread, and removing some main thread asserts from TextureClient.
MozReview-Commit-ID: CN3RoQPz9fP
--HG--
extra : rebase_source : 9aeb3a727a930638aeb47a45a358769f1338d844
extra : source : e9349ad2f1f8fec862b1d2271d0d8f25ad0814d4
2017-10-26 00:47:17 -04: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
David Anderson
32e1584385
Remove easily-removed cases of DataSourceSurface::GetData(). (bug 1405390 part 1, r=bas)
...
--HG--
extra : rebase_source : cc0d8001240efb530daa9845bc126e5026682340
2017-11-09 00:43:29 -08:00
JerryShih
ff87dafa78
Bug 1409176 - make SyncObjectD3D11Client become fallible. r=dvander
...
Currently, the device-reset flow doesn't notify the decoder for device change
immediately. The decoder might use an invalid sync-object for synchronization.
Then, we will hit some assertions.
This patch try to make the synchronization flow become fallible, then we could
pass the error to the media framework for error handling.
MozReview-Commit-ID: BFY32MmOdt0
2017-11-06 16:07:22 +08:00
NARCIS BELEUZU
3543cada7e
Backed out 7 changesets (bug 1399692) failing on browser chrome browser/base/content/test/performance/browser_urlbar_search_reflows.js
...
Backed out changeset e9349ad2f1f8 (bug 1399692)
Backed out changeset cb6507b560aa (bug 1399692)
Backed out changeset 3d0da6564096 (bug 1399692)
Backed out changeset 926af2eca400 (bug 1399692)
Backed out changeset b57a3f0d0847 (bug 1399692)
Backed out changeset 9fcb661df79e (bug 1399692)
Backed out changeset 744c8fabaa1c (bug 1399692)
2017-11-03 14:32:46 +02:00
Ryan Hunt
153dbb56d7
Replay buffer commands on paint thread when OMTP is enabled (bug 1399692 part 7, r=bas)
...
This commit does the work of actually dispatching the recorded buffer operations
to the paint thread, and removing some main thread asserts from TextureClient.
MozReview-Commit-ID: CN3RoQPz9fP
--HG--
extra : rebase_source : c14b9da390e88907e184409404c5c21b5fe23dff
2017-10-26 00:47:17 -04: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
Sylvestre Ledru
d60d69e2cb
Bug 1411001 - Remove the +x permissions on cpp & h files r=froydnj
...
MozReview-Commit-ID: DjDkL20wRg0
--HG--
extra : rebase_source : a343d83d1f4e97e4ba56d0f57fec93079df0b5ea
2017-10-23 20:59:55 +02:00
Tom Ritter
349f097743
Bug 1403698 Address delete-non-virtual-dtor warnings r=froydnj
...
MozReview-Commit-ID: 44XiqegImiT
--HG--
extra : rebase_source : 52ddc3caa3243aaef9e2397b4a28e318da101a8c
2017-10-06 11:27:35 -05:00
JerryShih
39ce3036af
Bug 1388240 - turn to use TextureExternalHandle in DXGIYCbCrTextureHostD3D11. r=nical
...
Create a new type RenderDXGIYCbCrTextureHostOGL for planar-ycbcr format in WR.
That type could convert the 3 d3d11-a8 textures into gl handles. Then, WR could
draw the gl handles directly.
MozReview-Commit-ID: 1CIQO4p8u30
2017-09-28 21:43:01 +08:00
JerryShih
b2d91d1a05
Bug 1388240 - update the DXGITextureHostD3D11::Lock() comment for non-compositor use case. r=nical
...
MozReview-Commit-ID: ERo8DHpau6c
2017-09-28 21:43:00 +08:00
sotaro
b7cab8917e
Bug 1403439 - Fix WrExternalImageBufferType of DXGITextureHostD3D11 r=nical
2017-09-27 19:11:48 +09:00
Nicolas Silva
f1d8bb2519
Bug 1383786 - Rename TextureHost::PushExternalImage into PushDisplayItems. r=sotaro
2017-09-26 15:31:00 +02:00
Nicolas Silva
f8c1fa40c8
Bug 1383786 - Make it possible to update TextureHost image keys. r=sotaro
2017-09-26 15:30:51 +02:00
Nicolas Silva
988b7e111c
Bug 1383786 - Simplify generating image keys for TextureHosts. r=sotaro
2017-09-26 15:30:46 +02:00
Morris Tseng
ce9b629335
Bug 1392200 - Add backface-visibility support for layers-free mode. r=kats
...
For layers-full mode, we set the backface-visibility to visible because
visibility would be handled by FLB and layers.
MozReview-Commit-ID: CUbeUabfC7K
2017-09-21 14:41:38 +08:00
Nicolas Silva
59e80c8f7e
Bug 1393031 - Use shared memory to pass resource update data. r=jrmuizel
2017-09-14 18:48:55 +02:00
Bas Schouten
63719ddbc7
Bug 1399247: Limit the scope of D3D11MTAutoEnter in order to avoid holding it while grabbing the D2D lock. r=mchang
...
MozReview-Commit-ID: KFKEIZBOIiy
--HG--
extra : rebase_source : 1f5808b63e4e53bc9e0daf1f9abb2770a5e477b4
2017-09-12 20:46:53 +00:00
Bas Schouten
d8964297e9
Bug 1397040: During D3D11TextureData::Create lock the device multithread mutex explicitly when accessing the device. r=mattwoodrow
...
MozReview-Commit-ID: Ip1c8jnJE7r
2017-09-07 14:39:14 +00:00
Nicolas Silva
38b33aa593
Bug 1393031 - Separate WebRenderAPI and ResourceUpdateQueue. r=sotaro
2017-09-04 13:59:42 +02:00
Nicolas Silva
b067cea354
Bug 1393031 - Expose webrender resource updates in the C++ wrapper. r=sotaro
2017-09-04 13:59:12 +02:00
Jeff Gilbert
e8ed9905f9
Bug 1322746 - Expose DXGI HANDLEs for GPU_VIDEO. - r=mattwoodrow
...
MozReview-Commit-ID: Aea0xGesaQi
2017-09-02 21:52:10 -07:00
Kevin Chen
0ea8e971ce
Bug 1390452
- Check texture compatibility when ensuring the texture source; r=bas
...
MozReview-Commit-ID: LjFvMezb1TV
--HG--
extra : rebase_source : 1b8da7ed75da9da547aef22b1f535fc0567e1b7f
2017-08-17 15:31:09 +08:00
Wes Kocher
7a772df5bf
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: BYZASFIrXxp
2017-08-14 17:58:17 -07:00
Mason Chang
3d88e66f5a
Bug 1388921 Resume IPC Messages after we send sync textures. r=mattwoodrow
2017-08-14 14:27:03 -07:00