Nicholas Nethercote
c4aacd8403
Bug 1563139 - Remove StaticPrefs.h. r=glandium
...
This requires replacing inclusions of it with inclusions of more specific prefs
files.
The exception is that StaticPrefsAll.h, which is equivalent to StaticPrefs.h,
and is used in `Codegen.py` because doing something smarter is tricky and
suitable for a follow-up. As a result, any change to StaticPrefList.yaml will
still trigger recompilation of all the generated DOM bindings files, but that's
still a big improvement over trigger recompilation of every file that uses
static prefs.
Most of the changes in this commit are very boring. The only changes that are
not boring are modules/libpref/*, Codegen.py, and ServoBindings.toml.
Differential Revision: https://phabricator.services.mozilla.com/D39138
2019-07-26 01:10:23 +00:00
Nicholas Nethercote
462059ba06
Bug 1567329 - Append _AtStartup to once static pref getters. r=erahm
...
Currently it's completely unclear at use sites that the getters for `once`
static prefs return the pref value from startup, rather than the current pref
value. (Bugs have been caused by this.) This commit improves things by changing
the getter name to make it clear that the pref value obtained is from startup.
This required changing things within libpref so it distinguishes between the
"base id" (`foo_bar`) and the "full id" (`foo_bar` or
`foo_bar_DoNotUseDirectly` or `foo_bar_AtStartup` or
`foo_bar_AtStartup_DoNotUseDirectly`; the name used depends on the `mirror` and
`do_not_use_directly` values in the YAML definition.) The "full id" is used in
most places, while the "base id" is used for the `GetPrefName_*` and
`GetPrefDefault_*` functions.
(This is a nice demonstration of the benefits of the YAML file, BTW. Making
this change with the old code would have involved adding an entry to every
single pref in StaticPrefList.h.)
The patch also rejigs the comment at the top of StaticPrefList.yaml, to clarify
some things.
Differential Revision: https://phabricator.services.mozilla.com/D38604
2019-07-22 02:10:14 +00:00
Nicholas Nethercote
f8c70ff889
Bug 1561491 - Make image.* static prefs follow the naming convention. r=KrisWright
...
Differential Revision: https://phabricator.services.mozilla.com/D35977
2019-06-26 13:24:21 +10:00
Jean-Yves Avenard
78876bce84
Bug 1550422 - P15. Move Skip and Once gfxPrefs to StaticPrefs. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D31259
2019-05-26 14:30:14 +00:00
Gurzau Raul
938877e121
Backed out 31 changesets (bug 1552643, bug 1550422) for xpcshell crash on a CLOSED TREE.
...
Backed out changeset e30c1aa75529 (bug 1552643)
Backed out changeset caadcd7e02d3 (bug 1552643)
Backed out changeset aa7086ab09be (bug 1552643)
Backed out changeset 0b4029671710 (bug 1550422 )
Backed out changeset a16295296035 (bug 1550422 )
Backed out changeset 3b70307c0db5 (bug 1550422 )
Backed out changeset 69df7818d4a3 (bug 1550422 )
Backed out changeset d98dfc565927 (bug 1550422 )
Backed out changeset 6f0997976944 (bug 1550422 )
Backed out changeset 0edd264464c2 (bug 1550422 )
Backed out changeset 9ea6da7a74ec (bug 1550422 )
Backed out changeset f855f9309c8b (bug 1550422 )
Backed out changeset 1033546224a7 (bug 1550422 )
Backed out changeset ade7384c6186 (bug 1550422 )
Backed out changeset 75b04de7e99c (bug 1550422 )
Backed out changeset 91c3acdb2454 (bug 1550422 )
Backed out changeset 77d2f80257d1 (bug 1550422 )
Backed out changeset e0cd10d35327 (bug 1550422 )
Backed out changeset 097091082423 (bug 1550422 )
Backed out changeset 2f328853c1ab (bug 1550422 )
Backed out changeset f92f2cc29cb1 (bug 1550422 )
Backed out changeset 6dc82f88333d (bug 1550422 )
Backed out changeset c20f66494d69 (bug 1550422 )
Backed out changeset 2ba22cddeb6f (bug 1550422 )
Backed out changeset 3aa72f89e295 (bug 1550422 )
Backed out changeset ab4c4e806977 (bug 1550422 )
Backed out changeset 72e5de040dda (bug 1550422 )
Backed out changeset 7d3c2d486706 (bug 1550422 )
Backed out changeset 132e0b8d8468 (bug 1550422 )
Backed out changeset 54c85ac75dd0 (bug 1550422 )
Backed out changeset d7ba4a18dd54 (bug 1550422 )
2019-05-25 09:07:49 +03:00
Jean-Yves Avenard
39ec5f8bd1
Bug 1550422 - P15. Move Skip and Once gfxPrefs to StaticPrefs. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D31259
2019-05-24 11:32:54 +00:00
Gurzau Raul
8d7b43d90a
Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE.
...
Backed out changeset 5dd10a365ba9 (bug 1550422 )
Backed out changeset 529f5be01ab9 (bug 1550422 )
Backed out changeset b6861d3badf8 (bug 1550422 )
Backed out changeset 059cff1a3dde (bug 1550422 )
Backed out changeset 6ada1116b241 (bug 1550422 )
Backed out changeset ca67e8e45262 (bug 1550422 )
Backed out changeset a1961a51ae44 (bug 1550422 )
Backed out changeset 1c90b9cb3ad4 (bug 1550422 )
Backed out changeset 285fa46e4f26 (bug 1550422 )
Backed out changeset e2938a444234 (bug 1550422 )
Backed out changeset 7a930fc51125 (bug 1550422 )
Backed out changeset 898ed02804fe (bug 1550422 )
Backed out changeset e1b7abc99ae9 (bug 1550422 )
Backed out changeset f781d415cef6 (bug 1550422 )
Backed out changeset 2fef10a7cce5 (bug 1550422 )
Backed out changeset ea64b4d8d4ff (bug 1550422 )
Backed out changeset 86a8ba1b755c (bug 1550422 )
Backed out changeset 9c0c9e80f309 (bug 1550422 )
Backed out changeset 10c153ddbaea (bug 1550422 )
Backed out changeset 60fe635ec2c9 (bug 1550422 )
Backed out changeset a38796266b28 (bug 1550422 )
Backed out changeset 2db647dcdf1c (bug 1550422 )
Backed out changeset 952ddac02972 (bug 1550422 )
Backed out changeset ba46b53643ec (bug 1550422 )
Backed out changeset ca47ef6c59f7 (bug 1550422 )
Backed out changeset f45f471a1a40 (bug 1550422 )
Backed out changeset 371b4da5b771 (bug 1550422 )
Backed out changeset 02fc78890032 (bug 1550422 )
2019-05-23 05:59:44 +03:00
Jean-Yves Avenard
f2a1e58ceb
Bug 1550422 - P15. Move Skip and Once gfxPrefs to StaticPrefs. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D31259
2019-05-22 22:27:37 +00:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Timothy Nikkel
cc5afb21ed
Bug 1432678. Convert to size_t in DecodedSurfaceProvider::LogicalSizeInBytes so multiplication doesn't overflow. r=aosmond
2018-02-07 17:00:04 -06:00
Andrew Osmond
91ac5392a5
Bug 1370412 - Part 8b. Add ImageSurfaceCache::Prune to discard surfaces which are not needed in factor of 2 mode. r=tnikkel
2017-09-05 07:58:46 -04:00
Andrew McCreight
22c76b4409
Bug 1333974, part 2 - Use new API for images. r=tnikkel
...
MozReview-Commit-ID: CmjVpXAFmjx
2017-01-31 11:34:01 -08:00
Seth Fowler
264b7e19c3
Bug 1296828 (Part 3) - Update SurfaceCache API to rely on ImageKeys and SurfaceKeys stored on ISurfaceProviders. r=dholbert
2016-08-26 17:03:19 -07:00
Seth Fowler
dbc467745f
Bug 1296828 (Part 2) - Store ImageKeys and SurfaceKeys directly on ISurfaceProviders. r=dholbert,edwin
2016-08-26 17:03:17 -07:00
Seth Fowler
ed50277add
Bug 1293472 (Part 3) - Store animated images in the surface cache as a sequence of frames, rather than each frame getting its own cache entry. r=dholbert,edwin,njn
2016-08-18 15:42:48 -07:00
Seth Fowler
c3c27bedfa
Bug 1293472 (Part 1) - Make it possible to seek DecodedSurfaces. r=dholbert
2016-08-18 15:39:40 -07:00
Andrew Osmond
dee397cfc1
Bug 1293577 - Protect the image decoding task path with a mutex to avoid race conditions. r=seth
2016-08-10 07:35:07 -04:00
Seth Fowler
d0d109bb04
Bug 1291045 (Part 6) - Add DecodedSurfaceProvider to handle both decoding and surface ownership for single-frame images. r=dholbert,edwin
2016-08-05 18:46:22 -07:00