Commit Graph

629 Commits

Author SHA1 Message Date
Nicholas Nethercote
4e8f3b6d6e Bug 1276824 (part 2) - Fix up checks for calls to gfxContext::Create{,PreservingTransform}OrNull(). r=milan.
--HG--
extra : rebase_source : 80644c1a6658da553c13ae1ab3b8d03e916ee6e7
2016-06-07 11:17:48 +10:00
Benoit Girard
2586414710 Bug 1276732 - Report the GLContext error to WebGL for telemetry. r=jrmuizel
MozReview-Commit-ID: 24eb4FXMOiI

--HG--
extra : rebase_source : 391e44f4d4fdcf5782053fc6c3e9b17e651a9a1f
2016-06-06 16:52:42 -04:00
Mason Chang
426f8dbfee Bug 1276931. Add VsyncSource::Shutdown which shuts down global display. r=jrmuizel 2016-06-06 10:07:29 -07:00
Benoit Girard
24a4187d15 Backed out changeset 4264b01fd313 (Bug 1276732) for causing build bustage
MozReview-Commit-ID: KnEpCcI9a13
2016-06-06 13:37:59 -04:00
Benoit Girard
c391acc0f7 Bug 1276732 - Report the GLContext error to WebGL for telemetry. r=jrmuizel
MozReview-Commit-ID: Am733GJkOSb

--HG--
extra : rebase_source : 1eaf4e281b2415f0adcae7e9585a29d912685358
2016-06-06 13:20:13 -04:00
Jonathan Watt
fb6235e5e5 Bug 1278238 - Remove kDrawTarget. r=Bas 2016-05-27 19:43:34 +01:00
Benoit Girard
e415083929 Bug 1274046 - Add FailureId to gfxConfig (FeatureState). r=dvander
MozReview-Commit-ID: Cig23OR7tWi

--HG--
extra : rebase_source : 908c5469bcf1211bcced8542835570836b8a7e8a
2016-06-03 14:54:56 -04:00
Benoit Girard
d1a26c1e94 Backout d9111a0d9a44(bug 1274046) for windows bustage on a CLOSED TREE
MozReview-Commit-ID: 3qdijVGuw3O
2016-06-02 01:56:58 -04:00
Benoit Girard
80d61a794a Bug 1274046 - Add FailureId to gfxConfig (FeatureState). r=dvander
MozReview-Commit-ID: FOITlJIMM0Z

--HG--
extra : rebase_source : d76a50e368b2df5f348f6d34136854f2be6166d8
2016-05-26 18:14:35 -04:00
Jonathan Watt
24a809a5f3 Bug 1276810 - Make gfxPlatform::ScreenReferenceDrawTarget() infallible. r=Bas 2016-05-23 20:12:10 +01:00
Jeff Muizelaar
2418bd8394 Bug 1271657. Redo gfxConfig support for HW D3D11 ANGLE. r=dvander 2016-05-24 14:24:03 -04:00
David Anderson
ecf249bd9a Add GPUProcessManager to manage access to CompositorBridgeParent. (bug 1274149 part 1, r=mattwoodrow) 2016-05-23 00:27:01 -07:00
Wes Kocher
2299744a78 Backed out 5 changesets (bug 1274149) for intermittent failures in apz tests CLOSED TREE
Backed out changeset 1117598ac875 (bug 1274149)
Backed out changeset 540cb6d10745 (bug 1274149)
Backed out changeset 057223823e5d (bug 1274149)
Backed out changeset 9932689ab717 (bug 1274149)
Backed out changeset a22a53c503a6 (bug 1274149)
2016-05-23 13:01:22 -07:00
David Anderson
ba1f071a23 Add GPUProcessManager to manage access to CompositorBridgeParent. (bug 1274149 part 1, r=mattwoodrow) 2016-05-23 00:27:01 -07:00
David Anderson
a6d9f5b888 Move CompositorThreadHolder into its own file. (bug 1273017 part 1, r=mattwoodrow) 2016-05-15 23:38:34 -07:00
Jean-Yves Avenard
6e2b718e6a Bug 1271491: P2. Allow initialization of WMFPlatformDecoderModule from any threads. r=mattwoodrow
This is a very rough and lame attempt at making some parts of gfx thread-safe, however some parts rely on Preferences::AddBoolCache which isn't thread-safe.
Must still be called once gfx has been initialized.

MozReview-Commit-ID: BSpr9cp6USR

