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

6105 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst c9351ecb72 Backed out changeset 66bbe7f0d664 (bug 1292034) 2016-10-08 00:40:52 +02:00
Kartikaya Gupta 81be2e6b8d Bug 1292034 - Improve the controls over when flywheel/fling acceleration kicks in. r=rbarker
This patch adds a new pref, which controls the minimum velocity required on a fling
for it to accelerate a previous fling. This makes it so that a fast fling followed
by a very slow fling doesn't get accelerated. Also, update the AndroidAPZ code
to respect the pre-existing fling acceleration interval pref, which disallows
fling acceleration/flywheel if the two flings are too far apart in time.

MozReview-Commit-ID: EfBUx5UV6VG
2016-10-07 17:44:18 -04:00
George Wright 375da61c8b Bug 1297828 - Ensure gfx logging works in the GPU process r=dvander 2016-10-07 11:28:41 -04:00
Jonathan Kew 6e6135e988 Bug 1306715 - Ignore the font whitelist if we're not using a gfxPlatformFontList backend (i.e. using the old Linux/fontconfig backend). r=jrmuizel 2016-10-06 21:00:24 +01:00
Matt Woodrow d8ccc61086 Backed out changeset d35d695f921d (bug 1292923) for troubles with windows refrests 2016-10-06 14:33:29 +02:00
Matt Woodrow 4d48d9abe0 Backed out changeset f5a4eadc760e (bug 1305326) 2016-10-06 14:32:57 +02:00
Matt Woodrow 81cff1917b Bug 1292923 - Don't upload to textures during creation on Intel cards as it frequently crashes. r=dvander 2016-10-06 14:32:55 +02:00
Carsten "Tomcat" Book 7c8e81673d merge mozilla-inbound to mozilla-central a=merge 2016-10-06 11:59:54 +02:00
Matt Woodrow 2980c56cf9 Backout d35d695f921d for causing compile failures. 2016-10-06 19:13:30 +13:00
Matt Woodrow 584704be9c Bug 1305326 - Use D3DChecks::DoesAlphaTextureSharingWork again. r=dvander
--HG--
extra : rebase_source : 78b458c0c4f6967e5bed9da58fc00d143645e437
2016-09-28 13:29:46 +13:00
Matt Woodrow 0dfc4f3bfa Bug 1292923 - Don't upload to textures during creation on Intel cards as it frequently crashes. r=dvander
--HG--
extra : rebase_source : 403e604c6496b95e6f8e2f9320e918d4cdafe0f8
2016-09-28 13:28:47 +13:00
Sebastian Hengst 846ea19f2f Backed out changeset 69e98ce5b005 (bug 1291084) for asserting with "[GFX1]: Failed to set device safe for multithreading" in R(R) on Windows 7 VM debug. r=backout on a CLOSED TREE 2016-10-05 19:35:53 +02:00
Bas Schouten d2a2717b24 Bug 1291084: Unconditionally create all devices as threadsafe. r=mattwoodrow
MozReview-Commit-ID: 2vloJUDfHvL
2016-10-05 17:11:44 +02:00
Milan Sreckovic cc08d3d97e Bug 1294812: Clean up SkiaGL canvas logic, making sure we only take it for OpenGL layers. Rename a function for clarity. r=BenWa,dvander
MozReview-Commit-ID: OTUXNNYdnJ

--HG--
extra : rebase_source : 4531fc96899f1a2f6524289d5db1054345e0e5f4
2016-09-30 13:54:22 -04: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
Mike Hommey 6f8a48bb27 Bug 1306543 - Avoid using g_unicode_script_from_iso15924 directly. r=jfkthame
for compatibility with glib < 2.29.14.
2016-10-04 14:00:22 +09:00
Carsten "Tomcat" Book f42cb2344f Backed out changeset 54f0671f3c8b (bug 1291084) for breaking talos and webgl tests 2016-10-05 15:50:28 +02:00
Bas Schouten ce6d81837a Bug 1291084: Unconditionally create all devices as threadsafe. r=mattwoodrow
MozReview-Commit-ID: GWJWd7oXoOb

