Граф коммитов

602 Коммитов

Автор SHA1 Сообщение Дата
Mason Chang a7da7e14fb Bug 1387639 Sync Textures once all async OMTP paints are done. r=mattwoodrow 2017-08-10 21:41:31 -07:00
vincentliu ab39d5cc75 Bug 1386487 - Add checking mechanism if ID3D11Buffer created fail. r=rhunt, dvander 2017-08-09 23:23:18 +08:00
sotaro 5ae793d1a7 Bug 1388254 - Fix borrowed DrawTarget's transform of DXGITextureData r=nical 2017-08-09 10:38:18 +09: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 e60ceae85f Bug 1357299 - P10: Update MLGDeviceD3D11 and CompositorD3D11 to use SyncObjectHost. v2. r=mattwoodrow,dvander
MozReview-Commit-ID: 1a0Ho7smkAx
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
David Anderson b05dbf58c2 Add helpers for debugging Advanced Layers with RenderDoc. (bug 1381666 part 1, r=mattwoodrow) 2017-07-31 12:28:26 -07:00
Milan Sreckovic d573665103 Bug 1163440: Behind a preference, off by default, use a mutex around present calls. This makes it easier to test with users that can reproduce some problems. r=bas
MozReview-Commit-ID: 9PTO3ntOFuR

--HG--
extra : rebase_source : 64bf80a9ef789433a7d788fca086bb77c95b1673
2017-07-27 16:02:01 -04:00
vincentliu 6509ea12d3 Bug 1374254 - Re-adding the aggressive TDR checks in D3D11 EndFrame(). r=dvander 2017-07-26 11:56:44 +08:00
David Anderson 33346c4c1b Bug 1382829 - Don't mix and match Y/Cb/Cr slots when binding video. r=bas
--HG--
extra : rebase_source : d1345e6ab4025ab266800ae47a2613a5055b8d81
2017-07-25 14:51:27 -04:00
Tom Ritter 3efa760176 Bug 1370007 Generate Shaders on a MinGW Cross Compile on Linux r=dvander,ted
Bug 1365859 introduced a dependency on the Visual Studio binary 'fxc'
to generate Shader bytecode. This was unavailable when compiling for
Windows on Linux as part of a MinGW build.

