Jeff Gilbert
a824ab4d81
Bug 1656034 - Support multiple EglDisplays per GLLibraryEGL. r=lsalzman,sotaro,stransky
...
Have webrender use its own EGLDisplay, letting WebGL use a different
one.
Differential Revision: https://phabricator.services.mozilla.com/D85496
2020-08-07 07:14:46 +00:00
Mihai Alexandru Michis
639b2bd075
Backed out changeset f1f10f791e99 (bug 1656034) for causing bustages in DMABufSurface.cpp
...
CLOSED TREE
2020-08-07 02:36:33 +03:00
Jeff Gilbert
b5d6906473
Bug 1656034 - Support multiple EglDisplays per GLLibraryEGL. r=lsalzman,sotaro,stransky
...
Have webrender use its own EGLDisplay, letting WebGL use a different
one.
Differential Revision: https://phabricator.services.mozilla.com/D85496
2020-08-06 22:53:53 +00:00
Mihai Alexandru Michis
4719cf3e7d
Backed out changeset 06538f141210 (bug 1656034) for causing bustages in GLContextProviderEGL.cpp
...
CLOSED TREE
2020-08-07 00:19:32 +03:00
Jeff Gilbert
78c66237bb
Bug 1656034 - Support multiple EglDisplays per GLLibraryEGL. r=lsalzman,sotaro,stransky
...
Have webrender use its own EGLDisplay, letting WebGL use a different
one.
Differential Revision: https://phabricator.services.mozilla.com/D85496
2020-08-06 19:56:43 +00:00
Nicholas Nethercote
18fae65f38
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
--HG--
extra : moz-landing-system : lando
2019-07-26 01:10:23 +00:00
Nicholas Nethercote
7974362afd
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
--HG--
extra : moz-landing-system : lando
2019-07-22 02:10:14 +00:00
Nicholas Nethercote
ca8e78069d
Bug 1561491
- Make gfx.* static prefs follow the naming convention. r=KrisWright
...
Differential Revision: https://phabricator.services.mozilla.com/D35975
--HG--
extra : rebase_source : 9090ac828f1da9582510975047d5ad59a228dda5
2019-06-26 10:38:09 +10:00
Chris Peterson
ee1c4eb273
Bug 1528881 - Part 5: gfx/gl: Make some global functions static. r=jgilbert
...
clang's -Wmissing-prototypes option identifies global functions that can be made static (because they're only called from one compilation unit) or removed (if they're never called).
gfx/gl/GfxTexturesReporter.cpp:22:13 [-Wmissing-prototypes] no previous prototype for function 'FormatBytes'
gfx/gl/GLContextFeatures.cpp:534:6 [-Wmissing-prototypes] no previous prototype for function 'IsFeaturePartOfProfileVersion'
Depends on D20263
Differential Revision: https://phabricator.services.mozilla.com/D20264
--HG--
extra : moz-landing-system : lando
2019-06-14 23:42:59 +00:00
Jean-Yves Avenard
23436e1811
Bug 1550422
- P15. Move Skip and Once gfxPrefs to StaticPrefs. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D31259
--HG--
extra : moz-landing-system : lando
2019-05-26 14:30:14 +00:00
Gurzau Raul
967bc2a754
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
8d5f292ab5
Bug 1550422
- P15. Move Skip and Once gfxPrefs to StaticPrefs. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D31259
--HG--
extra : moz-landing-system : lando
2019-05-24 11:32:54 +00:00
Gurzau Raul
74c555539e
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
2412878bd9
Bug 1550422
- P15. Move Skip and Once gfxPrefs to StaticPrefs. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D31259
--HG--
extra : moz-landing-system : lando
2019-05-22 22:27:37 +00:00
Ryan Hunt
85ff4bdc33
Bug 1523969 part 8 - Move method definition inline comments to new line in 'gfx/'. r=kats
...
Differential Revision: https://phabricator.services.mozilla.com/D21108
--HG--
extra : rebase_source : 48a4586f507891f3a2f0f970e9b9a0b15f0f3d61
2019-02-25 16:07:19 -06: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
Benjamin Bouvier
a7f1d173a0
Bug 1511383: Update vim modelines after clang-format; r=sylvestre
...
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)
--HG--
extra : rebase_source : 7eedce0311b340c9a5a1265dc42d3121cc0f32a0
extra : amend_source : 9cb4ffdd5005f5c4c14172390dd00b04b2066cd7
2018-11-30 16:39:55 +01: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
Gabriele Svelto
9a1d2f50d2
Bug 1402519 - Remove MOZ_CRASHREPORTER directives from gfx; r=jrmuizel
...
MozReview-Commit-ID: 7S8AJ18cCx0
--HG--
extra : rebase_source : 983387883dd0feabf8e4e6b1b7335403645470af
2017-10-10 15:11:07 +02:00
shindli
fb855aa7ba
Backed out 16 changesets (bug 1402519) for conflicts during merge r=backout on a CLOSED TREE
...
Backed out changeset 07fcf163241a (bug 1402519)
Backed out changeset c6d2ad45d8e2 (bug 1402519)
Backed out changeset 8a3caca61294 (bug 1402519)
Backed out changeset 01425eae2c48 (bug 1402519)
Backed out changeset cf298d3815de (bug 1402519)
Backed out changeset e1964f4389cd (bug 1402519)
Backed out changeset f405337f3569 (bug 1402519)
Backed out changeset a76356fd3359 (bug 1402519)
Backed out changeset d3bb350d1c34 (bug 1402519)
Backed out changeset 9d3bfd9f932c (bug 1402519)
Backed out changeset e3dd6e5b073f (bug 1402519)
Backed out changeset e801b0c00134 (bug 1402519)
Backed out changeset 8a4139fa5dca (bug 1402519)
Backed out changeset 8d01c14ac1ca (bug 1402519)
Backed out changeset 24e0dcd01898 (bug 1402519)
Backed out changeset f8fdf450613f (bug 1402519)
2017-11-23 00:11:44 +02:00
Gabriele Svelto
6fc7fdc557
Bug 1402519 - Remove MOZ_CRASHREPORTER directives from gfx; r=jrmuizel
...
MozReview-Commit-ID: 7S8AJ18cCx0
--HG--
extra : rebase_source : 5fb4dbbd0416adeaf1796845e808b053ed029de4
2017-10-10 15:11:07 +02:00
James Cheng
19a28705ea
Bug 1297315 - Fix Wmaybe-uninitialized warning and get rid of goto statement in GLContextProviderGLX.cpp and GfxTexturesReporter.cpp. r=jgilbert
...
MozReview-Commit-ID: AUjK7HhatX6
--HG--
extra : rebase_source : 3df07981fdd0f7cff9576cff8fecf955522294bf
2016-08-23 14:30:37 +08:00
eyim
b0ca07b635
Bug 1277027 - fix MOZ_CRASH to have GFX prefix in webGL code r=BenWa,milan
...
MozReview-Commit-ID: FjLA9xNH3zD
--HG--
extra : rebase_source : 5809a1f8126360b3fa8ee069b3a463747cb31e6f
2016-06-06 11:17:23 -04:00
James Willcox
9e56091f86
Bug 1251065 - Add prefs for logging the current and peak texture usage r=nical
2016-02-26 11:01:28 -06:00
James Willcox
6ac86c0db9
Bug 1247405 - Track peak texture memory usage r=nical
2016-02-26 11:00:06 -06:00
Sebastian Hengst
2f131341dd
Backed out changeset 0ee7b97a8a84 (bug 1247405) for bustage. r=bustage on a CLOSED TREE
2016-02-25 19:12:27 +01:00
James Willcox
dc94ee5dc7
Revert bug 1251065 due to stupidity
2016-02-25 10:51:34 -06:00
James Willcox
8ae46e3a8a
Bug 1251065 - Add prefs for logging the current and peak texture usage r=nical
2016-02-25 10:25:45 -06:00
James Willcox
ad3d8bc008
Bug 1247405 - Track peak texture memory usage r=nical
2016-02-25 10:25:34 -06:00
James Willcox
34358e8ff5
Bug 1245612 - Send texture usage bytes in crash reports r=bsmedberg
2016-02-08 09:18:52 -06:00
James Willcox
7528f84391
Bug 1243072 - Make GfxTexturesReporter work again r=nical,jgilbert
2016-02-08 09:18:52 -06:00
James Willcox
1cc1b45965
Also back out bug 1243072 for mac bustage on a CLOSED TREE
2016-02-03 14:45:21 -06:00
James Willcox
6ce8f1df22
Bug 1243072 - Make GfxTexturesReporter work again r=nical,jgilbert
2016-02-03 14:16:40 -06:00
Morris Tseng
1ae8baf23c
Bug 917505 - Add WEBGL_compressed_texture_es3 support. r=jgilbert r=smaug
...
--HG--
extra : commitid : 96pBvjbX0be
2016-01-08 10:12:22 +08:00
Benoit Girard
7df7a65422
Bug 1036654 - Report the tile fragmentation overhead. r=njn,kats,cwiiis
2014-07-24 13:34:43 -04:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Chris Lord
6fbca10a4b
Bug 990608 - Make tile size configurable. r=tn,nical,bgirard
2014-04-04 18:42:44 +01:00
Jeff Gilbert
7e236f76f8
Bug 943190 - Implement WEBGL_compressed_texture_et1. - r=kamidphish
2014-03-10 15:42:58 -07:00
Jeff Gilbert
77c841f7fd
Bug 843666 - Implement color-buffer-(half-)float for WebGL. - r=kamidphish
2014-03-07 13:26:17 -08:00
Nicholas Nethercote
91175eb896
Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
...
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Benoit Jacob
a653be5aa4
Bug 912974 - Split two classes out of GLContext.h, and remove many #includes in GLContext.h - r=jrmuizel
2013-09-06 22:13:37 -04:00