--HG--
extra : rebase_source : c141aec05d513825b1a57cc8ae325b508be7357e
2016-10-04 20:33:47 +02:00
David Anderson 9a371ddb86 Add a testing pref to let the GPU process restart multiple times. (bug 1305941, r=mattwoodrow) 2016-09-30 01:21:21 -07:00
Wes Kocher 70adae2ee7 Backed out changeset e1300d4c0a52 (bug 1292923) for windows reftest failures a=backout 2016-09-29 18:10:17 -07:00
Wes Kocher 1cb598b229 Backed out changeset d98c1bfa1caf (bug 1305326) for windows reftest failures a=backout 2016-09-29 18:10:08 -07:00
Matt Woodrow d7d08ce68a Bug 1305326 - Use D3DChecks::DoesAlphaTextureSharingWork again. r=dvander
--HG--
extra : rebase_source : 0cf4a5574ebc4727e4394c95532e3279713c8284
2016-09-28 13:29:46 +13:00
Matt Woodrow ca2babed92 Bug 1292923 - Don't upload to textures during creation on Intel cards as it frequently crashes. r=dvander
--HG--
extra : rebase_source : aa4926ee6de3263736b9a16f10fe9fdb7333cf5d
2016-09-28 13:28:47 +13:00
Matt Woodrow e3a3bcbcaf Bug 1305213 - Initialize CanUseHardwareDecoding after we've created d3d11 devices. r=dvander 2016-09-29 12:36:11 +13:00
Sebastian Hengst b389a03d86 Backed out changeset 690c50d5a4ca (bug 1305941) for build bustage. r=backout on a CLOSED TREE 2016-09-28 22:54:03 +02:00
David Anderson 4ca1294eed Add a testing pref to let the GPU process restart multiple times. (bug 1305941, r=mattwoodrow) 2016-09-28 13:23:48 -07:00
Arthur Edelstein cdccbe2abb Bug 1121643 - Add "font.system.whitelist" pref to resist font-based fingerprinting. r=jfkthame 2016-08-23 00:06:07 +00:00
Jonathan Kew b1a1141fb3 Bug 1121643 - Ensure the FontNameCache only updates its records in StartupCache once, even if the font-list is rebuilt. r=jrmuizel 2016-09-28 20:42:41 +01: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
Edwin Flores d6dab74e60 Bug 1305234 - Back out changeset f7aeb4b3ccb1 (bug 1279398) for causing top crashes. r=edwin DONTBUILD
--HG--
extra : rebase_source : 17ccf89223eeca1bc08c3e45ec7e22d3456c2d00
extra : source : 5285464565a804f3766f273b20fb7147f92db53e
2016-09-27 19:52:17 +01:00
Ryan VanderMeulen 99dc13308f Backed out changeset 5285464565a8 for landing with the wrong bug number in the commit message.
--HG--
extra : rebase_source : 9aff59b0badc1d7fb1a173471fb829f9320e311d
2016-09-27 17:31:59 -04:00
Edwin Flores 2e88e8e508 Bug 1306234 - Back out changeset f7aeb4b3ccb1 (bug 1279398) for causing top crashes. r=edwin
--HG--
extra : rebase_source : 24aee74e09242f1cae18a1df48654268a2e91769
2016-09-27 19:52:17 +01:00
Phil Ringnalda c4f9e0b615 Backed out changeset c33c1775fe24 (bug 1305213) for e10s marionette crashes 2016-09-26 21:45:25 -07:00
Jonathan Kew c6471e4eeb Bug 1304699 - Pass the proper unicode-range when looking up a font in the global font cache. r=jrmuizel 2016-09-27 01:48:56 +01:00
Phil Ringnalda 340cda4e5f Backed out changeset 66b8ea362db8 (bug 1304699) for build bustage
CLOSED TREE
2016-09-26 18:37:13 -07:00
Matt Woodrow e0b520a9c4 Bug 1304342 - Remove gfxCriticalError when creating a d3d11 device fails since that can happen under regular usage. r=dvander 2016-09-27 14:12:23 +13: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
Jonathan Kew 2a3be4b384 Bug 757366 - Don't cast pointers to 'name'-table data to uint16_t*, as they may not be 16-bit-aligned. r=jrmuizel 2016-09-26 18:05:14 +01:00
Jonathan Kew 60fef630a5 Bug 1304699 - Pass the proper unicode-range when looking up a font in the global font cache. r=jrmuizel 2016-09-27 01:48:56 +01:00
Iris Hsiao 767e1e9b11 merge mozilla-inbound to mozilla-central a=merge 2016-09-26 18:34:20 +08:00
cku f42e498549 Bug 1304011 - Part 7. Fix several coding convention violations. r=mstange
MozReview-Commit-ID: BYhiQnlfR3a

--HG--
extra : rebase_source : eba1a5fcec8f502cfaf4ff0e1d09a321e533131c
2016-09-18 23:16:35 +08:00
cku 097d8da362 Bug 1304011 - Part 4. For css-mask, compute frame offset by the current frame. r=mstange
MozReview-Commit-ID: K6ZUoiA9jrC

