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

588 Коммитов

Автор SHA1 Сообщение Дата
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
Milan Sreckovic 2a121b2491 Bug 1356091: Allow the compositor process with the software compositor. r=dvander
MozReview-Commit-ID: Ljt73heC0k4

--HG--
extra : rebase_source : 17e4d6300a0dcb39e1cbea2fa01aed4c50377b3a
2017-04-13 00:08:09 -04:00
Lee Salzman a168dcdbf3 Bug 1348980 - implement UnscaledFont API for Moz2D and thebes. r=jfkthame 2017-04-06 17:41:02 -04:00
Mason Chang f51576a84d Bug 1348584 Default to 1.0 contrast for Skia backends if custom contrast dwrite param isn't supported by skia. r=emk 2017-03-22 22:04:00 -07:00
Masatoshi Kimura 8a87efb010 Bug 1345222 - Fix user-set ClearType params detection. r=mchang
Also making SetupClearTypeParams more robust:
* Using W functions instead of A functions.
* Checking the value range again after taking the enhancedContrast value from the registry.
* Adding error checks after CreateCustomRenderingParams calls.

MozReview-Commit-ID: I7Lr6SCqiRz

--HG--
extra : rebase_source : 50dfe6b233bb09b49057e96f8df558eea4554ec8
2017-03-11 19:06:40 +09:00
Kartikaya Gupta e98f75a57a Bug 1282306 - More correctly describe APZ touch support in about:support. r=botond
Instead of just reporting the value of the pref, also make sure that about:support
incorporates the runtime check of whether or not a touch device was discovered
in the widget code. The code to do this already exists in TouchEvent::PrefEnabled,
so we can just reuse that.

MozReview-Commit-ID: DN7FSlsDwD1

--HG--
extra : rebase_source : efb3d66e1669f8f2b038888ef2b1c8bb83f1c710
2017-03-10 15:18:48 -05:00
Ryan VanderMeulen 9f115b564e Backed out changeset cf2b0421dd57 (bug 1345222) for suspicion of causing bug 1346215. 2017-03-10 11:43:33 -05:00
Masatoshi Kimura 5bd0d3df16 Bug 1345222 - Fix user-set ClearType params detection. r=mchang
MozReview-Commit-ID: B7bCPbZ9id9

--HG--
extra : rebase_source : c7c7a1c55fb28c415315fc1c820e2192a222d224
2017-03-10 00:47:44 +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
Jonathan Kew 9904b8bd16 Bug 1342787 - Use Nirmala UI as fallback font for additional Indic script blocks. r=m_kato 2017-02-28 09:23:09 +00:00
Jonathan Kew b4073aef2c Bug 1342841 - Use Leelawadi UI as fallback for more scripts than just Thai, as it has additional character support. r=m_kato 2017-02-28 09:23:05 +00:00
Makoto Kato 1b1e8ccc2f Bug 1337299 - Remove old version compatibility into WinUtils. r=jimm
MozReview-Commit-ID: IBnnslpinzq
2017-02-10 12:06:23 +09:00
Masatoshi Kimura 28ee0edbb2 Bug 1334860 - Remove WinXP-only ClearType prefs. r=jfkthame
MozReview-Commit-ID: 1LOrMmR6WHy

--HG--
extra : rebase_source : 92097c501b689b550007a1abc6f82064a48342ec
2017-01-29 11:46:24 +09:00
Milan Sreckovic 94e5e88aa2 Bug 1332483: Remove erroneous assert. r=milan
MozReview-Commit-ID: 5iqr5qPI3lN

--HG--
extra : rebase_source : 12cd9a666998264fc401af81a16beeb3037895d9
2017-01-25 10:59:02 -05:00
David Anderson 867def8b5f Remove the device counter mechanism from gfxPlatform. (bug 1333329 part 2, r=rhunt)
--HG--
extra : rebase_source : 70a5f23b3ea8a19e55351d4b7f5d4fadc6752f69
2017-01-24 11:23:11 -08:00
Kevin Chen 7d87f57046 Bug 1160157 - Add gfxCriticalError for failing to create D3D11 device in content side. r=milan
--HG--
extra : rebase_source : a4c69a29974f659ba3236c062c7c2603a54e291d
2017-01-19 22:19:00 +08:00
Chris Peterson 5b50a98ca0 Bug 1331170 - Part 2: Remove gfx/thebes checks for Windows 7+. r=jrmuizel
MozReview-Commit-ID: 3odBsRFRmD0

