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

299 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Silva 52be9f47b5 Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas 2015-03-29 16:59:15 +02:00
Mason Chang 783db35924 Bug 1147297. Fix assert vsync adjustment time on windows to be >=. r=jrmuizel 2015-03-26 15:41:49 -07:00
Bas Schouten 4631908ab5 Bug 1147439: Report telemetry correctly for individual devices resetting. r=vladan 2015-03-26 05:01:31 +01:00
Matt Woodrow a5a35423f7 Bug 1146315 - Part 1: Create D3D media device on the ImageBridge thread. r=nical
--HG--
extra : rebase_source : 29a7c9e7fb5ab2726cb9a3868b85a5c0292a38b4
2015-03-26 13:04:42 +13:00
David Anderson d96e85937b Add APZ info to about:support. (bug 1146727, r=jrmuizel)
--HG--
extra : rebase_source : 8758865fbde29af687fbe00fe64cc03fc8cb2cde
2015-03-24 15:04:44 -07:00
Phil Ringnalda fc8b8ab2ac Merge m-c to m-i 2015-03-21 12:50:09 -07:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Dave Townsend 699c63e7d4 Bug 1144900: Fix windows gfx out of memory assertion. r=Bas
--HG--
extra : rebase_source : 1158df9324b3a1f30f7a446d7713ca17ad26a5fb
2015-03-19 10:42:27 -07:00
Matt Woodrow 67c8f780b6 Bug 1138967 - Part 3: Add D3D11 YCbCr texture clients and upload on the client side. r=nical
--HG--
extra : rebase_source : 90d0afdc61332b36032c8ccbf28294f77dd48a8b
2015-03-19 10:17:13 +13:00
Nicolas Silva 82ed83119c Bug 1143653 - Crash in CompositorD3D9 rather than TextureD3D9 if device reset fails, after a few attemps. r=jrmuizel 2015-03-17 15:05:41 +01:00
Ryan VanderMeulen 2391e7301f Backed out changeset bb4b51d4af93 (bug 1143653) for WinXP assertions. 2015-03-17 12:40:47 -04:00
Nicolas Silva 10d43b2e93 Bug 1143653 - Crash in CompositorD3D9 rather than TextureD3D9 if device reset fails, after a few attemps. r=jrmuizel 2015-03-17 15:05:41 +01:00
Mason Chang 334c6d4056 Bug 1141361 - Reuse the same thread when we start/stop vsync event for the windows vsync thread. r=jrmuizel 2015-03-11 18:35:50 -07:00
Jacek Caban f54206dc5a Bug 1133689 - Make D3DVsyncDisplay destructor private. r=jmuizelaar 2015-02-23 12:14:49 +01:00
Bas Schouten 45eb4195cb Bug 1135408: Report device resets and their reasons through telemetry. r=vladan 2015-02-22 22:53:32 +00:00
zhoubcfan f567706ef1 Bug 1129335 - Add private destructor to D3D9 texture usage reporters. r=bgirard 2015-02-16 12:37:43 +01:00
Mason Chang 1ac8beda09 Bug 1127151. Part 3: Create a vsync thread loop with dwmflush. r=jrmuizel 2015-02-13 17:17:26 +08:00
Mason Chang fd8b6dead7 Bug 1127151. Part 2: Create a vsync source on windows. r=kats 2015-02-13 17:17:24 +08:00
Matt Woodrow 523dd220d2 Bug 1128765 - Add more more reporters to break down D3D9 texture usage. r=jrmuizel 2015-02-05 16:20:14 +13:00
Jacek Caban f8b3431622 Bug 1127772 - Add private destructor to D3D11TextureReporter. r=benwa 2015-01-30 02:55:00 +01:00
Jeff Muizelaar c05b6e84f8 Bug 1128765 - Add memory reporter for D3D9 shared texture usage. r=mattwoodrow
--HG--
extra : rebase_source : 41a1bf52382ea1a8aff3360b35158c6836f2d129
2015-02-03 21:34:33 +13:00
Jeff Muizelaar f637b9c41a Bug 1124847. Track D3D11 shared texture usage in about:memory. r=bas
This will hopefully help us track down large amounts of write-combined
mappings that we see.

try: -b do -p win32,win64 -u all -t none

--HG--
extra : rebase_source : 612223046a34a0e7ba179fca4fef1d4c79e18ee8
2015-01-27 20:09:34 -05:00
Ryan VanderMeulen 3a4e166d49 Backed out changeset 1c324316ea7a (bug 1124847) for Win7 crashes.
CLOSED TREE
2015-01-27 21:59:52 -05:00
Jeff Muizelaar 3d82378a28 Bug 1124847. Track D3D11 shared texture usage in about:memory. r=bas
This will hopefully help us track down large amounts of write-combined
mappings that we see.