--HG--
extra : rebase_source : 6a56e5d072062f06452e653187a0d6eb5d5c3eac
2016-09-22 13:38:55 +08:00
Lee Salzman 8869fd86cf Bug 1029705 - allow clipping to a list of device-space rectangles (a region) in DrawTarget via PushDeviceSpaceClipRects. r=bas
MozReview-Commit-ID: 8zM116zB0NB
2016-09-21 17:03:20 -04:00
Bas Schouten 8f48ecccca Bug 1296665: gfxBlur should attempt to create a box shadow for the correct type of DrawTarget. r=mchang
MozReview-Commit-ID: 5J3GwKya83w
2016-09-15 13:53:12 +02: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
David Anderson 5a103daad2 Fix root scroll delta overrides when APZ is out-of-process. (bug 1303820, r=kats) 2016-09-19 19:22:26 -07:00
Kartikaya Gupta 029140f6bf Back out bug 1296665 (cset b071166a07bc) for causing bug 1303434. rs=mstange 2016-09-16 17:32:36 -04:00
Mason Chang 196df029f8 Bug 1299903. Force GDI Classic rendering for specific fonts with skia on windows. r=lsalzman 2016-09-16 12:25:42 -07:00
Mason Chang 053689b4b2 Bug 1301524 - Add a preference to disable AA on text. r=lsalzman 2016-09-16 12:11:35 -07:00
Nicolas Silva 79bb9f5c0e Bug 1284837 - Disallow implicit conversions from float to integer when creating. r=botond 2016-09-16 17:49:39 +02: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
Bas Schouten b452c90e96 Bug 1296665: gfxBlur should attempt to create a box shadow for the correct type of DrawTarget. r=mchang
MozReview-Commit-ID: 5J3GwKya83w
2016-09-15 13:53:12 +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
Jeff Muizelaar 05a47f9aef Bug 1298829. Move non-operator OVER handling to callback drawables. r=bas
This cleans up the code and makes us use an extra surface less.
2016-09-13 11:05:58 -04:00
Sotaro Ikeda 27cb0a7981 Bug 1300656 - Optimize gfxUtils::ConvertBGRAtoRGBA() r=jrmuizel 2016-09-12 22:19:29 -07:00
Mason Chang b4407fab22 Bug 1300025. Use embedded bitmaps in CJK fonts with skia on Windows. r=lsalzman 2016-09-08 09:34:10 -07:00
Nicolas Silva 56e5119c61 Bug 1301027 - Remove the matrix * point operator and replace it with TransformPoint methods. r=Bas 2016-09-08 18:26:03 +02:00
James Willcox 3b0262c197 Bug 1270241 - Remove redundant define MOZ_USING_ANDROID_JAVA_WIDGETS. r=kats
MozReview-Commit-ID: fkEeA5EemK
2016-09-08 10:03:34 -04:00
Jason Woofenden 77865e4a08 Bug 1008019 - Allow whitespace to "hang" at soft-wrap boundaries when white-space:pre-wrap is in effect. r=jfkthame 2016-03-20 17:54:00 -04:00
Makoto Kato 4a99a0c673 Bug 1300452 - Add Noto Sans CJK setting for Android 7.0. r=jfkthame
When using Nexus 5X or 9 with Android 7.0, Japanese text is rendered by Chinese font.  Android 7's nexus image uses Noto Sans CJK (NotoSansCJK-Regular.ttc) for CJK font, so we need add this font name to our preference.

MozReview-Commit-ID: C0e5ikgC6cX

--HG--
extra : rebase_source : 36ea8115e97cf38dc5b04d53529e579a091c6f74
2016-09-05 12:01:01 +09:00
Jonathan Kew 882bb6e2b5 Bug 1296391 - Check length of name string before attempting to build a new name table. r=jrmuizel 2016-09-05 14:15:09 +01:00
Robert O'Callahan 582fcbd9fa Bug 1300440. Make layers.acceleration.force-enabled override blacklisted devices in debug builds. r=acominos
MozReview-Commit-ID: ADI25q6SClG
2016-09-05 10:47:19 +12:00
Lee Salzman 4649ee4713 Bug 1303054 - use dynamic cache size with SkiaGL on desktop. r=milan
MozReview-Commit-ID: 3Hhsa1SNcXw
2016-09-23 11:40:25 -04:00
Jonathan Kew 7891206f28 Bug 1304353 - part 2 - Initialize font's DrawOptions from the textrun's options when painting, so we don't drop any opacity that has already been set. r=bas 2016-09-23 13:38:06 +01:00
Nicholas Nethercote b71747b2ac Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
The new name makes the sense of the condition much clearer. E.g. compare:

  NS_WARN_IF_FALSE(!rv.Failed());

with:

  NS_WARNING_ASSERTION(!rv.Failed());

The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.

--HG--
extra : rebase_source : 886e57a9e433e0cb6ed635cc075b34b7ebf81853
2016-09-01 15:01:16 +10:00
Nicholas Nethercote 742fc7eb48 Bug 1297961 (part 1) - Introduce nsURI::GetSpecOrDefault(). r=hurley.
This function is an infallible alternative to nsIURI::GetSpec(). It's useful
when it's appropriate to handle a GetSpec() failure with a failure string, e.g.
for log/warning/error messages. It allows code like this:

  nsAutoCString spec;
  uri->GetSpec(spec);
  printf("uri: %s", spec.get());

to be changed to this:

  printf("uri: %s", uri->GetSpecOrDefault().get());

This introduces a slight behavioural change. Previously, if GetSpec() failed,
an empty string would be used here. Now, "[nsIURI::GetSpec failed]" will be
produced instead. In most cases this failure string will make for a clearer
log/warning/error message than the empty string.
* * *
Bug 1297961 (part 1b) - More GetSpecOrDefault() additions. r=hurley.

I will fold this into part 1 before landing.

--HG--
extra : rebase_source : ddc19a5624354ac098be019ca13cc24b99b80ddc
2016-08-26 16:02:31 +10:00
Ryan VanderMeulen f2ae8f9bce Merge m-c to autoland. a=merge 2016-08-31 22:34:02 -04:00
Lee Salzman af21c66e1e Bug 725119 - allow Skia as a content backend in gfxPlatform. r=mchang
MozReview-Commit-ID: GjIybnjz4wl
2016-08-31 15:53:08 -04:00
Botond Ballo 2af3f87bb6 Bug 1288686 - Avoid X11's |#define None 0L| intruding on other parts of the code. r=jrmuizel
MozReview-Commit-ID: 9rD0KLTLg7l

--HG--
extra : rebase_source : a537ba1913b6959e74fc4fcaf58f51f759cc5882
extra : source : 9278e13a7d664e787f763a7c21a32833700899e1
2016-08-29 16:51:43 -04:00
Nicolas Silva 27169d083f Bug 1298378 - Pop clips from the corresponding target in gfxContext's style stack. r=Bas 2016-08-30 13:48:11 +02: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
Sebastian Hengst dd9d82e540 Backed out changeset 932c269da17b (bug 1008019) 2016-08-26 11:30:45 +02:00
Jason Woofenden 9a198c4a58 Bug 1008019 - Allow whitespace to "hang" at soft-wrap boundaries when white-space:pre-wrap is in effect. r=jfkthame 2016-03-20 17:54:00 -04:00
Ryan Hunt 51dd4314b5 Bug 1297831 - Add a RequiresAcceleratedGLContextForCompositorOGL gfxVar for CompositorOGL. r=jgilbert
MozReview-Commit-ID: 9hZMvG8bPvd

