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

359 Коммитов

Автор SHA1 Сообщение Дата
Bas Schouten 1a51d15b0f Bug 1176363 - Part 1: Stop using DrawTargets off the main thread. r=mattwoodrow 2015-07-27 15:47:29 +00:00
Ryan VanderMeulen e107ea6a37 Backed out changeset adbd8a7608e4 (bug 1176363) for mochitest-gl permacrashes. 2015-07-27 13:54:56 -04:00
Bas Schouten 0bdd67bdd0 Bug 1176363 - Part 1: Stop using DrawTargets off the main thread. r=mattwoodrow 2015-07-27 15:47:29 +00:00
Kyle 5c7d22e2ef Bug 1167651 - Added an initialization to mDoesD3D11TextureSharingWork for Windows 8 and later. r=bas 2015-07-13 15:23:26 -04:00
Jeff Muizelaar fe212d32d1 Bug 1186002. Avoid testing for recreate on broken drivers. r=dvander
--HG--
extra : rebase_source : 1edc58165abf2e604e539b3a4574bfc1ad2512db
2015-07-22 10:32:31 -04:00
David Anderson ddaede9c8e Add compositor, layers, and rendering info to nsIGfxInfo. (bug 1179051 part 5, r=mattwoodrow) 2015-07-19 14:50:35 -07:00
Ryan VanderMeulen 734c9eb563 Backed out changesets 90446493d402 and c4f4027f9f3a (bug 1179051) for crashes. 2015-07-19 22:39:20 -04:00
David Anderson 28d2dc3e58 Add compositor, layers, and rendering info to nsIGfxInfo. (bug 1179051 part 5, r=mattwoodrow) 2015-07-19 14:50:35 -07:00
David Anderson ba1e3c52d9 Move more compositor backend checks into gfxPlatform. (bug 1179051 part 4, r=mattwoodrow)
--HG--
extra : rebase_source : 887ed513fc50f2c1ee560ffa4a795b5c847154fe
2015-07-16 15:18:38 -07:00
David Anderson 65475c97d0 Move compositor backend decisions into gfxPlatform. (bug 1179051 part 3, r=mattwoodrow)
--HG--
extra : rebase_source : 43cdb0e1b5d464f8d6a0cc7a0b2e36d1b34e8595
2015-07-16 15:18:05 -07:00
David Anderson 4f74031f0f Fix regression where WARP could be used as a fallback on Windows 7. (bug 1179051 part 2.1, r=jrmuizel)
--HG--
extra : rebase_source : 0e7932489d2a91d4535047f5d9c59cee323a52cf
2015-07-16 14:45:06 -07:00
Ryan VanderMeulen c5f205c7ca Merge m-c to inbound. a=merge
CLOSED TREE
2015-07-16 12:45:32 -04:00
Ryan VanderMeulen 9466d7029c Backed out changeset 01478a143658 (bug 1159751) for causing bug 1184539.
CLOSED TREE

--HG--
extra : amend_source : 4ec25bfff3e810c29b68978142005b78fa8fb867
2015-07-16 11:11:39 -04:00
David Anderson 7885e309cd Break InitD3D11Devices up into smaller functions. (bug 1179051 part 2, r=bas) 2015-07-15 23:59:39 -07:00
David Anderson cc8850cffc Split gfxWindowsPlatform::UpdateRenderMode() into multiple functions. (bug 1179051 part 1, r=bas) 2015-07-15 23:59:04 -07:00
Jeff Muizelaar 65c6ab8e0c Bug 1184130. Report mismatches of adapter description and vendor id that we get from the registry. r=bas
This should help us detect optimus configurations better.

--HG--
extra : rebase_source : d01289129b0ba4ad26b28275f70f85d62991c08e
2015-07-14 15:00:24 -04:00
Jeff Muizelaar 7bc6837af6 Bug 1178426. Add GfxInfo to ServicesList.h. r=nfroyd
--HG--
extra : rebase_source : b18fb78fa6b7d86fbb9496861938bfde21b3c6e6
2015-07-08 16:51:09 -04:00
Bas Schouten 25767b735d Bug 1159751: Ensure WARP can never be used for Windows 7. r=milan 2015-07-14 17:02:21 +00:00
Lee Salzman dfce3fe4ef Bug 1170390 - Make gfxPlatform::CreateOffscreenSurface use explicit format rather than guess. r=jrmuizel 2015-07-06 21:21:47 -04:00
Jeff Muizelaar f3a26c774c Bug 1109718. Log when RenderTargetView's need to be recreated. r=mwoodrow
This should help us figure out how wide spread this problem is.

