Jonathan Kew
5fdff24eba
Bug 1529241 - Preliminary cleanup - remove gfxPlatform::SetupClusterBoundaries, as it doesn't have any callers. r=m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D25100
--HG--
extra : moz-landing-system : lando
2019-03-28 08:59:10 +00:00
Gijs Kruitbosch
8e02fa26bc
Bug 1519241 - remove nightly-only low-end device detection, r=kats,chutten,flod,mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D24345
--HG--
extra : moz-landing-system : lando
2019-03-22 08:44:18 +00:00
Lee Salzman
a330f87601
Bug 1530471 - remove Moz2D/thebes SkiaGL glue r=jrmuizel
...
Depends on D21052
Differential Revision: https://phabricator.services.mozilla.com/D21053
--HG--
extra : moz-landing-system : lando
2019-02-28 14:59:16 +00:00
Bas Schouten
5c3778d6dd
Bug 1519739: Attempt to create Direct2D paths on the paint thread. r=rhunt
...
Differential Revision: https://phabricator.services.mozilla.com/D16433
--HG--
extra : rebase_source : 98c1a0461d7498d2658de54ded796025c7a0beb6
2019-01-14 01:16:17 +01:00
Gijs Kruitbosch
38b9379998
Bug 1515103 - show frame rate and whether we're on a low end device in about:support, r=kats,jaws,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D15844
--HG--
extra : moz-landing-system : lando
2019-01-08 15:48:24 +00:00
Bogdan Tara
9600ad4953
Backed out changeset b776171d854c (bug 1515103) for browser_Troubleshoot.js failures CLOSED TREE
2019-01-07 22:28:59 +02:00
Gijs Kruitbosch
fca05d0c79
Bug 1515103 - show frame rate and whether we're on a low end device in about:support, r=kats,jaws,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D15844
--HG--
extra : moz-landing-system : lando
2019-01-07 18:48:11 +00:00
Sylvestre Ledru
cccdda3c2a
Bug 1516555 - Reformat everything to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D15426
--HG--
extra : moz-landing-system : lando
2018-12-28 15:48:06 +00:00
sotaro
757062cdf2
Bug 1513308 - Lazily initialize DirectX devices for WebRender r=mattwoodrow
2018-12-18 14:54:28 +09:00
Gijs Kruitbosch
c731d09803
Bug 1503339 - update frame rate at runtime, r=kats
...
Depends on D13260
Differential Revision: https://phabricator.services.mozilla.com/D13261
--HG--
extra : moz-landing-system : lando
2018-12-14 20:16:23 +00:00
Gijs Kruitbosch
5ff84b28d4
Bug 1503339 - try using a lower frame rate for low-end devices r=kats,mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D13260
--HG--
extra : moz-landing-system : lando
2018-12-14 20:16:16 +00:00
Tooru Fujisawa
7983faeb5d
Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp
2018-12-01 04:52:05 +09:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Matt Woodrow
3e879986fc
Bug 1507680 - Record detailed statistics about slow WebRender frames in about:support. r=jrmuizel
...
MozReview-Commit-ID: 84SjN1RvvAA
Differential Revision: https://phabricator.services.mozilla.com/D12372
--HG--
extra : rebase_source : 80e3342280723a2404c6aad7d26b1327906c9e4a
2018-11-16 15:13:56 +13:00
Andrew Osmond
44a3847f77
Bug 1490942 - Ignore UPS batteries for WebRender qualified purposes. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D8255
2018-10-23 13:08:40 -04:00
Jean-Yves Avenard
c38d8622a3
Bug 1497294 - P8. Disable P010 surface type with nvidia adapters. r=mattwoodrow
...
It just doesn't work.
We add the preference media.wmf.force.allow-p010-format to force enable it.
Depends on D8136
Differential Revision: https://phabricator.services.mozilla.com/D8310
--HG--
extra : moz-landing-system : lando
2018-10-11 07:32:35 +00:00
Jonathan Kew
6f42f167fb
Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman
2018-09-12 20:34:57 +01:00
Daniel Holbert
5584dee150
Bug 1485161: Make gfxPlatform::GetDefaultFontName() return nsAutoString, to enable possibility of Return Value Optimization & to address build warning. r=jfkthame
...
This function uses a nsAutoString internally, and its caller stores its
returned value in a nsAutoString. So it's silly for us to have it return a
different type (nsString). With this change, the compiler should be able to
perform return value optimization and avoid the need for any
copying/reallocation of this function's return value.
Differential Revision: https://phabricator.services.mozilla.com/D3926
--HG--
extra : moz-landing-system : lando
2018-08-22 13:34:16 +00:00
Nicolas Silva
33f0e6077e
Bug 1482109 - Use the generic memory pressure observer in gfxPlatfrom. r=sotaro
2018-08-10 17:15:12 +02:00
Brian Hackett
99d34528e4
Bug 1465466 Part 1 - Use a separate compositor in recording/replaying processes, r=nical.
...
--HG--
extra : rebase_source : 003f6557370f2e4e6959ea14e833f7e2e617c5b0
2018-07-23 21:46:47 +00:00
Kris Maglione
ef3718fbe1
Bug 1473631: Part 8 - Replace pref observers with callbacks in gfxPlatform. r=njn
...
MozReview-Commit-ID: GNTGqvahsoz
--HG--
extra : rebase_source : 4ca9d989ffd1f30d2fb4b9726ec0d814a7412266
2018-07-05 14:43:02 -07:00
Chris Peterson
2afd829d0f
Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.
MozReview-Commit-ID: 5UQVHElSpCr
--HG--
extra : rebase_source : 4c1b2fc32b269342f07639266b64941e2270e9c4
extra : source : 907543f6eae716f23a6de52b1ffb1c82908d158a
2018-06-17 22:43:11 -07:00
Jonathan Kew
1171052be1
Bug 1425812 - Rely on native Core Text support for COLR/CPAL fonts on High Sierra. r=lsalzman
2018-05-29 17:07:48 +01:00
sotaro
196c70b995
Bug 1437334 - Block DX NV12 on SandyBridge for old graphics drivers r=jrmuizel
2018-05-17 12:07:20 +09:00
Ryan Hunt
5516d12e7b
Bug 1457007 - Add about:support information on if tiling is used in the content process. r=nical
...
MozReview-Commit-ID: 1JewsArgmZz
--HG--
extra : rebase_source : 85e8e1101ca852baee9e1448267e59b19c9d84e1
2018-04-30 15:05:19 -05:00
Jonathan Kew
2a3d1d4598
Bug 1454598 - part 4 - Disable font variations on macOS Sierra due to Core Text unreliability. r=jwatt
2018-04-25 14:03:44 +01:00
Jonathan Kew
c57f185cd9
Bug 1454598 - part 3 - Use WeightRange more extensively in place of FontWeight throughout user-font handling and font-entry creation, and handle Stretch and SlantStyle similarly. r=jwatt
2018-04-25 07:18:23 +01:00
Jonathan Kew
7e27ba83c3
Backed out 4 changesets from bug 1454598 (26e036b1c703, bc910e36a7d7, bac001216577, 5af215d265b6) due to macOS 10.12 font issues.
2018-04-25 10:18:07 +01:00
Jonathan Kew
8489323f79
Bug 1454598 - part 3 - Use WeightRange more extensively in place of FontWeight throughout user-font handling and font-entry creation, and handle Stretch and SlantStyle similarly. r=jwatt
2018-04-25 07:18:23 +01:00
Jonathan Watt
156c4af1ec
Bug 1436048: Use user defined types for font-stretch / font-style. r=jfkthame,jwatt
...
Co-authored-by: Emilio Cobos Álvarez <emilio@crisal.io>
MozReview-Commit-ID: 7ONYtICeAqb
2018-04-23 18:22:05 +02:00
Ryan Hunt
d1e87928b5
Bug 1438551 - Add a pref for enabling tiles when we are using skia with parallel painting. r=nical
...
MozReview-Commit-ID: JVIFr2wUWHD
--HG--
extra : rebase_source : 67cf74011993a971d66d9a7350171f0190ec08cd
2018-04-10 11:29:14 -05:00
Jonathan Kew
94238d9823
Bug 1452973 - Update NS_FONT_STRETCH_* constants to values based on the percentage definitions in css fonts 4. r=jwatt
2018-04-16 10:00:57 +01:00
Jonathan Watt
1e7f76576a
Bug 1436048 part 1 - Use a user defined type for font weight everywhere. r=jfkthame,emilio
...
--HG--
extra : rebase_source : 2e267ff99de6f52484e34ac15c39e5ca8b473394
2018-04-13 20:34:37 +01:00
Jonathan Kew
c66fb1e660
Bug 1451296 - Make enabling of font-variation-settings and font-optical-sizing properties dependent on adequate platform support at runtime. r=lsalzman
2018-04-05 18:53:56 +01:00
sotaro
57a55d1c2d
Bug 1411481- Enable SkiaGL canvas usage on Mac r=jrmuizel
2018-03-21 08:59:38 +09:00
sotaro
0cc1972d14
Bug 1432039 - Improve assumption of content process's back-end prefs r=jrmuizel
2018-03-15 14:48:54 +09:00
Andrew Osmond
d41a50c664
Bug 1421818 - Disable D2D backend if WebRender is enabled. r=jrmuizel
2018-03-02 13:16:26 -05:00
sotaro
9ee2dd9629
Bug 1422288 - Disable d2d for canvas when ANGLE is disable with WebRender r=nical
2018-01-24 13:16:35 +09:00
Ryan Hunt
fff3bf05d6
Create a PaintWorker thread pool and dispatch tiles to it (bug 1425056, r=bas)
...
This commit adds a paint worker thread pool to PaintThread, and dispatches
tiled paints to it. The thread pool is only created if tiling is enabled,
and its size is set by 'layers.omtp.paint-workers' and defaults to 1. If
-1 is specified, it will be sized to 'max((cpu_cores * 3) / 4, 1)'.
The one tricky part of dispatching tiled paints to a thread pool is the
AsyncEndLayerTransaction message that must execute once all paints are
finished. Previously, this runnable would be queued after all the paints
had been queued, ensuring it would be run after they had all completed.
With a thread pool, there is no guarantee. Instead this commit, uses
a flag on CompositorBridgeChild to signify whether all of the paints
have been queued ('mOutstandingAsyncEndLayerTransaction'), and after
every tiled paint it is examined to see if that paint was the last
paint, and if it is to run AsyncEndLayerTransaction. In addition,
if the async paints complete before we even mark the end of the
layer transaction, we queue it like normal.
The profiler markers are also complicated by using a thread pool.
I don't know of a great way to keep them working as they are per
thread, so for now I've removed them. I may have been the only
one using them anyway.
MozReview-Commit-ID: 5LIJ9GWSfCn
--HG--
extra : rebase_source : 0c26806f337a1b4b1511945f9c72e787b426c5ba
2017-12-08 01:18:05 -06:00
Kartikaya Gupta
faa99bda0c
Bug 1426191 - Update test_acceleration to check for webrender windows. r=dvander
...
MozReview-Commit-ID: gbBJs4OR9f
--HG--
extra : rebase_source : c165aa54e87dad2872b4eafdb8ca70b4ca6e994c
2017-12-21 09:25:07 -05:00
Andrew Osmond
675137dd9f
Bug 1419767
- Remove gfxPlatform::CanRenderContentToDataSurface. r=nical
...
Factory::DoesBackendSupportDataDrawtarget already fulfills the same
purpose and we should use that instead, as imgFrame is the only user of
the former API. It has the added bonus of allowing us to use shared
surfaces on Linux with WebRender, and using volatile surfaces on Windows
when D2D is disabled.
2017-11-24 08:10:03 -05:00
Jonathan Kew
a889197da2
Bug 1412090 - patch 2 - Rework the fontconfig-based platform font list implementation to pass the list of available font patterns from chrome to content, instead of letting the content process get it directly from fontconfig. r=lsalzman
2017-11-02 20:29:33 +00:00
Jonathan Kew
c28cae074c
Bug 1412090 - patch 1 - Wrap the font family record used to pass font info from chrome to content on macOS in a union, in preparation for using the same mechanism with a different type of font record on Linux. (No functional change here, just the added union type and some renamings from 'font family list' to 'font list' to be more generic.) r=lsalzman
2017-11-02 17:23:16 +00:00
Jonathan Kew
7036cc5f85
Backed out changesets 75e7f32c3365, eec946b59360, 72a6f5f3512c, ea8ee40ed426 (bug 1412090) for apparently breaking all system-installed fonts on some Linux systems. r=backout
2017-11-10 16:05:33 +00:00
Jonathan Kew
0ba9f9c57b
Bug 1412090 - patch 2 - Rework the fontconfig-based platform font list implementation to pass the list of available font patterns from chrome to content, instead of letting the content process get it directly from fontconfig. r=lsalzman
2017-11-02 20:29:33 +00:00
Jonathan Kew
90bf3da506
Bug 1412090 - patch 1 - Wrap the font family record used to pass font info from chrome to content on macOS in a union, in preparation for using the same mechanism with a different type of font record on Linux. (No functional change here, just the added union type and some renamings from 'font family list' to 'font list' to be more generic.) r=lsalzman
2017-11-02 17:23:16 +00:00
Nicholas Nethercote
d225f7151b
Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
...
(Path is actually r=froydnj.)
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
MozReview-Commit-ID: 91U22X2NydP
--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
Alexis Beingessner
9022c22b82
Bug 1400382 - Replace explicit TextDrawTarget passing with cast-based system. r=mstange
...
MozReview-Commit-ID: EQtFvLQCT2U
--HG--
extra : rebase_source : 1fff1b545c18d42403cf9c30172528e553a6af48
2017-09-21 15:15:58 -04:00
Jonathan Kew
5f318d222b
Bug 1334761 - Update ClearType usage at startup, and flush caches and reflow everything if it changes during the session. r=bas
2017-09-14 17:26:53 +01:00
Botond Ballo
236b0fa4f4
Bug 1394926 - Add APZ autoscroll information to about:support. r=kats
...
MozReview-Commit-ID: FlZNdHuoirG
--HG--
extra : rebase_source : 1cc352dc9a19c4a15d5bf7e75370a68c13024dda
2017-08-29 16:27:19 -04:00
Kevin Chen
9fa0238d13
Bug 1362321 - Do not crash in gfxPlatform:Init if there is a TDR happening; r=bas
...
MozReview-Commit-ID: 9gJCErHosg1
--HG--
extra : rebase_source : 6fc0e95b18ee795f2571d82ca81f3a72970142b3
2017-08-09 18:00:01 +08:00
Eric Rahm
79e2533076
Bug 1389598 - Part 1: Remove gonk references from gfx/ r=jrmuizel
...
--HG--
extra : rebase_source : f53ae270c09892d65d9119a109a29317834f81b1
2017-08-11 17:45:50 -07:00
Lee Salzman
a21ad6d19e
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
Jonathan Kew
10934e3b01
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
Cameron McCormack
c770a5a921
Bug 1376964 - Part 7: Remove unused nsIURI argument from gfxPlatform::IsFontFormatSupported. r=jfkthame
...
MozReview-Commit-ID: LJ6nnZEGz7D
--HG--
extra : rebase_source : 9f47d839aa4572ed2fc2d15a4986c8bc30d3f2ca
2017-07-08 14:17:23 +08:00
Carsten "Tomcat" Book
a269ba0e44
Backed out changeset aafb719b4379 (bug 1376964)
2017-07-12 12:41:29 +02:00
Cameron McCormack
ab22ddb3c6
Bug 1376964 - Part 7: Remove unused nsIURI argument from gfxPlatform::IsFontFormatSupported. r=jfkthame
...
MozReview-Commit-ID: LJ6nnZEGz7D
--HG--
extra : rebase_source : a12c270beb85467955c044c9c068d22de5db8f45
2017-07-12 16:36:15 +08:00
Carsten "Tomcat" Book
3a6a347356
Backed out changeset a60731cb1a7f (bug 1376964)
2017-07-12 10:32:15 +02:00
Cameron McCormack
c4d27f68a0
Bug 1376964 - Part 7: Remove unused nsIURI argument from gfxPlatform::IsFontFormatSupported. r=jfkthame
...
MozReview-Commit-ID: LJ6nnZEGz7D
--HG--
extra : rebase_source : 1636e695ca025e6fbcade8258746ffb38adc5b26
2017-07-12 13:03:35 +08:00
Kartikaya Gupta
78bfd54626
Bug 1378355 - Extract gfxPlatform wrappers for MaxAllocSize and MaxTextureSize. r=bas
...
This allows us to reuse the minimum bound guards on the pref values in other
places that want to use the prefs.
MozReview-Commit-ID: 7XKuM5u1GB8
--HG--
extra : rebase_source : 9cf85c7cbe2e8511ad2db59e7bf7ba6e8db79883
2017-07-10 10:15:24 -04:00
Ryan Hunt
557ad1c73c
Bug 1351783 part 18 - Add async keyboard scrolling information to about:support. r=kats
...
MozReview-Commit-ID: LYEcRNgqZ35
--HG--
extra : rebase_source : f56e1da6733d1f41fdabcbb5d8b60087597fe4bb
extra : histedit_source : 42263e2042de7d9efba2fd445642f89ef64b7eea
2017-06-15 17:54:03 -04:00
Milan Sreckovic
012064db78
Bug 1337063: Transfer child's initial ContentDeviceData with SendSetXPCOMProcessAttributes - r=dvander
...
MozReview-Commit-ID: 8Er44xSDHhb
--HG--
extra : rebase_source : 464a09246ca095ba363f988fb9749680d8518926
2017-06-22 13:45:48 -04:00
Wes Kocher
871ead54fd
Backed out 2 changesets (bug 1365772) for valgrind failures a=backout
...
Backed out changeset 3e869b1c08d0 (bug 1365772)
Backed out changeset 66b6c25cacc7 (bug 1365772)
MozReview-Commit-ID: DnIpbwb7KPS
--HG--
extra : rebase_source : 40e29234adb1837283e0bd4be18d96b4311db869
2017-06-19 13:53:23 -07:00
Alexis Beingessner
5267043bbc
Bug 1365772 - Allow component alpha to be managed by blocklists. r=kats
...
MozReview-Commit-ID: 5iEuUtmfkLl
--HG--
extra : rebase_source : ca0c104a5c1923b21d3e40200e5a9ecd66fdebc2
2017-05-30 09:25:40 -04:00
Sebastian Hengst
905913ead5
Backed out changeset 112d854f652d (bug 1365772) for Windows bustage: 'gfxConfig': is not a class or namespace name at DeviceAttachmentsD3D11.cpp(179). r=backout on a CLOSED TREE
...
Valgrind also complains: Conditional jump or move depends on uninitialised value(s) at __get_cpuid / cpuid / read_cpu_features / operator
2017-06-19 18:23:50 +02:00
Alexis Beingessner
5c589ff480
Bug 1365772 - Allow component alpha to be managed by blocklists. r=kats
...
MozReview-Commit-ID: 5iEuUtmfkLl
--HG--
extra : rebase_source : 5c39798c464d790cd76254dedba4c76470dc2126
2017-05-30 09:25:40 -04:00
domfarolino@gmail.com
0fe1d756ab
Bug 1369542 - Hook up OMTP to config/about:support/crash annotation system. r=dvander
...
--HG--
extra : rebase_source : dbf55894b92f7964ab6f64469394117179142f9a
2017-06-06 16:18:00 -04:00
Gerald Squelart
bc7b6779e4
Bug 1356138 - Backout bug 1337063 (Msg_GetGraphicsDeviceInitData opt) for Talos regression - r=dvander
...
MozReview-Commit-ID: LS1Gg1HRwKo
--HG--
extra : rebase_source : 8b20bc37b20feac4c0b590c8b286a9ee834646e2
2017-05-09 14:40:11 +12:00
Nicholas Nethercote
625d4520a7
Bug 1357298 - Remove the 'layers.frame-counter' option. r=mstange,mattwoodrow.
...
This option turns on a frame counter that is shown in the top left corner via a
QR code. It was designed to be used in video recordings of B2G phones.
It no longer seems useful, so this patch removes it.
* * *
Bug 1357298 - Remove all traces of frame numbers and power from the profiler output. r=mstange.
--HG--
extra : rebase_source : 0ce87963ce375df64bb8d80ef2b5d40ea507bc7c
2017-04-18 15:40:24 +10:00
Gerald Squelart
63dbe37188
Bug 1337063 - Transfer child's initial ContentDeviceData with SendSetXPCOMProcessAttributes - r=dvander
...
MozReview-Commit-ID: IWCgL9aCusW
--HG--
extra : rebase_source : 31d901f99105224ac7445b487813b010fd643bb9
2017-04-12 09:37:35 +12:00
Brendan Dahl
a1f2e12af8
Bug 1338004 - Add headless browser mode. r=jrmuizel, r=ted
...
Supports creating a windowless browser on Linux without an X server. Most of the
changes are just adding branches to avoid calls in to GTK which calls
into X. Some of the bigger additions were adding a separate headless widget
which implements just enough to render a page. A headless look and
feel were also added since there are many calls into GTK in the platform
specific one.
2017-04-04 10:22:00 -04:00
Masayuki Nakano
59a906fb1a
Bug 1344990 part.3 Implement nsIFontEnumerator::GetDefaultFont() as returning first available font in font.name-list.* r=jfkthame
...
nsIFontEnumerator::GetDefaultFont() returns always nullptr. However, it's used in font setting UI at creating drop down list of available fonts. So, if we implement this as returning first available font of "font.name-list.*", it's what is the necessary UI for "default" font when "font.name.*" is empty string.
So, with this patch, the top item of font list becomes "Default (%s)" if there is available font.
MozReview-Commit-ID: cRU8gixgdF
--HG--
extra : rebase_source : beca7b7d2d423f08d35358fc84b731e817724835
2017-04-03 21:00:14 +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 Hunt
b782e91daf
Bug 1337487 - Disable WebRender on windows when the GPU process is disabled r=kats
...
--HG--
extra : amend_source : 0203452b319c21331f1f0ebcd74e3f843b7785e1
2017-02-09 00:33:54 -06:00
George Wright
97a8750da1
Bug 1314803 - Report correct values for Azure backends when the GPU process is enabled on Windows r=mattwoodrow
2017-01-26 16:19:27 -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
Lee Salzman
d5f91aa244
Bug 1309205 - part 1 - allow querying FT_Library from gfxPlatform so that Moz2d Factory can use it. r=jfkthame
...
MozReview-Commit-ID: 7kxseOOVvWi
2017-01-04 14:00:17 -05:00
Milan Sreckovic
dd0c296f12
Bug 1321075: Check if the backend is friendly to data draw target creation before attempting to make it. r=bas
...
MozReview-Commit-ID: 8jvUvrmCTAY
--HG--
extra : rebase_source : 1325c3cc3a1b02b96bb4b3cb249afeeae7a77864
2016-11-29 15:46:49 -05:00
Nicolas Silva
a247565f19
Bug 1309200 - Add gfxPlatfrom::GetSoftwareBackend. r=Bas
2016-11-28 09:40:29 +01:00
Jonathan Kew
eb88ca57ad
Bug 1314932 - Reduce content-process startup time on MacOSX by passing the system font list from chrome to content process via the GetXPCOMProcessAttributes message. r=mstange
2016-11-15 13:58:29 +00:00
Carsten "Tomcat" Book
e7ca75286b
Merge mozilla-central to inbound
2016-11-16 14:53:15 +01:00
Carsten "Tomcat" Book
fd0ff57dbb
Backed out changeset bc0e63d09f83 (bug 1314932) for causing merge conflicts with mozilla-central/autoland and so blocking m-i to m-c merge
2016-11-16 14:51:16 +01:00
Kartikaya Gupta
4c7f0577fe
Bug 1316931 - Put DX interop2 status into gfxVars. r=dvander,jgilbert
...
This allows the GLContextProviderWGL to be created on the compositor
thread, which is something we need for webrender integration.
MozReview-Commit-ID: DtBe9nUTdK7
--HG--
extra : rebase_source : b31973542beca75255b64f350f47df16435a60e3
2016-11-14 17:13:40 -05:00
Sotaro Ikeda
92926a0f41
Bug 1317656 - Cleanup more gonk/b2g dependent code r=nical
2016-11-15 22:01:30 -08:00
Jonathan Kew
48a1d6a49a
Bug 1314932 - Reduce content-process startup time on MacOSX by passing the system font list from chrome to content process via the GetXPCOMProcessAttributes message. r=mstange
2016-11-15 13:58:29 +00: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
3ffb31894f
Don't access gfxPlatform from WinCompositorWidget. (bug 1316481, r=mattwoodrow)
2016-11-09 20:49:09 -08:00
Wes Kocher
7aeeee11d0
Backed out 2 changesets (bug 1309200) for build bustage on a CLOSED TREE a=backout
...
Backed out changeset b5ad7d04ed43 (bug 1309200)
Backed out changeset 1563a66b64d8 (bug 1309200)
2016-10-28 10:22:47 -07:00
Nicolas Silva
9af48bd777
Bug 1309200 - Add gfx::Factory::GetDefaultSoftwareBackend. r=Bas
2016-10-28 18:27:37 +02:00
Nicolas Silva
73df3d530d
Bug 1309200 - Add gfxPlatfrom::GetSoftwareBackend. r=Bas
2016-10-28 18:27:33 +02: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
Mason Chang
cd84eadb22
Bug 1258751: Delete the CoreGraphics backend. r=mstange
2016-10-18 23:22:44 -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
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
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
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
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
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
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
567a7e0d65
Fix DirectX shutdown ordering issues. (bug 1296749, r=mattwoodrow)
2016-08-20 18:25:03 -07: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
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
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
Ethan Lin
3a8eda58a3
Bug 1289276 - Add gfxPlatform::CreateSimilarSoftwareDrawTarget to unify software fallback backend. r=mstange
2016-07-28 18:32:00 -04:00
George Wright
a96364de86
Bug 1288211 - Add tile size information to about:support r=milan
2016-07-21 12:51:31 -04:00
David Anderson
21a8ece643
Ensure GPU process initializes ScrollMetadata::sNullMetrics. (bug 1287917, r=kats)
2016-07-19 21:11:44 -07:00
Xidorn Quan
f01d901ec8
Bug 1283106
- Put empty skip chars in gfxPlatform singleton rather than static local variable. r=jfkthame
...
MozReview-Commit-ID: 5SU6ewm5wbd
--HG--
extra : rebase_source : f522172d3ca191ba33c222c497e91bb718fda23e
2016-07-05 11:02:24 +10:00
eyim
ec60e64569
Bug 1277314 - Add ogl compositing feature in gfxplatform r=BenWa,dvander
...
MozReview-Commit-ID: HMfvXtKV0Yk
--HG--
extra : rebase_source : 3cc6008b4655726fd740fb011ae4c152e3baf865
2016-06-20 12:29:47 -04:00
Jonathan Watt
fb6235e5e5
Bug 1278238 - Remove kDrawTarget. r=Bas
2016-05-27 19:43:34 +01:00
Milan Sreckovic
25d63511b6
Bug 1273946: Get more information on the cause of the device reset. Remove unused UpdateRenderModeIfDeviceReset method. r=dvander
...
MozReview-Commit-ID: 6NxKTBEKOvs
--HG--
extra : rebase_source : d70d7d8c9ae6a503fd4f4c8ed6e31135cbcefac1
2016-06-01 12:53:25 -04:00
Jonathan Watt
24a809a5f3
Bug 1276810 - Make gfxPlatform::ScreenReferenceDrawTarget() infallible. r=Bas
2016-05-23 20:12:10 +01:00
Edwin Flores
662e4f47a3
Bug 1272277 - Force content process device reset when the compositor is updated - r=nical
2016-05-16 12:55:02 +01:00
Jeff Muizelaar
e1beb97b75
Bug 1269387. Port D3D11 ANGLE configuration to gfxConfig. r=dvander
2016-05-09 15:57:29 -04:00
David Anderson
bfbc7d0ba3
Use gfxConfig for D3D9 preferences. (bug 1270650, r=jrmuizel)
2016-05-06 19:01:58 -07:00
Jeff Muizelaar
4e45e68439
Bug 1262427. Don't try D3D11 harder. r=dvander
...
If we know D3D11 isn't going to work we shouldn't bother
using it for ANGLE.
2016-05-04 11:34:01 -04:00
David Anderson
a4bd3b332b
Replace gfxWindowsPlatform::mD3D11Status with gfxConfig. (bug 1254899 part 9, r=jrmuizel)
2016-04-28 21:52:55 -07:00
David Anderson
f894adf887
Move DeviceInitData from gfxWindowsPlatform to gfxPlatforn. (bug 1254899 part 5, r=milan)
2016-04-28 21:52:55 -07:00
David Anderson
b7528e9778
Introduce gfxConfig, a manager for graphics feature settings. (bug 1254899 part 3, r=milan)
2016-04-28 21:52:54 -07:00
David Anderson
b1d059c49c
Refactor acceleration pref initialization. (bug 1254899 part 2, r=jrmuizel)
2016-04-28 21:52:54 -07:00
Sebastian Hengst
cab1c27b22
Backed out 13 changesets (bug 1254899) for test failure in browser_Troubleshoot.js. r=backout
...
Backed out changeset f749ee384012 (bug 1254899)
Backed out changeset 1d7eeee5a5c5 (bug 1254899)
Backed out changeset b5ab83af342c (bug 1254899)
Backed out changeset 993906e53329 (bug 1254899)
Backed out changeset e8abac801a51 (bug 1254899)
Backed out changeset e9c311c68e4a (bug 1254899)
Backed out changeset f8f3ae8c5cef (bug 1254899)
Backed out changeset d17f98a9918a (bug 1254899)
Backed out changeset 21c8a7ea2b93 (bug 1254899)
Backed out changeset 64e58f9625eb (bug 1254899)
Backed out changeset 2de214d5d1e0 (bug 1254899)
Backed out changeset f2056259d227 (bug 1254899)
Backed out changeset b805df0c8296 (bug 1254899)
2016-04-28 10:32:25 +02:00
David Anderson
80d9b8c4ce
Replace gfxWindowsPlatform::mD3D11Status with gfxConfig. (bug 1254899 part 9, r=jrmuizel)
2016-04-27 22:54:26 -07:00
David Anderson
26854d41bf
Move DeviceInitData from gfxWindowsPlatform to gfxPlatforn. (bug 1254899 part 5, r=milan)
2016-04-27 22:54:25 -07:00
David Anderson
98f11088fc
Introduce gfxConfig, a manager for graphics feature settings. (bug 1254899 part 3, r=milan)
2016-04-27 22:54:25 -07:00
David Anderson
e8a7db73e9
Refactor acceleration pref initialization. (bug 1254899 part 2, r=jrmuizel)
2016-04-27 22:54:24 -07:00
Jonathan Kew
c60f6a1ae4
Bug 1266391 - Introduce an enum class mozilla::unicode::Script, and use this instead of bare integers to specify script codes for better type checking. r=masayuki
2016-04-21 18:58:59 +01:00
Jonathan Kew
28a9e2cf14
Bug 1265452 - Remove use of nsAutoPtr from gfx/thebes. r=jrmuizel
2016-04-15 20:45:37 +01:00
Markus Stange
0466d2c67d
Bug 1265568 - Don't require component alpha layers for text with -moz-osx-font-smoothing:grayscale. r=jfkthame,mattwoodrow
...
MozReview-Commit-ID: KujmkbgadPo
--HG--
extra : rebase_source : df1db96206175e846652f3d5b247978fb5005bd2
2016-04-18 19:41:50 -04:00
Wes Kocher
f3df247887
Backed out 2 changesets (bug 1261347) for test_browserElement_oop_getWebManifest.html ASAN failures
...
Backed out changeset 4b36ba619815 (bug 1261347)
Backed out changeset 685e89b31d6b (bug 1261347)
MozReview-Commit-ID: GTd1qTIR3ni
2016-04-13 10:55:08 -07:00
Nicolas Silva
62e68018b0
Bug 1261347 - Make some noise when things are deallocated late during shutdown. r=edwin
2016-04-13 15:50:08 +02:00
Mason Chang
077e669bae
Bug 1258778
- Purge the skia glyph cache when receiving a low memory notice. r=erahm
2016-03-23 11:17:02 -07:00
Masatoshi Kimura
66f8a469ef
Bug 1255973 - Remove redundant overrides from gfxPlatform subclasses. r=jfkthame
2016-03-18 21:43:38 +09:00
David Anderson
76e3b91746
Invalidate layers when starting a transaction on a stale device. (bug 1245765 part 9, r=mattwoodrow)
...
--HG--
extra : rebase_source : 987513504b8470a501db313ab0905d20219949c0
2016-02-29 16:41:35 -05:00
Milan Sreckovic
adb3472d93
Bug 1251619: Remove unused gfxPlatform::CreateDrawTargetForUpdateSurface r=mchang
...
MozReview-Commit-ID: IWSzej9OGH1
--HG--
extra : rebase_source : f5185bdf4d7c26361133ce729d821958b2d8ae7a
2016-02-26 10:55:59 -05:00
David Anderson
0efa6917a2
Ensure that content processes recreate rendering devices. (bug 1245765 part 8, r=mattwoodrow)
2016-02-29 01:53:15 -05:00
David Anderson
08aa5f40fd
Don't propagate simulated device resets to child processes. (bug 1245765 part 3, r=mattwoodrow)
2016-02-29 01:53:13 -05:00
Milan Sreckovic
65bcdb7519
Bug 1249640: Part 2 gfxPlatform simplification when it comes to accelerated canvas, using the new blocking. r=gw280
2016-02-22 14:23:00 +01:00
Sebastian Hengst
00a63ca413
Backed out changeset 303b759e886e (bug 1249640)
2016-02-24 19:02:00 +01:00
Milan Sreckovic
1498964285
Bug 1249640: Part 2 gfxPlatform simplification when it comes to accelerated canvas, using the new blocking. r=gw280
2016-02-22 14:23:00 +01:00
Nicholas Nethercote
88696a303a
Bug 1209812 (part 6) - Convert all gfxImageFormat values to SurfaceFormat equivalents. r=jrmuizel.
...
This patch:
- Makes the following substitutions (plus necessary namespace qualifiers:
gfxImageFormat::ARGB32 --> SurfaceFormat::A8R8G8B8_UINT32
gfxImageFormat::RGB24 --> SurfaceFormat::X8R8G8B8_UINT32
gfxImageFormat::A8 --> SurfaceFormat::A8
gfxImageFormat::RGB16_565 --> SurfaceFormat::R5G6B5_UINT16
gfxImageFormat::Unknown --> SurfaceFormat::UNKNOWN
- Changes gfxImageFormat to be a typedef to gfx::SurfaceFormat. This will be
removed soon.
- Removes gfxCairoFormatToImageFormat() and gfxImageFormatToCairoFormat() and
replace calls to them with CairoFormatToGfxFormat() and
GfxFormatToCairoFormat().
- Removes ParamTraits<gfxImageFormat>.
- Add namespace qualifiers to SurfaceFormat instances where necessary.
--HG--
extra : rebase_source : f56e92b1593957a9e4e00171100bc7605816e696
2016-01-07 20:57:38 -08:00
Bas Schouten
667d7a5517
Bug 1235407 - Part 2: Add ability to force device resets through gfxWindowsPlatform. r=milan
2015-12-30 01:30:47 +01:00
Bas Schouten
3d1ad5faa9
Bug 1235407 - Part 1: Add telemetry probe to record forced resets. r=milan
2015-12-30 01:30:47 +01:00
Markus Stange
258bcc1298
Bug 1187322 - Don't require accelerated OpenGL contexts for BasicCompositor on OS X. r=jrmuizel
...
--HG--
extra : commitid : D8wNlw49VVb
extra : rebase_source : f0c93866f09de396e835a2920d5db54efe53ffda
extra : amend_source : 7ed5dda1bd555ecc353137bfc9b00b10992a86a1
2015-12-23 16:22:55 +01:00
David Anderson
8a7ec78385
Force a repaint after DXGI device resets. (bug 1188019, r=bas)
2015-12-17 11:20:08 -08:00
David Anderson
55f75a9936
Revive NPAPI async drawing: stub code. (bug 1217665 part 1, r=aklotz)
...
--HG--
extra : rebase_source : e106bcfe1d671bcff1175b08d47bd8fd2768d64e
2015-12-02 11:31:16 -08:00
John Daggett
b788233f65
Bug 1213280 - fix OSX font selection under 10.11. r=jfkthame
2015-11-20 22:01:12 +09:00
John Daggett
fbf9fafe6b
Bug 1224965 p1 - add pref for max substitutions for generics under fontconfig. r=m_kato
2015-11-20 13:35:15 +09:00
Nicholas Nethercote
3d0821d5fd
Bug 1219476 (part 5) - Replace PRLogModuleInfo usage with LazyLogModule in gfx/. r=erahm.
...
--HG--
extra : rebase_source : c39ecc84dbe9a0f94b42f1c78dabf346ce3a3b9e
2015-10-29 15:58:24 -07:00
John Daggett
f4458274bd
Bug 543715 p1 - distinguish between italic and oblique. r=jfkthame
2015-10-19 11:16:43 +09:00
Phil Ringnalda
adfbc1f710
Back out 2 changesets (bug 543715) because Mulet is why we can't have nice things
...
Backed out changeset 2d1d8e9b095c (bug 543715)
Backed out changeset bc90276ec090 (bug 543715)
2015-10-18 11:22:22 -07:00
John Daggett
72b6bcd6d6
Bug 543715 p1 - distinguish between italic and oblique. r=jfkthame
2015-10-18 22:17:46 +09:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
583afa0965
Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
...
This commit was generated using the following script, executed at the
top level of a typical source code checkout.
# Don't modify select files in mfbt/ because it's not worth trying to
# tease out the dependencies currently.
#
# Don't modify anything in media/gmp-clearkey/0.1/ because those files
# use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
grep -v 'mfbt/RefPtr.h' | \
grep -v 'mfbt/nsRefPtr.h' | \
grep -v 'mfbt/RefCounted.h' | \
grep -v 'media/gmp-clearkey/0.1/' | \
xargs perl -p -i -e '
s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#; # handle strange #includes
'
# |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'
# RefPtr.h used |byRef| for dealing with COM-style outparams.
# nsRefPtr.h uses |getter_AddRefs|.
# Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Benoit Girard
2a2fca7ffa
Bug 1199885 - Part 3: Add 'apz.drag.enabled' preference for async scrollbars. r=kats
...
--HG--
extra : commitid : FT9vDNL0XDw
extra : rebase_source : f5cd5f6e53c669f33fc628915cab1f6c57beaa11
2015-09-28 14:44:36 -04:00
David Anderson
1befc42825
Don't use Direct2D if CompositorD3D11::Initialize fails. (bug 1208638, r=jrmuizel)
2015-10-01 23:06:43 -07:00
Wes Kocher
eff494e681
Backed out changeset 919a831786f1 (bug 1208638) for windows build failures
2015-09-30 16:43:26 -07:00
David Anderson
b0e2473678
Don't use Direct2D if CompositorD3D11::Initialize fails. (bug 1208638, r=jrmuizel)
...
--HG--
extra : rebase_source : 2c0b1febd9bcc3a52f48a98243ab853f5b58848d
2015-09-30 16:16:16 -07:00
John Daggett
72bb57d48b
Bug 1182361 p4 - move pref font util methods to platform fontlist. r=heycam
2015-09-29 10:51:28 +09:00
James Willcox
9932c21923
Bug 1182665 - Add gfxPlatform::GetScreenSize() and use nsIScreen for gfxPlatform::GetScreenDepth() r=nical
2015-09-28 09:36:54 -05:00
Mason Chang
76b8c1d6e8
Bug 1160216
- Add a preference to force software vsync and set software vsync rate. r=kats
2015-09-15 08:13:57 -07:00
John Daggett
06366cd453
Bug 1203809 - pass textperf obj into gfxFontGroup constructor. r=m_kato
...
--HG--
extra : rebase_source : c9e9f4765b710937b046941a15e82eaf83c86b03
2015-09-11 13:24:33 +09:00
Matt Woodrow
741dbc133e
Bug 1191040 - Ensure that we only compute the tile size once. r=BenWa
...
--HG--
extra : rebase_source : 1f3024d724384955220b95db5d347d12df4d22a8
2015-08-07 15:37:56 -04:00
Ryan VanderMeulen
55a80b1971
Backed out changeset 4e63305fe592 (bug 1191040) for Linux gtest crashes.
...
CLOSED TREE
2015-08-07 16:24:59 -04:00
Matt Woodrow
1e2e762f3c
Bug 1191040 - Ensure that we only compute the tile size once. r=BenWa
...
--HG--
extra : rebase_source : ffe1817416bc678c4ea8a0a42d809afd4d3db86d
2015-08-07 15:37:56 -04:00
Ryan VanderMeulen
cf74a0c719
Backed out changeset 6ee70eb03b02 (bug 1183788) for Android crashes.
2015-08-05 10:24:55 -04:00
Dylan Roeh
f7ba5d71aa
Bug 1183788 - Move all CanDetach/InitCanDetach logic into gfxPlatform.h/cpp. r=snorp
2015-08-04 17:02:18 -05:00
David Anderson
ac8c6304a9
Use the same graphics device parameters across processes. (bug 1183910 part 7, r=mattwoodrow)
2015-08-02 13:59:33 -07:00
David Anderson
4be0f86cb1
Add a pref to force TDRs for graphics testing. (bug 1183910 part 2, r=mattwoodrow)
2015-07-30 00:23:53 -07: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
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
Andrew Comminos
934be774e5
Bug 1183820 - Expose if cairo uses XRender to GetAzureBackendInfo. r=mattwoodrow
...
--HG--
extra : rebase_source : 48a9b892e552461dfc9e4f955122240aa08a6db0
extra : histedit_source : 7dd98adff17ab32a39250f7e5bbb94c763e8bc4c
2015-07-14 13:56:00 -04:00
Botond Ballo
9eadc95b3f
Bug 1181832 - Keep gfxPrefs.h out of header files. r=kats
...
--HG--
extra : rebase_source : 33d5abb8f12f1173ae50d1712f15e273f9b26ace
extra : source : 4bd2e2744ef1b914d2859f3433b6b9026d91401b
2015-07-13 11:53:10 -04:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07: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
John Daggett
12d9815c6e
Bug 1163488 - use the preprocessor to keep font lang arrays in sync. r=m_kato
...
--HG--
extra : rebase_source : 23f499da2a3590be32018f27f4f27e2186b4f2bc
2015-07-10 23:49:26 +09:00
Karl Tomlinson
0cf3dc36ec
bug 1180012 remove unused GetPrefFonts() r=jdaggett
...
--HG--
extra : rebase_source : 67f5d30d568d9a5f91a11230c6d51c0a72736bc4
2015-05-19 19:39:51 +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
Bas Schouten
03d7b7630c
Bug 1167235 - Part 1: Add code exposing a PersistentBufferProvider. r=nical
2015-06-19 01:07:21 +02: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
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
b2eb29a9c5
Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange)
2015-06-04 16:51:10 -04:00
Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
John Daggett
534d59b79b
Bug 1056479 p1a - use lang as part of pref font fallback. r=karlt
2015-05-13 14:11:25 +09:00
Carsten "Tomcat" Book
7d0e2a0d83
Backed out changeset c72465a4c424 (bug 1056479)
2015-05-12 12:21:14 +02:00
John Daggett
ad666ceddb
Bug 1056479 p1a - use lang as part of pref font fallback. r=karlt
2015-05-12 17:44:13 +09:00
Carsten "Tomcat" Book
1cc8234416
Backed out 10 changesets (bug 1056479) for bustage on a CLOSED TREE
...
Backed out changeset d5b1f2b78915 (bug 1056479)
Backed out changeset bcc65b714dd6 (bug 1056479)
Backed out changeset 0b35e8a463d2 (bug 1056479)
Backed out changeset 0933391809c9 (bug 1056479)
Backed out changeset 93bd67204fac (bug 1056479)
Backed out changeset 5260b93eb0b9 (bug 1056479)
Backed out changeset 130bea3f8623 (bug 1056479)
Backed out changeset 408e078cc18d (bug 1056479)
Backed out changeset a651c240979d (bug 1056479)
Backed out changeset d74ae8fcaac9 (bug 1056479)
2015-05-12 08:25:19 +02:00
John Daggett
e87a424836
Bug 1056479 p1a - use lang as part of pref font fallback. r=karlt
2015-05-12 14:51:17 +09:00
Thibaud Backenstrass
983ced23c9
Bug 1158122 - Remove all occurences of nsIntRect in gfx/thebes/. r=nical
2015-05-07 11:07:31 +02:00
Nicolas Silva
66177fae1c
Bug 1155649 - XFlush at the end of frames when OMTC is enabled on Linux. r=jrmuizel
2015-05-04 12:35:18 +02: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
Andrea Marchesini
ade2831035
Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan
2015-04-22 08:29:24 +02:00