Commit Graph
631 Commits
Author SHA1 Message Date
sotaro b6bd39f8ee Bug 1380979 - Enable DXGITextureHostD3D11 usage with WebRender r=nical 2017-08-09 14:28:15 +09:00
Lee Salzman 0c67011261 Bug 1385029 - require implementation of gfxFont::GetScaledFont and remove unnecessary gfxPlatform::GetScaledFontForFont. r=jfkthame
MozReview-Commit-ID: GP1Aekecb0s
2017-08-07 16:20:44 -04:00
Kevin Chen 526bf64c2f Bug 1386182 - Set FeatureState after EnableByDefault() in gfxWindowsPlatform::InitializeD3D11Config; r=jerry
MozReview-Commit-ID: G0Ozjq0bFRt
2017-08-01 17:19:17 +08:00
Lee Salzman a1560a78f0 Bug 1383817 - clamp gamma/contrast for ScaledFontDWrite when creating SkTypeface. r=mchang
MozReview-Commit-ID: LSSffVooDCI
2017-07-24 14:12:26 -04:00
Kevin Chen 492c4c2cff Bug 1351349 - Blacklist Intel HD Graphics 510/520/530 for Windows 7 without platform update; r=dvander
MozReview-Commit-ID: F94OfZGBRQj
2017-07-20 18:09:47 +08:00
Jonathan Kew 783c0971ac Bug 1381471 - Refactor gfxPlatform::IsFontFormatSupported implementations to put all the cross-platform behavior in the base class and remove most overrides. r=heycam 2017-07-20 09:57:00 +01:00
Kevin Chen 44b191ee4a Bug 1364563 - Add a path for content process only device reset. r=dvander 2017-07-18 23:09:00 -04:00
Ehsan Akhgari fd1464fa7a Backout changeset bc5d9e5f1c02 (bug 1364563) because of build failures
This reverts commit a5224fd3910ee5116669728fcd5b154e051371fd.
2017-07-19 00:27:36 -04:00
David Anderson c91876eebc Store and return D2D singletons in RefPtrs. (bug 1380922 part 1, r=mchang) 2017-07-18 12:15:39 -07:00
Kevin Chen e7025c3564 Bug 1364563 - Add a path for content process only device reset. r=dvander 2017-07-17 00:13:00 -04:00
Carsten "Tomcat" Book a3fccb964c merge mozilla-inbound to mozilla-central a=merge 2017-07-13 16:35:22 +02:00
Cameron McCormack f60fbe7009 Bug 1376964 - Part 7: Remove unused nsIURI argument from gfxPlatform::IsFontFormatSupported. r=jfkthame
MozReview-Commit-ID: LJ6nnZEGz7D
2017-07-08 14:17:23 +08:00
Carsten "Tomcat" Book a92f438d44 Backed out changeset aafb719b4379 (bug 1376964) 2017-07-12 12:41:29 +02:00
Cameron McCormack 84d437b953 Bug 1376964 - Part 7: Remove unused nsIURI argument from gfxPlatform::IsFontFormatSupported. r=jfkthame
MozReview-Commit-ID: LJ6nnZEGz7D
2017-07-12 16:36:15 +08:00
Carsten "Tomcat" Book dfdae6d993 Backed out changeset a60731cb1a7f (bug 1376964) 2017-07-12 10:32:15 +02:00
Cameron McCormack 91561ba0a0 Bug 1376964 - Part 7: Remove unused nsIURI argument from gfxPlatform::IsFontFormatSupported. r=jfkthame
MozReview-Commit-ID: LJ6nnZEGz7D
2017-07-12 13:03:35 +08:00
David Anderson bde9361223 Rebuild configuration info when a device reset occurs. (bug 1377866 part 4, r=kechen) 2017-07-10 19:30:58 -07:00
David Anderson 839c7cbab4 Disable Advanced Layers when the sanity test fails. (bug 1377866 part 3, r=mchang) 2017-07-10 19:30:52 -07:00
Sebastian Hengst ce9a5141fc Backed out changeset be7d6aa4aef3 (bug 1376026) for failing browser_bug970746.js on Windows 7 VM. r=backout 2017-07-07 21:42:42 +02:00
Sebastian Hengst 40c345b810 Backed out changeset 24421d72ba08 (bug 1376026) 2017-07-07 21:42:09 +02:00
Lee Salzman e7036f6886 Bug 1376026 - fix plumbing of DWrite parameters for Skia fonts to not depend on gfxPlatform. r=jrmuizel
MozReview-Commit-ID: 5K9201eCSv
2017-06-30 14:09:05 -04:00
Lee Salzman bebcd41ead Bug 1376026 - assume DWrite is available on Windows 7 even without the platform update. r=jrmuizel 2017-06-30 13:46:21 -04:00
David Anderson eb9524095e Block Advanced Layers on older Intel HD Graphics hardware. (bug 1377866 part 2, r=jrmuizel) 2017-07-06 18:31:27 -07:00
David Anderson 5fd0c35002 Move AL configuration code to a separate function. (bug 1377866 part 1, r=jrmuizel) 2017-07-06 18:31:23 -07:00
sotaro 2239fe6441 Bug 1378649 - Use skia as default content backend on windows r=jrmuizel 2017-07-07 07:47:40 +09:00
Carsten "Tomcat" Book 662d186661 Backed out changeset a93c71a7ef8b (bug 1376026) for failures like DirectWrite not supported on Windows 2008 or older 2017-07-06 08:12:22 +02:00
Carsten "Tomcat" Book 645c508c7b Backed out changeset d09fb3a5cedf (bug 1376026) 2017-07-06 08:11:48 +02:00
Carsten "Tomcat" Book 5ba0670adb Backed out changeset 581652145f1b (bug 1376026) 2017-07-06 08:11:47 +02:00
Lee Salzman 779c9cfe57 Bug 1376026 - fix DWriteEnabled usage. r=me 2017-07-06 00:03:58 -04:00
Lee Salzman 8169c35d43 Bug 1376026 - fix plumbing of DWrite parameters for Skia fonts to not depend on gfxPlatform. r=jrmuizel 2017-06-30 14:09:05 -04:00
Lee Salzman 692ee7379f Bug 1376026 - assume DWrite is available on Windows 7 even without the platform update. r=jrmuizel 2017-06-30 13:46:21 -04:00
Bill McCloskey ce42826bdf Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
David Anderson 1652b62373 Add MLGPU feature bits and compositor initialization. (bug 1365879 part 21, r=mattwoodrow) 2017-06-23 14:23:12 -07:00
Carsten "Tomcat" Book 5bc135a59c Merge mozilla-central to mozilla-inbound 2017-06-23 12:22:24 +02:00
Carsten "Tomcat" Book 1560e65352 Backed out changeset 9d0048e04446 (bug 1365879) 2017-06-23 12:15:32 +02:00
Nicholas Nethercote a58025002f Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange.
This patch makes the following changes to the macros.