--HG--
extra : rebase_source : 6508406332d53966499d6acfc3006070f070b811
extra : histedit_source : 7434ebb71deb4d3c9f3b8a7aeac07aba5311d631
2017-01-09 21:21:40 -08:00
Chris Peterson 9ae8abecfa Bug 1331170 - Part 1: Remove some gfx/thebes checks for Windows Vista+. r=jrmuizel
MozReview-Commit-ID: EwlnKa8Xyg6

--HG--
extra : rebase_source : 280d87f4007f1d0fb42ecf0e657ba090d03aca39
extra : histedit_source : 7d0b092648cec7caf8b301234d1ec0f525eb92b6
2017-01-09 21:24:29 -08:00
Milan Sreckovic 010d912f51 Bug 795627: Allow Skia canvas with accelerated Windows. r=gw280
MozReview-Commit-ID: DKyKC7n3OEM

--HG--
extra : rebase_source : 67d8b897d0e2bf520d92b3a617f01ae0fa0bf45d
2016-12-14 19:10:27 -05:00
Mason Chang 5902ea8a82 Bug 1323587 Part 1: Use correct gamma and contrast for dwrite fonts. r=lsalzman 2016-12-16 08:04:45 -08:00
George Wright 424157b16b Bug 1318845 - Ensure we support DWrite fonts in the parent process when the GPU process is enabled r=Bas 2016-12-15 17:24:58 -05:00
David Anderson d7f8e40664 Move device reset detection from gfxPlatform to DeviceManagerDx. (bug 1316690 part 1, r=rhunt)
--HG--
extra : rebase_source : 0b950fb1fe798e5a6ec8ef2163759a5eedce62fc
2016-11-11 11:57:06 -08:00
David Anderson 3cd2f0c9ea Only use the GPU process when we expect a working Direct3D 11 compositor. (bug 1297822, r=mattwoodrow) 2016-10-27 19:21:34 -07:00
Milan Sreckovic e2dea2817b Bug 1307228: Remove a warning that doesn't help. r=dvander
MozReview-Commit-ID: HvxPaYGhgwa

--HG--
extra : rebase_source : 32a87d99f95d875ef7006411a8d7f3303886ea36
2016-10-03 16:57:36 -04:00
Matt Woodrow e3a3bcbcaf Bug 1305213 - Initialize CanUseHardwareDecoding after we've created d3d11 devices. r=dvander 2016-09-29 12:36:11 +13:00
Matt Woodrow d6f48852a6 Bug 1305213 - Make sure the cached CanUseHardwareVideoDecoding value is updated when DeviceMangerDx is initialized. r=dvander 2016-09-28 11:34:48 +13:00
Phil Ringnalda c4f9e0b615 Backed out changeset c33c1775fe24 (bug 1305213) for e10s marionette crashes 2016-09-26 21:45:25 -07:00
Matt Woodrow a28cb744aa Bug 1305213 - Make sure the cached CanUseHardwareVideoDecoding value is updated when DeviceMangerDx is initialized. r=dvander 2016-09-27 14:10:40 +13:00
Matthew Woodrow 76c0ae8105 Bug 1288618 - Part 1: Use gfxVars for CanUseHardwareVideoDecoding so we can access it in the GPU process. r=dvander 2016-08-25 15:48:35 +12:00
Carsten "Tomcat" Book f918af64da Backed out 16 changesets (bug 1288618) for bustage on a CLOSED TREE
Backed out changeset 06187d250f7a (bug 1288618)
Backed out changeset 2a47f8ea1d89 (bug 1288618)
Backed out changeset e179c8e8265d (bug 1288618)
Backed out changeset 25396a1af922 (bug 1288618)
Backed out changeset e98f835c6ee5 (bug 1288618)
Backed out changeset 24df0e89b273 (bug 1288618)
Backed out changeset f8bbdabdb6da (bug 1288618)
Backed out changeset 8b0adeab93df (bug 1288618)
Backed out changeset 95f23366de82 (bug 1288618)
Backed out changeset 63a9c689e1d5 (bug 1288618)
Backed out changeset 8f67443dccb8 (bug 1288618)
Backed out changeset 4e7fe69d5f45 (bug 1288618)
Backed out changeset 53b113acee42 (bug 1288618)
Backed out changeset 2583ae4e2e3b (bug 1288618)
Backed out changeset 75a61d0e71b7 (bug 1288618)
Backed out changeset da740b4fd484 (bug 1288618)
2016-09-21 08:44:11 +02:00
Matthew Woodrow cc6a2ea1e1 Bug 1288618 - Part 1: Use gfxVars for CanUseHardwareVideoDecoding so we can access it in the GPU process. r=dvander
--HG--
extra : rebase_source : 3e5e4d3cebeda21a080a0f5c9bcec95ba54f960c
2016-08-25 15:48:35 +12:00
Milan Sreckovic e13a243ec1 Bug 1299164: Part 2. Use BufferSizeFromDimensions method, as well as some of the others that check for valid size. r=bas 2016-09-15 10:36:21 -04:00
Carsten "Tomcat" Book 45927144b4 Backed out changeset e00026b645d2 (bug 1288618) for valgrind failures 2016-09-15 16:34:35 +02:00
Matthew Woodrow 0cd90578a4 Bug 1288618 - Part 1: Use gfxVars for CanUseHardwareVideoDecoding so we can access it in the GPU process. r=dvander 2016-08-25 15:48:35 +12:00
Wes Kocher 647b0985cc Backed out 2 changesets (bug 1299164) for win vm bc4 bustage a=backout
Backed out changeset 53dc795121e1 (bug 1299164)
Backed out changeset c39ec15e7e21 (bug 1299164)
2016-09-02 11:38:22 -07:00
Milan Sreckovic cd425fcdf7 Bug 1299164: Part 2. Use BufferSizeFromDimensions method, as well as some of the others that check for valid size. r=bas
MozReview-Commit-ID: FLBV5Aex3ga

