Commit Graph

315 Commits

Author SHA1 Message Date
Matt Woodrow
4ca85adc7e Bug 1153123 - Don't upload in the ImageBridge thread if A8 texture sharing is broken. r=Bas 2015-05-13 23:42:32 +12:00
David Major
b8d20648b2 Bug 1154703: Fix typo in nvdxgiwrap filename. r=jrmuizel 2015-05-12 19:04:46 -04:00
Bas Schouten
e0869bb7e2 Bug 1162587 - Part 1: Ensure consistent reporting of device reset until reinitialization. r=jrmuizel 2015-05-08 23:12:32 +02:00
Daniel Holbert
3899eae2cc Bug 1161731: Remove newline characters from the ends of NS_WARNING messages in /gfx and /layout. r=mstange 2015-05-05 13:57:47 -07:00
Milan Sreckovic
cf369566e9 Bug 1160157: Part 1. Uninitialized statics aren't really uninitialized, but it doesn't read well. r=jmuizelaar 2015-05-01 13:26:38 -04:00
Milan Sreckovic
1266c84e30 Bug 1158284 - Utility in gfxPlatform to check for safe mode, lazier computation if we should accelerate and random cleanup of prefs usage. r=botond 2015-04-24 12:33:35 -07:00
Jeff Muizelaar
11a6c75829 Bug 1154703. Avoid using WARP if nvdxgiwrapper.dll is around.
It seems to cause trouble and isn't really trustworthy.

--HG--
extra : rebase_source : 2e749651c39f45124b45372f3dcf880ab28e288a
2015-04-24 17:16:46 -04:00
Kartikaya Gupta
cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
David Anderson
da020904ab Show APZ wheel support in about:support on Mac OS X. (bug 1155881, r=mstange)
--HG--
extra : rebase_source : 5fdf05418fd70e4a13f17afcf8ca8cc43c5d61d9
2015-04-19 16:12:14 -04:00
Bas Schouten
2e7aa65c65 Bug 1151361: Wrap WARP D3D11 creation in a try catch block like done with regular D3D11. r=jrmuizel 2015-04-08 17:07:57 +02:00
Chris Pearce ext:(%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
3916a66ac9 Bug 875247 - Add support for DXVA2 via D3D11. r=cpearce,gps,padenot 2015-03-31 18:21:15 +13:00
Jeff Muizelaar
41efb86096 Bug 1149761. Don't MOZ_CRASH if WARP fails. r=bas
returning is better than trying to continue.
2015-04-02 14:26:45 -04:00
Bas Schouten
87292f976a Bug 1149864: Do not attempt to create any D3D11 device when safemode is turned on. r=jrmuizel 2015-04-01 19:45:58 +02:00
Jeff Muizelaar
7b3713ac22 Bug 1150124. Move WARP reporter closer to actually testing WARP.
--HG--
extra : rebase_source : 77e06fb577ef85ebfb48f6be0ad790ae51447de3
2015-04-01 16:44:13 -04:00
Jeff Muizelaar
511bc2a95f Bug 1149761. Don't MOZ_CRASH if WARP fails. r=bas
WARP fails sometimes. Who knows why. MOZ_CRASHing
during start up isn't very good to do on startup.

--HG--
extra : rebase_source : 2d1fbc79eee692d207845c81ccfae33704f3b144
2015-03-31 23:23:56 -04:00
Mason Chang
d01dc35e80 Bug 1147953. Fix vsync adjustment time to allow negative timestamps. r=jrmuizel 2015-03-30 08:16:11 -07:00
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