- Removes PROFILER_LABEL_FUNC. It's only suitable for use in functions outside
  classes, due to PROFILER_FUNCTION_NAME not getting class names, and it was
  mostly misused.

- Removes PROFILER_FUNCTION_NAME. It's no longer used, and __func__ is
  universally available now anyway.

- Combines the first two string literal arguments of PROFILER_LABEL and
  PROFILER_LABEL_DYNAMIC into a single argument. There was no good reason for
  them to be separate, and it forced a '::' in the label, which isn't always
  appropriate. Also, the meaning of the "name_space" argument was interpreted
  in an interesting variety of ways.

- Adds an "AUTO_" prefix to PROFILER_LABEL and PROFILER_LABEL_DYNAMIC, to make
  it clearer they construct RAII objects rather than just being function calls.
  (I myself have screwed up the scoping because of this in the past.)

- Fills in the 'js::ProfileEntry::Category::' qualifier within the macro, so
  the caller doesn't need to. This makes a *lot* more of the uses fit onto a
  single line.

The patch also makes the following changes to the macro uses (beyond those
required by the changes described above).

- Fixes a bunch of labels that had gotten out of sync with the name of the
  class and/or function that encloses them.

- Removes a useless PROFILER_LABEL use within a trivial scope in
  EventStateManager::DispatchMouseOrPointerEvent(). It clearly wasn't serving
  any useful purpose. It also serves as extra evidence that the AUTO_ prefix is
  a good idea.

- Tweaks DecodePool::SyncRunIf{Preferred,Possible} so that the labelling is
  done within them, instead of at their callsites, because that's a more
  standard way of doing things.
2017-06-22 17:08:53 +10:00
David Anderson d2fb1ed134 Add MLGPU feature bits and compositor initialization. (bug 1365879 part 21, r=mattwoodrow) 2017-06-22 21:12:19 -07:00
Carsten "Tomcat" Book 238bf154d5 Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
Bill McCloskey 67e8af4720 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book bbe9441993 Backed out changeset 9846de3bd954 (bug 1372405) 2017-06-20 08:27:02 +02:00
Bill McCloskey f69608368b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
David Anderson e010c220c2 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 2a3cacfc67 Bug 1356091: Allow the compositor process with the software compositor. r=dvander
MozReview-Commit-ID: Ljt73heC0k4
2017-04-13 00:08:09 -04:00
Lee Salzman 4193b0bc43 Bug 1348980 - implement UnscaledFont API for Moz2D and thebes. r=jfkthame 2017-04-06 17:41:02 -04:00
Mason Chang a9199ca6b1 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 aae032dffc 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
2017-03-11 19:06:40 +09:00
Kartikaya Gupta 3310292d49 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
2017-03-10 15:18:48 -05:00
Ryan VanderMeulen e6153cf901 Backed out changeset cf2b0421dd57 (bug 1345222) for suspicion of causing bug 1346215. 2017-03-10 11:43:33 -05:00
Masatoshi Kimura 2883d88791 Bug 1345222 - Fix user-set ClearType params detection. r=mchang
MozReview-Commit-ID: B7bCPbZ9id9
2017-03-10 00:47:44 +09:00
David Anderson 80fa3494e1 Remove references to the Direct3D9 compositor. (bug 1318558 part 1, r=mattwoodrow) 2017-03-08 00:17:36 -08:00