--HG--
extra : rebase_source : 395ac23cafeb1509f89b72deda5fccdc7726c1bb
2016-05-12 19:24:43 +10:00
Jean-Yves Avenard
e926d54268 Bug 1206637: P1. Add MediaPrefs convenience class. r=cpearce
Almost identical to gfxPrefs, with the exception that preferences can't be set (as it doesn't work with e10s anyway). The generated code size is tiny enough that we don't have to bother about having duplicates.

MozReview-Commit-ID: 5SZyscvIzzS

--HG--
extra : rebase_source : 1a2577bbe24d2d6644c3f1f5d0c47850b67fdea0
2016-05-09 14:59:02 +10:00
Benoit Girard
70acc7f3f9 Bug 1262008 - Add WebGL failure causes to telemetry ping. r=dvander
MozReview-Commit-ID: 9IVhVNGmaAP

--HG--
extra : rebase_source : bfa8d247c331c216c048fb696fbfb4302c5b8d52
2016-05-09 13:44:21 -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
Nicolas Silva
165b183a1e Bug 1270079 - Shut PCompositorBridge down before PImageBridge for the parent process. r=Bas 2016-05-04 15:22:45 +02: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
802cde670e Give FeatureState a public interface. (bug 1254899 part 8, r=milan) 2016-04-28 21:52:55 -07:00
David Anderson
c1838c00ba Add another feature state for blacklisting and environment decisions. (bug 1254899 part 7, r=milan) 2016-04-28 21:52:55 -07:00
David Anderson
dbc599bf9b Merge gfxWindowsPlatform::mAcceleration into gfxConfig. (bug 1254899 part 6, r=milan) 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
David Anderson
5e5cda33f7 Dedent some functions. (bug 1254899 part 1, 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
d639372189 Give FeatureState a public interface. (bug 1254899 part 8, r=milan) 2016-04-27 22:54:26 -07:00
David Anderson
c5ec073736 Add another feature state for blacklisting and environment decisions. (bug 1254899 part 7, r=milan) 2016-04-27 22:54:26 -07:00
David Anderson
61b7fa9e83 Merge gfxWindowsPlatform::mAcceleration into gfxConfig. (bug 1254899 part 6, r=milan) 2016-04-27 22:54:25 -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
David Anderson
e10c180bbc Dedent some functions. (bug 1254899 part 1, r=jrmuizel) 2016-04-27 22:54:24 -07:00
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Bas Schouten
a7d662a2b1 Bug 1262898: Keep the GeckoChildProcessHost alive for the lifetime of the CompositorBridge and ImageBridge parent actors. r=jimm r=nical
MozReview-Commit-ID: 1rsWqRpbhgN
2016-04-25 03:54:07 +00:00
Benoit Girard
85ba14a3e5 Bug 1263249 - Bubble up unique failureId in GetFeatureStatus. r=mconley,milan
MozReview-Commit-ID: JveFLuIcbaN

--HG--
extra : rebase_source : 3f583b44c30495b237fd263e4818430443bf5513
2016-04-13 17:12:47 -04:00
George Wright
a1794aab28 Bug 1264062 - Don't bother checking which accelerated layer types are available if they're all disabled by pref r=milan 2016-04-13 17:17:36 -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
Nicolas Silva
78fc1369de Bug 1215265 - Put shutting down gfx ipdl protocols for child processes behind a pref. r=sotaro 2016-04-07 15:47:35 +02:00
Nicolas Silva
3aa33acdb7 Bug 1215265 - Shut PCompositorBridge down properly. r=sotaro 2015-11-24 14:50:51 +13:00
Nicolas Silva
3c1df5d494 Bug 1215265 - Shut PImageBridge down properly. r=sotaro 2015-11-24 15:33:32 +13:00
Milan Sreckovic
805998f5fe Bug 881609: Call InitLayersAccelerationPrefs only once. r=nrc
MozReview-Commit-ID: DTBHmvjqn1e

--HG--
extra : rebase_source : f215b1f2c128b9251005307c3419a7d4e31ed3b6
2016-02-26 11:33:00 -05:00
George Wright
5d010a6843 Bug 1237769 - Disable e10s on Windows XP if layers acceleration is requested r=milan 2016-04-06 13:30:46 -04:00
Jeff Muizelaar
83bb88f11e Bug 1259466. Rename layers.offmainthreadcomposition.enabled. r=milan
We would rather people not use this pref.
2016-04-05 10:55:17 -04:00