--HG--
extra : rebase_source : fbb5356fd81de3fa484639b955c3c4f806ce4f45
2015-01-27 20:09:34 -05:00
Bas Schouten 11de23359f Bug 1089454: Prevent usage of incompatible graphics objects after device reset. r=jrmuizel 2015-01-28 00:54:19 +00:00
Matt Woodrow 0df1801282 Bug 1112331 - Disable DXVA when using WARP. r=cpearce,Bas 2015-01-21 16:36:01 +13:00
John Daggett 6eb10cad82 Bug 1121793 - trim out unused FindFontFamily/FindFontEntry functions. r=m_kato 2015-01-15 13:22:32 +09:00
Ryan VanderMeulen 711337868b Backed out changeset 4c22e58f4398 (bug 1097321) for causing the Windows crash rate to spike.
--HG--
extra : rebase_source : 281f93bd5fa412ba0068b9d67cfef4ad1eafe985
2015-01-13 15:41:18 -05:00
Bas Schouten a5ebe274e9 Bug 1107718 - Addendum: Properly address review comments. r=nical 2015-01-08 00:12:29 +00:00
Bas Schouten 9ab9d86962 Bug 1107718: Properly deal with a D3D11 device reset. r=nical 2015-01-08 00:10:49 +00:00
Ryan VanderMeulen 20d7991ef8 Bug 1114577 - GFX cleanups now that Windows SDK 8.1 is the minimum supported version. r=jmuizelaar, r=glandium 2015-01-07 11:32:07 -05:00
John Daggett 49d793eefc Bug 1118601 - trim out unused pref fonts list from platform objects. r=m_kato 2015-01-07 14:29:21 +09:00
Jeff Muizelaar 1db153eb6f Bug 1113291. Reenable DisplayLink blocking on Windows. r=bas
Bug 1107299 broke this blocking because it assumed that DoesD3D11DeviceWork()
only described whether texture sharing works. However we were also checking for
broken DisplayLink drivers in that function. This splits out that part and uses
it appropriately.

--HG--
extra : rebase_source : 895d2da6297a48d0a2cbef2d149c27471c788484
2014-12-22 00:41:57 -05:00
Jeff Muizelaar 4c7c42ba33 Bug 1112281. Add notes to the crash reporter when the D3D11Device does not work.
--HG--
extra : rebase_source : 9932b05493a8a5c54f671044d40c9a1092d5c55b
2014-12-16 15:50:45 -05:00
Bas Schouten 3eaeba266b Bug 1102499: Use WARP by default when D3D11 is available. r=BenWa
This will cause us to use WARP for composition on systems with Direct3D 11 when hardware acceleration is blacklisted or we're unable to find a powerful enough graphics card. It also allows us to force WARP on, in that situation WARP will also be used for Direct2D content rendering if Direct2D is enabled. Essentially this will ensure all systems running Windows 7 or higher always use D3D11 as their composition backend.
2014-12-06 00:02:19 +00:00
Jeff Muizelaar 94f253f798 Bug 1097321. Reduce the amount of dual AMD/intel blacklisting. r=Bas
Instead detect the broken shared surfaces and only black list then.

--HG--
extra : rebase_source : 8ea9b50bd1329132574de88860c694cdedccc069
2014-12-04 23:03:31 -08:00
Jacek Caban d07ffd53a9 Bug 1102804 - Fixed -Wparentheses warnings found in mingw build (gfx and widget part). r=jmathies 2014-11-27 10:58:41 +01:00
Jacek Caban b565b9b163 Bug 1026893 - mingw fixup. 2014-11-27 10:58:26 +01:00
neil@parkwaycc.co.uk bece8444a3 Bug 1103868 - "'SupportsD2D1' : is not a member of 'mozilla::gfx::Factory'". r=bas 2014-11-26 01:33:00 +01:00
Bas Schouten 1777de4ad9 Bug 1026893 - Followup: Address review comment. r=me 2014-11-24 21:11:24 +00:00
Bas Schouten 45cf1ecfed Bug 1026893 - Catch exceptions during D3D11 initialization. r=jmuizelaar 2014-11-24 15:40:29 -05:00
Bas Schouten 95cd1d27f9 Bug 1103176: Block Direct2D when D3D11 layers is blacklisted. r=BenWa
When the D3D11 compositor is blocked through blacklisting, we have no way of using Direct2D in a fast manner and do not want it to be used in any situation.
2014-11-24 19:44:52 +00:00
Jonathan Watt fe181325e2 Bug 1100448 - Protect against null cairo_surface_t when getting the underlying surface from DrawTargetCairo. r=Bas 2014-11-17 21:41:41 +00:00
Jeff Muizelaar 5b9dfb3684 Bug 1092260. Use PREVENT_INTERNAL_THREADING_OPTIMIZATIONS with D3D11. r=bas
Using this seems to avoid the AMD frame delay bug.

--HG--
extra : rebase_source : 1b867ebfef30d1c1a426c7510591770f362d2b28
2014-11-18 17:29:57 -05:00
Jeff Muizelaar ad91c2690e Bug 1088414. Backout "Use a single synchronized texture for d3d11"
https://hg.mozilla.org/mozilla-central/rev/e2efedec2d60
2014-11-17 14:20:05 -05:00
Matt Woodrow 3a89ba9be0 Bug 1088414. Use a single synchronized texture for d3d11. r=bas,f=jrmuizel
Calling AcquireSync on textures created with
D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX appears to be really slow, this really
bites us with the number of textures involved when tiling.

I've also tested using ID3D11Query to check when work is completed, this also
appears to be pretty slow.

This instead just uses a single texture with a keyedmutex, and makes sure we
draw to it last and lock it first. It's pretty hacky, but seems to work really
well so far.

--HG--
extra : rebase_source : bf5f56751f993e507fcd1e5c386fb1fc9a3f73af
2014-10-22 15:37:00 +13:00
Bas Schouten 16558048b6 Bug 1097803: Report succesful Direct2D 1.1 usage. r=jrmuizel 2014-11-12 18:44:31 +00:00
Benoit Jacob 5a82bddd3a Bug 1095575 - DoesD3D11DeviceWork() should be overridable by force-enable prefs - r=bas 2014-11-12 11:48:01 -05:00
Michael Wu cb9a6592db Bug 1082827: Allow D2D 1.1 to be selected for the canvas backend. r=bas 2014-11-12 15:05:14 +00:00
Jonathan Watt 6b10bf2102 Bug 1093806 - Convert DCFromContext to DCFromDrawTarget. r=Bas 2014-11-10 21:41:40 +00:00