--HG--
extra : rebase_source : 164282b35171865eecade7a4e17927daa16ae66a
2016-08-24 14:03:00 -04:00
Ryan Hunt a855ce5afd Bug 1297831 - Add an OffscreenFormat gfxVar for use in CompositorOGL. r=jgilbert
MozReview-Commit-ID: JLthlwaZg1Q

--HG--
extra : rebase_source : b7ef71ad34b8036f25209242e5fdb743b749d3a7
2016-08-24 14:02:00 -04:00
Jonathan Kew 8998b2ba96 Backed out changesets 4a7bb508cadf, e8917efd53e3, 2d87636d76b0 (bug 1008019) due to Android reftest orange. 2016-08-26 00:56:10 +01:00
Jason Woofenden 7dddb003fd Bug 1008019 - Allow whitespace to "hang" at soft-wrap boundaries when white-space:pre-wrap is in effect. r=jfkthame 2016-03-20 17:54:00 -04:00
kearwood 129f2f75a0 Bug 1186578 - [webvr] Implement OpenVR/SteamVR support,r=gw280
MozReview-Commit-ID: LmpcMJubrYR

--HG--
extra : rebase_source : c5d767c635bed9fa74ca94b2ce75952f20106702
2016-07-22 12:41:00 -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
Ryan VanderMeulen 2b4ac234e9 Merge m-c to inbound. a=merge 2016-08-25 08:27:17 -04:00
Ryan VanderMeulen 520acfd195 Merge inbound to m-c. a=merge 2016-08-25 08:10:52 -04:00
Kartikaya Gupta 6b6c6bae4f Bug 1297732 - Eliminate some redundancies in prefs files. r=rbarker
MozReview-Commit-ID: EaHtBt0Hgbd

