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
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
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
Jeff Gilbert
8a890b29aa
Bug 1322746 - Support PLANAR_YCBCR, GPU_VIDEO, and D3D11_YCBCR_IMAGE in GLBlitHelper. - r=jerry
...
MozReview-Commit-ID: FNsmq0RPvYB
2017-09-02 21:52:16 -07: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
Mason Chang
a7da7e14fb
Bug 1387639 Sync Textures once all async OMTP paints are done. r=mattwoodrow
2017-08-10 21:41:31 -07:00
JerryShih
061742e951
Bug 1357299 - P11: Update layers, dxva and vr module to use SyncObjectChild. v3. r=mattwoodrow,dvander
...
MozReview-Commit-ID: 4HTPz0YcYHq
2017-08-07 18:15:24 +08:00
JerryShih
3d8f544df7
Bug 1357299 - P10-1: Update MLGDeviceD3D11 and CompositorD3D11 to use SyncObjectHost. r=dvander
...
From bug 1163440, there is an additional AcquireSync() call around the swapChain::Present(). Export the KeyedMutex from SyncObjectD3D11Host for this synchronization.
MozReview-Commit-ID: 8mPs4jKj67W
2017-08-07 18:15:24 +08:00
JerryShih
50bd333891
Bug 1357299 - P9: Do the refactoring for SyncObject. v2. r=mattwoodrow,dvander
...
The MLGDeviceD3D11, CompositorD3D11 and TextureClient use the same synchronization mechanism.
Create the new SyncObjectClient/Host types for reusing code.
Add SyncObject.cpp/h and create two new data types: SyncObjectClient and SyncObjectHost.
The SyncObjectClient is used for the TextureClient synchronization at client side.
The SyncObjectHost is used for the TextureHost synchronization in renderers such
as MLGDeviceD3D11 and CompositorD3D11.
MozReview-Commit-ID: 3l56WK1aZ15
2017-08-07 18:15:23 +08:00
JerryShih
f488575a07
Bug 1357299 - P3: Support DXGI texture type for WR. v2. r=nical
...
Create the corresponding RenderTextureHost type and WR commands for DXGI texture type.
The DXGITextureHostD3D11 will use 1 or 2 image keys for non-nv12 and nv12 texture format.
The DXGIYCbCrTextureHostD3D11 is a special case. The WR uses ANGLE in windows platform,
but the ANGLE doesn't support A8 format directx texture directly. So, we use libyuv to
convert the DXGIYCbCrTextureHostD3D11 texture buffer into RGBA format buffer and use
WR::AddImage() for that image. This is a slow code path. We will refine this case later.
The whole RenderD3D11TextureHostOGL implementation is in the next patch.
MozReview-Commit-ID: F4mPCALj1OY
2017-08-07 18:15:22 +08:00
Ryan Hunt
017d292cac
Bug 1382128 part 2 - Remove WrPoint, WrSize, WrRect, WrMatrix, and WrColor. r=kats
...
MozReview-Commit-ID: 9koNScu4CyE
--HG--
extra : rebase_source : 68185e949ddf2ae346a5d597d056a7f2d9ea7a28
2017-07-18 18:32:46 -04:00
Ryan Hunt
3f3cb0a954
Bug 1382128 part 1 - Use a namespace in webrender_bindings. r=kats
...
MozReview-Commit-ID: 3JTMa9Ix5S7
--HG--
extra : rebase_source : 0bea14d9e395cab260d2db5135b1f64e9f82b2e2
2017-06-27 19:20:36 -04:00
sotaro
5d1a3c3c3f
Bug 1378297 - Add DXGITextureHostD3D11::GetAsSurface() support for webrender wrench r=mattwoodrow
2017-07-06 16:33:19 +09:00
Kartikaya Gupta
34903d0ba6
Bug 1376215 - Stop exposing the WrClipRegionToken in WebRenderAPI.h APIs. r=jrmuizel
...
No functional changes intended in this patch. It merely simplifies the
additional patch that we'll need to update gecko past WR cset 0bf6655,
and saves some potential manual rebasing work.
MozReview-Commit-ID: Km8dBotP3NQ
--HG--
extra : rebase_source : 77c34ec1cbbc1c0fe4d1971feb131d30c97f0d66
2017-06-26 07:49:52 -04:00
David Anderson
6376e2c6bb
Initial import of Advanced Layers. (bug 1365879 part 20, r=bas)
2017-06-23 14:23:12 -07:00
Carsten "Tomcat" Book
4119f2f8fb
Backed out changeset 8069471cda21 (bug 1365879)
2017-06-23 12:15:35 +02:00
David Anderson
8eb9963527
Initial import of Advanced Layers. (bug 1365879 part 20, r=bas)
...
--HG--
extra : rebase_source : 57032a3e3d383c27cfdc2f26841d387ca57d0011
2017-06-22 21:12:19 -07:00
Jacek Caban
209eeeaf94
Bug 1372870 - Compiling with mingw-w64 based on GCC 6.3.0 breaks (operands to ?: have different types) r=mattwoodrow
2017-06-22 17:33:39 +02:00
Jean-Yves Avenard
2f1f120932
Bug 1223270: P7. Extract D3D11MTAutoEnter and reuse. r=mattwoodrow
...
MozReview-Commit-ID: Ipz5ygQLxNV
--HG--
extra : rebase_source : 7b294cc18ae5cedde2e1baea5c63c7a3286cba56
2017-06-20 20:45:40 +02: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
Jean-Yves Avenard
e8d34824cb
Bug 1223270: P1. Extract AutoLockD3D11Texture. r=mattwoodrow
...
Will be used in future code.
MozReview-Commit-ID: 5ivawIIt2bu
--HG--
extra : rebase_source : 1c640796907cfce1ce0c7939d0bef64f04b6b0d5
2017-05-04 13:54:05 +02:00
David Anderson
f23fbf5237
Add a way to extract TextureSources from a BigImageIterator. (bug 1365879 part 9, r=mattwoodrow)
2017-06-20 01:17:18 -07:00
David Anderson
ac1b90f140
Add support for locklessly getting TextureSources from TextureHosts. (bug 1365879 part 6, r=mattwoodrow)
2017-06-20 01:17:17 -07:00
JerryShih
5b3045edee
Bug 1366502 - Update TextureD3D11 for video pipeline. v2. r=sotaro
...
Update for DXGITextureHostD3D11 and DXGIYCbCrTextureHostD3D11.
MozReview-Commit-ID: CQqzHK3jqz7
2017-06-07 23:44:04 +08:00
vincentliu
23c04fef95
Bug 1362366 - Set DataTextureSourceD3D11 to nullptr once devce change was detected. r=dvander
2017-05-31 17:48:12 +08:00
JerryShih
76b2651840
Bug 1364922 - Update AddWRImage() interface for multiple ImageKeys. v2. r=nical
...
Some textureHosts have multiple-channel data. Each channel should use different ImageKey.
MozReview-Commit-ID: 86EGQn65nMG
2017-05-19 00:25:41 +08:00
JerryShih
2c3fd143c6
Bug 1362049 - Add AddWRImage() to call the proper WR commands for all TextureHost types. v3. r=nical
...
Different TextureHost type could use different WR commands. So, make a abstract interface for these different commands.
MozReview-Commit-ID: 63dnOJC2P9r
2017-05-18 22:59:07 +08:00
David Anderson
b048f397ca
Fix DXGITextureHostD3D11 not being able to lock without a compositor. (bug 1350247, r=mattwoodrow)
2017-03-27 14:02:50 -07:00
David Anderson
ca86baecf0
Material changes for TextureHost TextureSourceProvider support. (bug 1343814 part 3.2, r=mattwoodrow)
2017-03-21 20:32:54 -07:00
David Anderson
019d548845
Change TextureSource::SetCompositor to use TextureSourceProvider. (bug 1343814 part 2, r=mattwoodrow)
2017-03-21 20:32:53 -07:00
Bas Schouten
ea81eec72e
Bug 1340398 - Part 1: Allow SyncObject usage for different devices. r=mattwoodrow
...
MozReview-Commit-ID: GkEpe4BY9Tl
2017-03-07 20:55:19 +00:00
Wes Kocher
af86144916
Backed out 3 changesets (bug 1340398) for static build bustage a=backout
...
Backed out changeset 7d0a9bb0a642 (bug 1340398)
Backed out changeset a8af64e23154 (bug 1340398)
Backed out changeset 588942cf8807 (bug 1340398)
MozReview-Commit-ID: BZveA35jLBL
--HG--
extra : rebase_source : 4e182afdb98d0422e82f184f5bfc332f27438f0a
2017-03-07 13:39:49 -08:00
Bas Schouten
f0cdc6f6ee
Bug 1340398 - Part 1: Allow SyncObject usage for different devices. r=mattwoodrow
...
MozReview-Commit-ID: GkEpe4BY9Tl
2017-03-07 20:55:19 +00:00
vincentliu
2e57639630
Bug 1322741 - Make sure ID3D11Device is up-to-date in SyncObjectD3D11. r=dvander
...
---
gfx/layers/client/ClientLayerManager.cpp | 3 ++-
gfx/layers/client/TextureClient.h | 1 +
gfx/layers/d3d11/TextureD3D11.cpp | 11 +++++++++++
gfx/layers/d3d11/TextureD3D11.h | 2 ++
4 files changed, 16 insertions(+), 1 deletion(-)
2017-01-18 10:12:42 +08:00
Ting-Yu Chou
3b76c1d27b
Bug 1322465 part 5 - Use explicit/MOZ_IMPLICIT for the unary constructors in gfx/. r=Ehsan
...
MozReview-Commit-ID: 5sdclirTQCV
--HG--
extra : rebase_source : 65b8fe4357ee19e858d3ee406495a1c2c3046c90
2016-12-16 15:54:32 +08:00
David Anderson
51df7c6290
Clean up and relax some assertions in SyncObjectD3D11.cpp. (bug 1319557, r=mattwoodrow)
...
--HG--
extra : rebase_source : d72c9a74fdfdfbcbf0303b550404ccd7a900c88d
2016-11-29 14:07:27 -08:00
Wes Kocher
55672c4925
Backed out changeset 2259891dc1e8 (bug 1319557) for build bustage CLOSED TREE a=backout
2016-11-28 12:20:51 -08:00
David Anderson
7cb46ac92e
Clean up and relax some assertions in SyncObjectD3D11.cpp. (bug 1319557, r=mattwoodrow)
...
--HG--
extra : rebase_source : 1e820d463260437a97b14141e0c2c1f38261f59c
2016-11-28 11:43:41 -08:00
Kevin Chen
368a498322
Bug 1317131 - Fix the incorrect AutoTextureLock lifecycle. r=dvander
2016-11-17 01:57:00 -05:00
Nicolas Silva
a23be49d54
Bug 1312988 - Prevent D3D11 DXGI TextureSource to be used as a DataTextureSource. r=sotaro
2016-11-14 10:09:31 +01:00
Kevin Chen
391e9fa548
Bug 1160157 - Use AutoTextureLock to manage the shared resource's mutex. r=dvander
...
--HG--
extra : rebase_source : 69fe51900e06c669908eca1bbb7b82cf9922cc38
2016-11-07 00:48:00 -05:00
Matt Woodrow
56b15734eb
Bug 1313281 - Part 4: Remove Fence parameter from TextureData::Lock. r=sotaro
2016-10-27 21:02:09 +13:00
Sotaro Ikeda
a514bb26e8
Bug 1310405 - Set DXGIYCbCrTexture YUVColorSpace to BT601 r=mattwoodrow
2016-10-24 18:17:39 -07:00
Matt Woodrow
55f506db9f
Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280
2016-09-27 16:22:20 +13:00
JerryShih
1ea51c8a63
Bug 1298058 - Use different lock/unlock function for WebVR composition path. r=milan
2016-09-05 01:17:00 -04:00
Kearwood (Kip) Gilbert
434f167559
Bug 1250244 - Part 7: Implement WebVR 1.0 API,r=bz
...
MozReview-Commit-ID: JTOmaWePlJq
2016-02-24 15:54:50 -08:00