This commit adds a configure check for fxc, and also searches for
fxc2, which was written (https://github.com/tomrittervg/fxc2) to be
a tiny application that wraps D3DCompileFromFile and can produce
similar (but not exactly the same) output as fxc.

fxc2 is compiled using MinGW for Windows, and runs under wine, so
we need to check for wine also.

Finally, fxc outputs some include information fxc2 doesn't, so
we will just change that assert to not take effect.

MozReview-Commit-ID: 8LVxuODi6cV

--HG--
extra : rebase_source : 9116d266663284d6594e34aa53bd37eae01ba67f
2017-07-24 14:32:08 -05:00
Kevin Chen bf448ceacc Bug 1351349 - Blacklist Intel HD Graphics 510/520/530 for Windows 7 without platform update; r=dvander
MozReview-Commit-ID: F94OfZGBRQj

--HG--
extra : rebase_source : a6c471aaa6d280d6448975d5db3f285684df266d
2017-07-20 18:09:47 +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
David Anderson 28b0c7d639 Fix mask coordinates when rendered into intermediate surfaces with Advanced Layers. (bug 1380744, r=mattwoodrow) 2017-07-14 11:47:54 -07:00
David Anderson ddfbc3d0ae Add a helper for automating ClearView and clear-shader operations. (bug 1378095 part 1, r=mattwoodrow) 2017-07-13 01:11:58 -07:00
David Anderson 399881cdfc Report when constant buffer offsetting doesn't work. (bug 1379413 part 2, r=bas)
--HG--
extra : rebase_source : 881471eca6ae17e4b9810bc34b609d58c6eb0b3d
2017-07-11 00:13:26 -07:00
David Anderson ad257fcdb1 Use a runtime test for constant buffer offsetting. (bug 1379413 part 1, r=bas)
--HG--
extra : rebase_source : 9ceae88aac296f8429b9fc83d48aa0b6de325056
2017-07-11 00:13:21 -07:00
David Anderson 88d86847fe Don't use constant buffers for ancillary vertex data. (bug 1379314 part 3, r=mattwoodrow) 2017-07-11 00:05:30 -07:00
David Anderson 16a351a5e5 Use unit triangles for full polgyon shaders. (bug 1379314 part 1, r=mattwoodrow)
Previously, we submitted polygons as a list of triangles, duplicating
some ancillary data with each vertex. As we move away from constant
buffers for some of this ancillary data, it will bloat the size of each
vertex. To avoid this, we will now instance over a unit triangle
instead. Each instance contains three triangle coordinates and ancillary
data can be shared between them. The target vertex is computed similarly
to how we handle rects in the unit quad shaders.
2017-07-11 00:04:14 -07:00
Carsten "Tomcat" Book fe3f254925 Backed out changeset 018e683b25cd (bug 1370007) for breaking tier 2 nightly builds on windows 2017-07-07 15:23:54 +02:00
Carsten "Tomcat" Book b5c809a8bc merge mozilla-inbound to mozilla-central a=merge 2017-07-07 10:35:44 +02:00
Wes Kocher 19d135c982 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 4R4GFHPiij
2017-07-06 16:19:38 -07:00
sotaro 5d1a3c3c3f Bug 1378297 - Add DXGITextureHostD3D11::GetAsSurface() support for webrender wrench r=mattwoodrow 2017-07-06 16:33:19 +09:00
Tom Ritter b1341f974a Bug 1370007 Generate Shaders on a MinGW Cross Compile on Linux r=dvander,ted
Bug 1365859 introduced a dependency on the Visual Studio binary 'fxc'
to generate Shader bytecode. This was unavailable when compiling for
Windows on Linux as part of a MinGW build.

This commit adds a configure check for fxc, and also searches for
fxc2, which was written (https://github.com/tomrittervg/fxc2) to be
a tiny application that wraps D3DCompileFromFile and can produce
similar (but not exactly the same) output as fxc.

fxc2 is compiled using MinGW for Windows, and runs under wine, so
we need to check for wine also.

Finally, fxc outputs some include information fxc2 doesn't, so
we will just change that assert to not take effect.

MozReview-Commit-ID: 8LVxuODi6cV

--HG--
extra : rebase_source : 39acca112f4cd9e6c39f7e47e7c55b13e7606824
2017-07-06 15:35:49 -05:00
vincentliu 7d576c4c02 Bug 1373937 - Add gfxCriticalNote() to get error information. r=dvander 2017-06-30 09:42:48 -07:00
Carsten "Tomcat" Book 4e00eff077 merge mozilla-inbound to mozilla-central a=merge 2017-06-27 10:56:41 +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
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 ea272c6f03 Add memory reporting. (bug 1365879 part 26, r=mattwoodrow) 2017-06-23 14:23:14 -07:00
David Anderson 7df9b05034 Add MLGPU feature bits and compositor initialization. (bug 1365879 part 21, r=mattwoodrow) 2017-06-23 14:23:12 -07: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
Carsten "Tomcat" Book 1f871b61e4 Backed out changeset 9d0048e04446 (bug 1365879) 2017-06-23 12:15:32 +02:00
Carsten "Tomcat" Book 86edec6643 Backed out changeset 20203c94ef23 (bug 1365879) 2017-06-23 12:15:21 +02:00
David Anderson 5e5166d309 Add memory reporting. (bug 1365879 part 26, r=mattwoodrow)
--HG--
extra : rebase_source : a19fc78fb107d6899244632d18cdb654a4bae8e9
2017-06-22 21:12:21 -07:00
David Anderson 0505938414 Add MLGPU feature bits and compositor initialization. (bug 1365879 part 21, r=mattwoodrow)
--HG--
extra : rebase_source : 3d8d1a9619d997a2de9eea4e734a0457cd326e91
2017-06-22 21:12:19 -07: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 bae9947dc4 Add IsHidden to CompositorWidget. (bug 1365879 part 10, r=rhunt) 2017-06-20 01:17:19 -07: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
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
David Anderson 3d539c41cb Fail gently when a D3D11 TextureHost uses a stale provider. (bug 1378282, r=vliu) 2017-07-06 18:35:37 -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
Wes Kocher 8b07ba2a07 Merge m-c to inbound a=merge
a=release IGNORE BAD COMMIT MESSAGES
2017-05-19 15:18:51 -07:00
David Anderson c248fd8d3b Generate shader blobs as part of the build process. (bug 1365859 part 2, r=mshal)
--HG--
extra : rebase_source : 2f1d7762d1c12cd223fa0aab1b964c18ac92e090
2017-05-19 12:32:14 -07:00
David Anderson 8894231cd7 Rewrite genshaders.sh as a Python script that uses a manifest. (bug 1365859 part 1, r=bas)
--HG--
extra : rebase_source : a5b60ab1c5531c7e911fc6c6e522d4e7b8cc2497
2017-05-19 12:32:13 -07: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
vincentliu 3d037c531f Bug 1363675 - Get D3D11Device from TextureSourceProvider if it exists. r=dvander 2017-05-12 14:09:53 +08:00
David Anderson b76228bd31 Cut down on compositor spam after a device reset. (bug 1363126 part 5, r=rhunt) 2017-05-11 22:44:28 -07:00
Tom Ritter a220f46532 Bug 1363465 Adjust VersionsHelpers.h to versionhelpers.h for MinGW r=bas
MozReview-Commit-ID: 7h04gOYwAJu

--HG--
extra : rebase_source : eb4f7c685c44a7738a7224b332f356ac633a7e3a
2017-05-10 12:53:46 -05:00
David Anderson 5632494742 Remove unnecessary MOZ_COUNT_CTOR/DTORs on reference counted compositor objects. (bug 1360963, r=mattwoodrow)
--HG--
extra : rebase_source : 82eab30ab0896cfbdcc7cbd64f9598d29a5e69b4
2017-05-10 10:58:20 -07:00
Bas Schouten 76892628f3 Bug 1348320: Use UpdateSubResource on crashy intel device/OS version combinations. r=jrmuizel
MozReview-Commit-ID: EdDn4qy1ajP

--HG--
extra : rebase_source : fadec88a9586bc40e44d2f91aae5c9c5f8f59a5c
2017-05-01 01:11:24 +00:00
David Anderson 413ea1b941 Pre-initialize DeviceAttachmentsD3D11 on the compositor thread, immediately after the GPU process initializes. (bug 1360766 part 3, r=bas) 2017-04-30 11:38:59 -07:00
David Anderson dab415165b Store DeviceAttachmentsD3D11 on DeviceManagerDx instead of ID3D11Device. (bug 1360766 part 2, r=bas) 2017-04-30 11:38:59 -07:00
David Anderson f4c403f3f3 Separate DeviceAttachmentsD3D11 into its own header and source file. (bug 1360766 part 1, r=bas) 2017-04-30 11:38:58 -07:00
Kevin Chen 9fcca83f99 Bug 1356537 - Revert device reset check in EndFrame; r=dvander
MozReview-Commit-ID: Ke1TUrdinns

--HG--
extra : rebase_source : a1c2068000375dd15ccfb70eef486e5c362cf6ad
2017-04-14 18:26:15 +08:00
David Anderson 2797bf465d Don't gfxDevCrash when video fails to acquire a SyncObject. (bug 1345735 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 50ea965347b36a475bd8f03adcde68e4c333e1c3
2017-04-19 07:24:44 -07:00
Sebastian Hengst 8bd051237a merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Miko Mynttinen 9f15e545a5 Bug 1345849 - Part 1: Use DrawTriangles() instead of DrawTriangle() in OpenGL compositor backend r=jrmuizel
MozReview-Commit-ID: H11vFsMlIaA

--HG--
extra : rebase_source : 56da41251925d335f8ba80f1a302e9a9a92ac972
2017-03-27 13:59:15 -04:00
David Anderson 3ffc9da44f Allow TextRenderer to render multiple fonts. (bug 1352151 part 8, r=bas)
--HG--
extra : rebase_source : a3e588eaae57326654b945c2711276b6d71c442e
2017-04-10 19:44:47 -07:00
David Anderson 70f688f03e Add GPU draw time to the compositor diagnostic overlay. (bug 1352151 part 7, r=bas)
--HG--
extra : rebase_source : fce64dde2a8632a374e40a5687852b147ebd8747
2017-04-10 19:44:46 -07:00
David Anderson ce7cc32129 Improve pixel fill statistics in the D3D11 compositor overlay. (bug 1352151 part 6, r=bas)
This introduces two new statistics to the overlay. The first is the ratio of
pixel shader invocations (as determined by the GPU) to the number of pixels we
determined need to be redrawn. The ideal ratio is 1.0, indicating that we
filled every pixel exactly once. Anything over 1.0 indicates overdraw.

We also add the ratio of shaded pixels to window size. This indicates how well
we computed the invalid region, and whether or not we overfilled that
region.

Note that the OpenGL and Basic compositors do not yet query the GPU for
this statistic, so they will estimate shader invocations by the area of
DrawQuad calls.

Finally, we remove the feature where layout can request the most
recent overdraw statistic. It was not implemented on all compositors, and the
only test that used it was disabled.

--HG--
extra : rebase_source : 448a162998921974575a1a988bcfde52c959d3ed
2017-04-10 19:44:46 -07:00
David Anderson 2f41377215 Refactor CompositorD3D11::EndFrame. (bug 1352151 part 5, r=bas)
This factors out ID3D11Query handling, and makes EndFrame() shorter by
moving out presentation code.

--HG--
extra : rebase_source : c23547a16f9496caa2b83fca8e41d2b4e14bea3a
2017-04-10 19:44:46 -07:00
Kevin Chen d83dc709cb Bug 1356119 - Skip Flush to old context after device reset. r=dvander 2017-04-14 00:19:00 -04:00
Bas Schouten 1949ab75e0 Bug 1352547: Do not use IsWindows10OrGreater() on older SDKs. r=mattwoodrow
MozReview-Commit-ID: C0uOAKy0bOr
2017-04-02 18:45:08 +00:00
Bas Schouten d3a1d82710 Bug 1352442: Only clear transparent regions of the back buffer on BeginFrame. r=mattwoodrow
MozReview-Commit-ID: LDti2gljD7q

--HG--
extra : rebase_source : ff4e5dceac83c1598a41c2e9a642b95478576834
2017-03-31 15:36:03 +00:00
Bas Schouten 7f457d5cb3 Bug 1352163: Use buffer flipping for presenting to the browser window. r=mattwoodrow
MozReview-Commit-ID: JmJB6b9dP4S

--HG--
extra : rebase_source : f2d5e7c1f037bb4af1a95932b22c2842f0c244f7
2017-03-30 18:47:13 +00:00
Kearwood Gilbert 220a8666bf Bug 1350794 - Avoid dereferencing aProvider when null in DataTextureSourceD3D11 constructor
- Require bug 1350247 patch to land first to fix WebVR crash

MozReview-Commit-ID: fEsjE22mPc
2017-03-27 21:33:53 -04: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 2c4840cca6 Fix DXGIYCbCrTextureHost not setting a TextureSourceProvider. (bug 1350251, r=mattwoodrow)
--HG--
extra : rebase_source : e6426ddb660ab2df6f263ff01a959deab86d60ce
2017-03-27 13:59:33 -07:00
David Anderson d87c3b4cc9 Fix mask layer transforms in the D3D11 compositor. (bug 1349056, r=mstange) 2017-03-21 20:36:03 -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
Kevin Chen 9347006c20 Bug 1160157 - Make AcquireSync RAII. r=bas
--HG--
extra : rebase_source : ac0843be287410b4fed48d7ab06cbba599735d0a
2017-03-17 00:18:00 -04:00
Kartikaya Gupta 8f54e2114e Merge m-c to graphics
MozReview-Commit-ID: QN682uyISF
2017-03-09 10:42:57 -05:00
Kartikaya Gupta 90db7c5460 Merge m-c to graphics
MozReview-Commit-ID: DbHqbxaKedC
2017-03-07 10:30:42 -05:00
sotaro 1d710a54ef Bug 1343764 - Add ExternalBuffer handling r=nical 2017-03-07 19:37:28 +09:00
David Anderson 8082fe14ae Remove references to the Direct3D9 compositor. (bug 1318558 part 1, r=mattwoodrow) 2017-03-08 00:17:36 -08:00
Bas Schouten 3a86acb691 Bug 1340398 - Part 2: Support NV12 texture hosts in CompositorD3D11. r=mattwoodrow
MozReview-Commit-ID: IdwY1Cs4P9c
2017-03-07 20:55:20 +00: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 ddb41fcc63 Bug 1340398 - Part 2: Support NV12 texture hosts in CompositorD3D11. r=mattwoodrow
MozReview-Commit-ID: IdwY1Cs4P9c
2017-03-07 20:55:20 +00: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
Daniel Holbert 95a650ec1b Bug 1343975: Get rid of all dos/windows linebreaks in Mozilla C++ code. r=ehsan
This is an automated patch, generated by the following command:
find . -name "*.h" -exec fromdos {} \; && \
  find . -name "*.cpp" -exec fromdos {} \; && \
  hg revert -C gfx/angle \
               gfx/sfntly \
               media/webrtc \
               media/libstagefright \
               media/openmax_il \
               other-licenses

MozReview-Commit-ID: Gunlz3vE3h6
2017-03-02 13:08:29 -08:00
Miko Mynttinen 5202c134b2 Bug 1323791 - Part 5: Add generalized DrawGeometry() method and use it with DrawQuad() and DrawTriangles() r=bas
MozReview-Commit-ID: SKuxDDhdEE

--HG--
extra : rebase_source : 4d323d81feaa61deddfa44fe40a5fa1aeed2a2a2
2017-02-20 12:19:28 +01:00
Miko Mynttinen a52904151c Bug 1323791 - Part 4: Add recompiled D3D11 shaders r=bas
MozReview-Commit-ID: 3tnY1wwDmqM

--HG--
extra : rebase_source : 26d2bb660c275ef98c799a11d23afb77b3c39476
2017-02-09 21:41:27 +01:00
Miko Mynttinen a64e73a603 Bug 1323791 - Part 3: Add dynamic vertex shaders r=bas
MozReview-Commit-ID: H92wpa7QKMY

--HG--
extra : rebase_source : 722e74ed0c1778db958f76f193231a23a727e915
2017-02-09 21:41:16 +01:00
Kevin Chen 1cc14324d1 Bug 1338639 - Handle the OpenSharedResource failure in SyncObjectD3D11::Init when device rest happened. r=dvander 2017-02-14 01:59:00 +01:00
Jeff Gilbert dd931165c6 Bug 1337589 - Improve Get*YuvColorMatrix. - r=mattwoodrow
MozReview-Commit-ID: 1FMnRNB7ksI
2017-02-07 19:27:32 -08: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