--HG--
extra : rebase_source : 753c09f87f55af3a129b950ae77359717693bae9
2016-08-24 11:54:05 -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
Jinank Jain f2776091ea Bug 712936 - Convert users of PR_STATIC_ASSERT to C++11 static_assert(). r=Ms2ger
--HG--
extra : rebase_source : b3e4c3e7c81799f2b1f3ec62ba3ff3b5d3adba27
2016-08-23 11:24:54 -04:00
Jonathan Kew 4c29384d07 Bug 1297365 - Remove legacy Hebrew presentation-form composition rules from gecko, and rely on harfbuzz internally applying these only to fonts that need them. r=jrmuizel 2016-08-24 11:44:26 +01:00
Ryan VanderMeulen 82663d8710 Merge inbound to m-c. a=merge 2016-08-23 10:05:18 -04:00
David Anderson c27faebe47 Add D3D9 support to the GPU process. (bug 1297182 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 95364a97c1f0a65eab60f34f64caa8f149e1dbce
2016-08-22 17:25:52 -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
Jonathan Kew 993ba1a742 Bug 1296742 - Initialize gfxGDIFont's metrics at construction time, like other platform font subclasses, and remove its no-longer-needed support for init-on-first-use pattern. r=jrmuizel 2016-08-22 21:39:19 +01:00
Jonathan Kew ac04ca7f48 Bug 1296740 - Fix the parameter list for the gfxDWriteFontFamily implementation of ReadFaceNames. r=jrmuizel 2016-08-22 21:38:50 +01:00
George Wright 4010a63cb8 Bug 1296524 - Don't add Skia to the allowable canvas types unless USE_SKIA is defined r=mchang 2016-08-22 13:50:48 -04:00
Andrew Comminos 68b11e8613 Bug 1296911 - Use a separate X display on the GLX VSync thread. r=lsalzman
This reverts commit cce8e136869d313e999fdd0b98c88dfa3603c3de.

--HG--
extra : rebase_source : 4ef007395dc7eeae2287ef6ab119cadc3e896f20
2016-08-22 14:44:54 -04:00
Kan-Ru Chen b6d880aca1 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES


--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08: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 f0ab54253c Add feature level to D3D11DeviceStatus. (bug 1294988 part 6, r=mattwoodrow) 2016-08-20 20:59:11 -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 febbb3a624 Factor out d3d11.dll handling. (bug 1294988 part 1, r=mattwoodrow) 2016-08-20 20:59:10 -07:00
David Anderson 7a8adea3b0 Rename DeviceManagerD3D11 helpers. (bug 1294988 part 0, r=mattwoodrow) 2016-08-20 20:59:09 -07:00
David Anderson 567a7e0d65 Fix DirectX shutdown ordering issues. (bug 1296749, r=mattwoodrow) 2016-08-20 18:25:03 -07:00
Wes Kocher bb22cc4067 Merge inbound to central, a=merge 2016-08-19 18:16:20 -07:00
Ryan VanderMeulen ce55e7b71a Merge m-c to inbound. a=merge 2016-08-19 09:59:49 -04:00
Ryan VanderMeulen 01c4e8cc1b Merge inbound to m-c. a=merge 2016-08-19 09:52:53 -04:00
Jonathan Kew 4196f4e014 Bug 1228799 - Part 2 - If AddFontMemResourceEx rejects a downloaded font that we tried to activate, check if its Microsoft cmap subtable is tagged as symbol-encoded, and if so fix it up and re-try the font activation. r=emk 2016-08-18 17:22:45 +01:00
Jonathan Kew 17a2101b23 Bug 1228799 - Part 1 - Move GetTableFromFontData to gfxFontUtils as a static function, and expose FindTableDirEntry helper method. r=emk 2016-08-19 13:57:05 +01:00
Mats Palmgren ddef8b6119 Bug 1280887 - patch 4 - Remove (unused) class gfxTextRun::ClusterIterator. r=jfkthame 2016-08-19 13:14:45 +01:00
Jonathan Kew 95a82f84cc Bug 1280887 - patch 2 - Make gfxTextRun refcounted, replace usage of UniquePtr<> with RefPtr<> for textruns, and make nsTextFrame hold a strong reference to its run(s). r=mats 2016-08-19 13:14:22 +01:00
Jeremy Chen 037578d1bd Bug 1293210 - get cap height from GDI backend. r=jfkthame
MozReview-Commit-ID: 6EIgsJnzZz4

--HG--
extra : rebase_source : 6490db176730170b4bdbbdbcf5c8005829b1b27e
2016-08-18 17:43:54 +08:00
Jeremy Chen 5459f4df5a Bug 1293210 - get cap height from FT2 backend. r=jfkthame
MozReview-Commit-ID: 7EnaxRYpwJU

--HG--
extra : rebase_source : 043d0f5601d261adb122c5ffe408daa07965fd4b
2016-08-18 17:43:54 +08:00
Jeremy Chen 16b102d35e Bug 1293210 - get cap height from DirectWrite backend. r=jfkthame
MozReview-Commit-ID: KC45V4pZZU1

--HG--
extra : rebase_source : 8f4716d2ddb308f37450c400cdfdd5fdf018e6e9
2016-08-18 17:43:54 +08:00
Jeremy Chen c0c0bf1903 Bug 1293210 - get cap height from platform APIs for non-sfnt fonts on Mac. r=jfkthame
MozReview-Commit-ID: IiHQQoIvQ3f

--HG--
extra : rebase_source : bc585b776f1712333fc841df66700771d6d2af87
2016-08-18 17:43:54 +08:00
Jeremy Chen 7fe92af520 Bug 1293210 - add cap height support to nsFontMetrics. r=jfkthame
MozReview-Commit-ID: 8EXWUtbuN3s

--HG--
extra : rebase_source : 120cc3476faae7d63f2e96f2973ea9e6d9a93c16
2016-08-18 17:43:54 +08:00
Jeff Gilbert ccacf66a5e Bug 1287653 - Blacklist dx_interop2. - r=milan
MozReview-Commit-ID: GYyUIXYvcp1
2016-08-18 14:06:57 -07:00
Jeff Gilbert 0ded0eabcd Bug 1287653 - Minor fixes in D3D11Checks. - r=mattwoodrow
MozReview-Commit-ID: l8VkUewdhA
2016-08-18 14:06:47 -07:00
Jeff Gilbert cd95c17d9a Bug 1287653 - Strip EOL whitespace from gfx/thebes/gfxWindowsPlatform.cpp.
MozReview-Commit-ID: BEi4lo83HAK
2016-08-18 14:06:31 -07:00
Jonathan Kew 76f40e7bdc Bug 1280887 - patch 1 - Declare a bunch of gfxTextRun* variables as const pointers, for clarity. r=mats 2016-07-07 13:51:24 +01:00
Andrew Comminos 17217db998 Bug 594876 - Accelerate layers by default for nightlies on Linux. r=nical
MozReview-Commit-ID: FtGqib9SIFD

--HG--
extra : rebase_source : 84cd1054d4bdd47a7ce8b3c3ecc3047c169aa4f5
2016-06-24 17:56:26 -04:00
Xidorn Quan 09f09b5e7b Bug 1288255 - Clear hyphen width cache when user fonts update. r=jfkthame
MozReview-Commit-ID: 66zUQIFafdh

--HG--
extra : rebase_source : c8deb44e0f2eb6de0aedc7041bb79435d18ca354
2016-08-18 11:26:50 +10:00
Chris Peterson 4e032df4b1 Bug 1295083 - Replace PR_snprintf and s[n]printf calls with SprintfLiteral in gfx/. r=Bas 2016-08-16 15:41:12 -07:00
David Anderson 47faa17e03 Don't initialize DirectX in the UI process, when the GPU process is enabled. (bug 1294986 part 2, r=mattwoodrow) 2016-08-16 11:03:29 -07:00
David Anderson 4198f82d06 Disable the GPU process when not using Electrolysis. (bug 1294986 part 1, r=mattwoodrow) 2016-08-16 11:00:01 -07:00
Randall Barker 9a3fae864f Bug 1291373 - [geckoview] part 3, Remove MOZ_ANDROID_APZ r=botond,snorp 2016-08-16 14:33:43 -07:00
Mason Chang e21abc7248 Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow 2016-08-16 08:46:13 -07:00
Mason Chang 6478db3b8a Bug 1294121 - Backed out changeset 635d266614ad for windows build failures. r=me. CLOSED TREE 2016-08-16 09:17:25 -07:00
Mason Chang 423fb81bd4 Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow 2016-08-16 08:46:13 -07:00
Mason Chang e7ead846af Backed out changeset aaaab9a073a4 for build failures. r=me 2016-08-15 20:38:40 -07:00
Mason Chang 8c9fb35901 Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow 2016-08-15 19:59:26 -07:00
Seth Fowler 69a8ca2b79 Bug 1293449 (Followup) - Remove unnecessary SurfaceCache.h #include from gfxWindowsPlatform. r=me 2016-08-15 19:38:43 -07:00
Wes Kocher d602abb016 Merge inbound to central, a=merge 2016-08-15 14:20:38 -07:00
Igor 175543fda8 Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj 2016-08-14 23:43:21 -07:00
Igor a57972337d Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
Sebastian Hengst d5866d2b77 Backed out changeset 9ba0dd5271fe (bug 1286653) for permafailing xpcshell test test_TelemetryEnvironment.js | test_checkEnvironment on Windows 8 x64 debug. r=backout 2016-08-13 10:58:06 +02:00
Ryan Hunt aa229473b7 Bug 1294588 - Remove UseProgressivePaint from gfxPlatform and use gfxPrefs instead. r=dvander
MozReview-Commit-ID: 1A9bFY2HS2z

--HG--
extra : rebase_source : 3347b9920be525f24c8d627260947b136ac36930
2016-08-11 14:21:17 -07:00
Ryan Hunt 92206266e3 Bug 1294586 - Remove dependency on gfxPlatform from CreateDrawTargetFromData. r=dvander
MozReview-Commit-ID: A355fBJKWP6

--HG--
extra : rebase_source : 85ffd4b9d5f9708a1666bbc8e229ba576cc97680
2016-08-11 14:54:08 -07:00
Wes Kocher 4aec37ca6e Merge m-c to autoland, a=merge 2016-08-12 16:30:03 -07:00
Jonathan Kew c3be9496a6 Bug 1294448 followup - Cosmetic fixes to code style, no functional change. r=jrmuizel 2016-08-11 20:08:42 +01:00
Jonathan Kew 55b297ca39 Bug 1294448 - Fix handling of platform ID in gfxFontUtils::ReadNames, so that fallback to Windows-platform names on Mac works as intended. r=jrmuizel 2016-08-11 20:08:42 +01:00
eyim f6feed92b7 Bug 1286653 - Re-run blacklist on DXGI adapter used for device creation r=BenWa,dvander
MozReview-Commit-ID: 9QV8QFu5WYR

--HG--
extra : rebase_source : d0da9409b2818a1ebce1469daecc3ca436bfa33e
2016-08-11 18:20:21 -04:00
Mason Chang 850f81d1c7 Bug 1292642 Default to skia if we have an invalid pref for a backend on OS X. r=milan 2016-08-10 17:36:25 -07:00
Nicholas Nethercote 9dc11c1da2 Bug 1293603 (part 1) - Add |override| to CollectReports() declarations missing it. r=erahm.
--HG--
extra : rebase_source : 7ae41d24bacf4de4ca6193ad52517343806dbb2d
2016-08-08 11:04:11 +10:00
George Wright 617f4761d4 Bug 1289525 - Shrink the TextureClientPool to maximum size after a short delay, and clear the pool after a longer delay r=jrmuizel 2016-08-09 16:03:47 -04:00
Matt Woodrow 27ae1b3c02 Bug 1292498 - Don't support D3D11 feature level 9_3 since it doesn't work with any of our use cases. r=Bas 2016-08-09 15:55:06 +12:00
David Anderson 4257f1eff2 Remove fallback to WARP, but keep the force pref for testing. (bug 1294343, r=jrmuizel) 2016-08-13 12:18:50 -07:00
David Anderson e12140216e Don't use nsIGfxInfo in CompositorD3D11. (bug 1294339, r=mattwoodrow) 2016-08-13 12:12:51 -07:00
David Anderson eade90a86b Clean up D3D11 device creation. (bug 1292680, r=mattwoodrow) 2016-08-13 12:04:03 -07:00
Kearwood (Kip) Gilbert 20e3431c17 Bug 1250244 - Part 4: Remove Cardboard VR Support,r=gw280
- The Cardboard VR support has hardcoded values and uses low-performance
  orientation APIs and rendering paths.
- There is little benefit to this Cardboard VR implementation over using
  polyfills.
- A future implementation would be based on Google VR support in Android N
  and/or Samsung Gear VR Oculus Mobile APIs.

MozReview-Commit-ID: 7e9Th8ZTmj8
2016-05-27 13:49:13 -07:00
Kearwood (Kip) Gilbert d7f19a6795 Bug 1250244 - Part 3: Remove Oculus 0.5 Runtime support,r=gw280
- Oculus 0.5 runtime was the last to support OSX, but is no longer supported
  on the latest (El Capitan) OSX version and does not support current
  shipping Oculus hardware.
- Oculus 1.x runtime will continue to be supported for Oculus on Windows.

MozReview-Commit-ID: 2c7qViLoyr0
2016-05-27 13:49:09 -07:00
Kearwood (Kip) Gilbert 2c3a6a5f88 Bug 1250244 - Part 2: Remove old VR rendering paths,r=gw280
MozReview-Commit-ID: 8H7spQggI2w
2016-05-27 13:49:04 -07:00
Mason Chang 1559a95bbf Bug 1294347. Use Dwrite fonts with the skia backend by default. r=dvander 2016-08-11 14:02:11 -07:00
Lee Salzman dbe0c4bffe Bug 1295079 - check if FcPattern creation fails in gfxFontconfigFontEntry::CreateFontInstance. r=jfkthame
MozReview-Commit-ID: 1dFKnP4rQgx
2016-08-17 12:01:01 -04:00
Mason Chang 21793bcce5 Bug 1290323. Write alpha values for plugin surfaces when using the Skia backend. r=jrmuizel 2016-08-05 10:29:12 -07:00
Carsten "Tomcat" Book 90f6c2d3fd Backed out changeset 02d76f158f3d (bug 1259571) for talos xperf regressions
--HG--
rename : gfx/thebes/DeviceManagerDx.cpp => gfx/thebes/DeviceManagerD3D11.cpp
rename : gfx/thebes/DeviceManagerDx.h => gfx/thebes/DeviceManagerD3D11.h
2016-08-08 11:53:51 +02:00
Sotaro Ikeda 41a9daf725 Bug 1259571 - Try tearing-free drawing with GDI r=dvander,mattwoodrow
--HG--
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
2016-08-07 23:54:12 -07:00
Carsten "Tomcat" Book cf611bec79 merge mozilla-inboudn to mozilla-central a=merge 2016-08-05 12:01:14 +02:00
Andrew Comminos 6417a88066 Bug 1292326 - Let layers.acceleration.force-enabled apply to the OPENGL_COMPOSITING feature. r=jrmuizel
MozReview-Commit-ID: 2Lx4CVOao6S

--HG--
extra : rebase_source : b7d3ff19ab2e219ac78a681d7a7785f2f6b57abe
2016-08-04 16:15:20 -04:00
David Anderson cf5f37f7c3 Add BrowserTabsRemoteAutostart to gfxVars. (bug 1288259 part 6, r=jrmuizel)
--HG--
extra : rebase_source : 4e9dce46b658ecf7a13afaa2e9bb1ba35714c38f
2016-08-04 11:33:44 -07:00
David Anderson 27679a9d30 Move UseXRender from gfxPlatformGtk to gfxVars. (bug 1288259 part 5, r=jrmuizel)
--HG--
extra : rebase_source : e2f8337fe9063ba4bd316c5ae4cb6b475f70d36f
2016-08-04 11:33:44 -07:00
David Anderson bf733b4fbb Add the 2D content backend to gfxVars. (bug 1288259 part 4, r=jrmuizel)
--HG--
extra : rebase_source : e805a138c71963f4f80ec218d9be05fde6544f02
2016-08-04 11:33:44 -07:00
David Anderson 456bcd0248 Move TileSize from gfxPlatform to gfxVars. (bug 1288259 part 3, r=jrmuizel)
--HG--
extra : rebase_source : 5a48bb72b10c8d9c1c5c96b8d2076a6d33cabc24
2016-08-04 11:33:43 -07:00
David Anderson 9e49bc37bb Introduce gfxVars for sharing graphics variables across processes. (bug 1288259 part 2, r=jrmuizel,billm)
--HG--
extra : rebase_source : cbac742f7165a2fbdec3e4d1179c9ed49324579f
2016-08-04 11:33:42 -07:00
Carsten "Tomcat" Book 389a3e0817 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : mobile/android/base/java/org/mozilla/gecko/GeckoAppShell.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/GeckoLayerClient.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/GeckoLayerClient.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/LayerRenderer.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/LayerRenderer.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/PanningPerfAPI.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/PanningPerfAPI.java
2016-08-04 15:55:50 +02:00
Emilio Cobos Álvarez e1e6b574d9 Bug 1288938: layout: Move the GlyphObserver to the text run instead of the frame. r=jfkthame
MozReview-Commit-ID: KphTCkcZeid
2016-08-03 10:53:37 -07:00
Andrew Comminos b8d09bb817 Bug 1291845 - Use the compositor X display on the GLX VSync thread. r=lsalzman
MozReview-Commit-ID: ZC5MJd0BUJ

--HG--
extra : rebase_source : a8c035a02355c2dfa24a28ba125ddb4b13304e3a
2016-08-03 15:59:15 -04:00
Nathan Froyd e53dd1c5f7 Bug 1290160 - followup to fix static analysis bustage on a CLOSED TREE; r=me 2016-08-03 17:17:22 -04:00
Nathan Froyd 6a26598a10 Bug 1290160 - reduce codesize required by gfxPrefs; r=milan
Every gfxPrefs::PrefTemplate template declares its own virtual function
overrides for functions declared in gfxPrefs::Pref.  The compiler must
therefore create separate copies of each of these virtual functions when
it instantiates PrefTemplate.  Since several of these virtual functions
only depend on the template parameter T, the type of the pref, many
instantiations of the functions are identical.  The duplicate functions
would normally be merged by identical code folding performed in the
linker, but since these are virtual functions and therefore have their
addresses taken (to be stored in the class's vtable), the linker (at
least for the settings we use for identical code folding) cannot fold
duplicated functions together.

Therefore, we have to do the de-duplication ourselves, by creating an
intermediate templated base class that only depends on the type of the
pref.  With this class, only three copies of each virtual function will
be created (one each for bools, floats, and ints).  We sneak in
GetLiveValue() into this base class for another small codesize win, even
though it's not a virtual function.
2016-08-03 17:02:33 -04:00
Mason Chang 25944ce750 Bug 942688 - Draw Cocoa Widget without assuming DrawTargetCG. r=mstange 2016-08-03 07:53:12 -07:00
Matt Woodrow 80d8ecc1fd Bug 1284672 - Try use an exsiting D3D11 device for video rather than creating new ones. r=dvander
--HG--
extra : rebase_source : 16208d3a63ea64e824d283f57c8f53c958900de6
2016-08-02 18:46:27 +12:00
Matt Woodrow 51b6bd9f58 Bug 1289640 - Part 6: Allow access to the D3D11 content device from other threads. r=dvander
--HG--
extra : rebase_source : 63d31cb207e6d8903fb0bef268c4d1a1a24bf11f
2016-08-03 15:28:18 +12:00
Matt Woodrow 2254f8e498 Bug 1289640 - Part 5: Delete the D3D11 image bridge device since it no longer has any callers. r=dvander
--HG--
extra : rebase_source : 8ed9418b70d889f8544e23cd624925835e62e9dd
2016-08-02 17:58:17 +12:00
Jonathan Watt db80f397f6 Bug 1058040, part 2 - Rename gfxTextContextPaint to SVGContextPaint and add some code comments. r=dholbert 2016-07-22 14:56:09 +01:00
Jonathan Watt c5d930fd27 Bug 1058040, part 1 - Move gfxTextContextPaint to a separate file to enable use in imagelib. r=dholbert 2016-07-22 12:07:39 +01:00
Jonathan Watt 0e69308cc1 Bug 1290781 - Make the propagation of context paint to SVG glyphs much more robust. r=heycam 2016-07-21 14:33:11 +01:00
Iris Hsiao d1330cfd9f Backed out changeset 0d4ae62cc21a (bug 1289640) 2016-08-02 16:51:20 +08:00
Iris Hsiao 74a4c960e4 Backed out changeset 2120884d5cb5 (bug 1284672) 2016-08-02 16:51:11 +08:00
Matt Woodrow a6c0c60716 Bug 1284672 - Try use an exsiting D3D11 device for video rather than creating new ones. r=dvander
--HG--
extra : rebase_source : 0e9b01742f1726bf385bf28257392415a09360bd
2016-08-02 18:46:27 +12:00
Matt Woodrow f1c314c175 Bug 1289640 - Part 5: Delete the D3D11 image bridge device since it no longer has any callers. r=dvander 2016-08-02 17:58:17 +12:00
Seth Fowler c379e3a8ce Bug 1290681 (Part 3) - Remove the single color optimization pref. r=edwin 2016-08-01 17:51:15 -07:00
Jeff Gilbert 8ada226207 Bug 1290987 - s/enable-prototype-webgl2/enable-webgl/ - r=jrmuizel,mrbkap CLOSED TREE
MozReview-Commit-ID: 3EArs8BLTpK
2016-08-01 14:13:01 -07:00
Carsten "Tomcat" Book 3c40ac6f0b merge mozilla-inbound to mozilla-central a=merge 2016-07-30 16:20:57 +02:00
George Wright cf7ed9ce47 Bug 1289525 - Grow the pool one at a time instead of in chunk of increment size r=jrmuizel 2016-07-30 00:20:28 -04:00
Ethan Lin 3a8eda58a3 Bug 1289276 - Add gfxPlatform::CreateSimilarSoftwareDrawTarget to unify software fallback backend. r=mstange 2016-07-28 18:32:00 -04:00
Andi-Bogdan Postelnicu a40e2399f2 Bug 1282408 - add ignore initialization check flag for variables from GlyphRunIterator. r=jrmuizel
MozReview-Commit-ID: 1KAlxDtZyMe
2016-07-28 11:30:09 +03:00
Eric Rahm 9b63cf4f52 Bug 1289598 - Remove warning about software vsync. r=mchang 2016-07-27 11:46:39 -07:00
Mason Chang 1423b59715 Bug 1278408. Report a constant vsync interval diff on windows. r=jrmuizel 2016-07-26 11:12:24 -07:00
Wes Kocher 0291de30b7 Backed out changeset 7d6baa38a04c (bug 1288938) for reftest crashes 2016-07-28 22:43:49 -07:00
Emilio Cobos Álvarez 4e30f13399 Bug 1288938: layout: Move the GlyphObserver to the text run instead of the frame. r=jfkthame
MozReview-Commit-ID: KphTCkcZeid
2016-07-28 15:19:14 -07:00
David Anderson 21cab137bc Move D3D11 device creation out of gfxWindowsPlatform. (bug 1282364 part 3, r=mattwoodrow)
--HG--
extra : rebase_source : 2eadd72cf0c101c61fc3b2ab35d958fb3d540562
2016-07-26 13:22:13 -07:00
David Anderson 572069e3e9 Move D3D11 checking logic out of gfxWindowsPlatform. (bug 1282364 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : df247cc5d03a111075eb4b201618dd957213d76f
2016-07-26 13:19:48 -07:00
David Anderson b7855c4ee9 Add DeviceManagerD3D11 as a wrapper around gfxWindowsPlatform. (bug 1282364 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 3ea710ffdaabf737374958e80f6235c1c8861237
2016-07-26 12:50:30 -07:00
Nicolas Silva 494bfd6931 Bug 1284837 - Build fix. 2016-07-26 18:55:28 +02:00
Nicolas Silva 48805c9b3e Bug 1284837 - Disallow implicit conversions from float to integer when creating IntPoint and IntSize objects. r=botond 2016-07-26 16:48:30 +02:00