--HG--
extra : rebase_source : 635837b6ce2f3e35722c607506a039b49abb7a25
2015-07-10 16:56:09 -04:00
Lee Salzman 5291e3cfc7 Bug 1180246 - Part 3 - remove usage of cairo_d2d_device. r=bas
--HG--
extra : rebase_source : a9521859e5815a4c3ff200639a1c01fe20dbd0d3
2015-07-02 17:44:53 -04:00
Lee Salzman 97d3a0fc71 Bug 1180246 - Part 1 - remove dependencies on gfxD2DSurface. r=bas
--HG--
extra : rebase_source : 199520a80f8d904f2034fa39d9640d271078a6ac
2015-07-02 08:02:51 -04:00
Juan Gomez 258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Matt Woodrow 3bfec2a908 Bug 1175104 - Enable multithread support on our d3d11 content device. r=Bas
--HG--
extra : rebase_source : 19638a0236113af6a1611d96640a06dfe4b9023f
2015-04-24 15:30:46 +12:00
Nathan Froyd 974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Matt Woodrow 072df12846 Bug 1176506 - Don't test texture sharing on WARP devices since it never works and can be detected as a driver reset. r=Bas 2015-06-26 14:06:49 -07:00
Ryan VanderMeulen 5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez 702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Matt Woodrow 330af331a0 Bug 1175366 - Don't use DXVA if D3D11 texture sharing is broken. r=jrmuizel
--HG--
extra : rebase_source : dbfeb9aaa25ab1fbedbcae63f63886bb12d8bb9e
2015-06-17 21:09:16 -07:00
Milan Sreckovic 42d8db701c Bug 1159751 - Use a more explicit order of destruction in gfxWindowsPlatform. r=bas 2015-06-10 11:52:00 -04:00
Matt Woodrow 5925a945d1 Bug 1173983 - Use R8 textures for d3d11 alpha textures since it appears to be better supported. r=Bas 2015-06-15 12:30:34 -04:00
Matt Woodrow 1ee7f9ba83 Bug 1170143 - Disable alpha texture sharing for intel driver version 8.15.10.2086 since it crashes. r=jrmuizel
--HG--
extra : rebase_source : c61a3391748f1d7a90172587ad608a212ac94fea
2015-06-05 16:51:19 +12:00
Jeff Muizelaar ef2ac65dae Bug 1173972. Improve logging in gfxWindowPlatform. r=milan
This will give better about:support info and better crashes

--HG--
extra : rebase_source : 14c19e5a975ef1917eaf6385ff7336b041f89690
2015-06-11 17:14:32 -04:00
David Anderson ab55b4e60a Disable layers acceleration on Windows if the last startup crashed during driver initialization. (bug 1168935, r=mattwoodrow) 2015-06-12 01:01:18 -07:00
Carsten "Tomcat" Book d161a9a425 Backed out changeset 606cb8f08825 (bug 1168935) for test failures in browser_Troubleshoot.js 2015-06-11 10:09:08 +02:00
David Anderson 63b8afcfd7 Disable layers acceleration on Windows if the last startup crashed during driver initialization. (bug 1168935 part 1, r=mattwoodrow) 2015-06-10 21:59:03 -07:00
David Major eb73e64e7c Bug 1173107: Add hexa() around various hr logging. r=jrmuizel a=KWierso 2015-06-09 16:48:59 -04:00
Matt Woodrow 0b9c62a5fb Bug 1170143 - Disable texture sharing if we've blacklisted direct2d. r=Bas 2015-06-08 12:41:37 -04:00
Jeff Muizelaar feadb7fa1f Bug 1171094. Disallow D3D11 ANGLE with old DisplayLink drivers. r=Bas
--HG--
extra : rebase_source : 93fbda95aa8b4ec57d6ecfa0859e8bb319135cdf
2015-06-05 17:17:30 -04:00
David Anderson 4a50d5c15e Fix a startup crash when attempting to test D3D11 texture sharing. (bug 1170211, r=jmuizelaar, a=KWierso) 2015-06-01 15:45:19 -07:00
Matt Woodrow 648b0834c4 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
Nathan Froyd db188ea282 Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary.  It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
Jeff Muizelaar 5305f99326 Bug 1165732 - Block WARP when using the built-in VGA driver. r=bas
WARP is amazingly slow on the VGA driver on Windows 7. Let's not use it.
2015-05-21 12:42:04 -04:00
Phil Ringnalda d8e6f914f4 Back out 75502ee740e0 (bug 1153123) for w-p-t bustage
CLOSED TREE
2015-05-15 20:37:24 -07:00
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