--HG--
extra : rebase_source : 739a0c5052eaae4ed7f9d21cbbbe465dd10cb94a
2016-09-01 15:31:16 -04:00
Ethan Lin d2db92ebce Bug 1295742 - Add gfxCriticalNote for driver reset. r=jerry, r=dvander 2016-08-25 02:17:00 -04:00
Ryan Hunt 86f669cc48 Bug 1298324 - Change D3D11DeviceStatus to a union. r=dvander
MozReview-Commit-ID: LCy2NSch39X
2016-08-26 16:37:00 -04:00
Wes Kocher 493b1533ea Backed out changeset e82fc4bb4cc4 (bug 1298324) for windows build bustage a=backout
CLOSED TREE

--HG--
extra : amend_source : b780f41c130ad5be13c451b4bcbc2b8cfd5570a1
2016-08-26 14:07:32 -07:00
Ryan Hunt 4656974491 Bug 1298324 - Change D3D11DeviceStatus to a union. r=dvander
MozReview-Commit-ID: LCy2NSch39X
2016-08-26 13:32:39 -07:00
Mason Chang b4272bd4ed Bug 1295214. Correct for negative vsync timestamps on windows. r=jrmuizel 2016-08-25 08:53:07 -07:00
Nathan Froyd 7c19467a4d Bug 1297086 - remove unused variables in gfxWindowsPlatform.cpp; r=Bas 2016-08-25 17:55:41 -04:00
Nicholas Nethercote c2306345d5 Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
This patch removes checking of all the callback calls in memory reporter
CollectReport() functions, because it's not useful.

The patch also does some associated clean-up.

- Replaces some uses of nsIMemoryReporterCallback with the preferred
  nsIHandleReportCallback typedef.

- Replaces aCallback/aCb/aClosure with aHandleRepor/aData for CollectReports()
  parameter names, for consistency.

- Adds MOZ_MUST_USE/[must_use] in a few places in nsIMemoryReporter.idl.

- Uses the MOZ_COLLECT_REPORT macro in all suitable places.

Overall the patch reduces code size by ~300 lines and reduces the size of
libxul by about 37 KiB on my Linux64 builds.

--HG--
extra : rebase_source : e94323614bd10463a0c5134a7276238a7ca1cf23
2016-08-24 15:23:45 +10:00
Sotaro Ikeda 1ff245b181 Bug 1259571 - Reduce tearing with basic layers on Windows r=dvander
--HG--
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
2016-08-23 15:18:55 -07:00
David Anderson 2b23d07c29 Move the DeviceManagerD3D9 singleton out of gfxPlatform. (bug 1297182 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 2ddbac1ce59cad17b9074a85d7ab11862d9b805d
2016-08-22 17:23:38 -07:00
David Anderson 2e46480cbf Communicate GPU process device information across processes. (bug 1294988 part 5, r=mattwoodrow) 2016-08-20 20:59:11 -07:00
David Anderson 396d5d1191 Refactor cross-process acceleration controls. (bug 1294988 part 4, r=mattwoodrow) 2016-08-20 20:59:11 -07:00
David Anderson 7df82d4b70 Enable Direct3D 11 in the GPU process. (bug 1294988 part 3, r=mattwoodrow) 2016-08-20 20:59:10 -07:00
David Anderson e30ff6d169 Split device initialization into separate per-process steps. (bug 1294988 part 2, r=mattwoodrow) 2016-08-20 20:59:10 -07:00
David Anderson 567a7e0d65 Fix DirectX shutdown ordering issues. (bug 1296749, r=mattwoodrow) 2016-08-20 18:25:03 -07:00