Daosheng Mu
9fb4892439
Bug 1316279 - Part 1: Fix gfxPrefs support for WebVR in out-of-process compositing; r=kip
...
MozReview-Commit-ID: 13tPgT0uDDi
--HG--
extra : rebase_source : 76de1955e928a5102d7d23b4baf2a3070309afd6
2016-11-23 09:40:54 +08:00
Matt Woodrow
1985af695f
Bug 1319626 - Part 2: Add BorderLayer class and basic support for them. r=mstange
...
--HG--
extra : rebase_source : de87afc8015649fb5f4a7c4da5f4dc49e19f3d85
2016-11-24 18:11:30 +13:00
Carsten "Tomcat" Book
831c1e052a
Backed out changeset 4909935f8081 (bug 1319626)
2016-11-24 17:02:32 +01:00
Carsten "Tomcat" Book
61849e269d
merge mozilla-inbound to mozilla-central a=merge
2016-11-24 16:41:59 +01:00
Matt Woodrow
15af88120a
Bug 1319626 - Part 2: Add BorderLayer class and basic support for them. r=mstange
2016-11-24 18:11:30 +13:00
Matt Woodrow
b6a9ac8a28
Bug 1317862 - Part 1: Add TextLayer class and basic support for them. r=mstange
2016-11-24 18:11:29 +13:00
Daosheng Mu
ab3dd3ce52
Bug 1318618 - Support nsCString data type in gfxPrefs; r=dvander
...
MozReview-Commit-ID: w5051nuVR5
--HG--
extra : rebase_source : 3af34967b0c9c432c6b77014479be98bd0f54387
2016-11-23 09:38:02 +08:00
George Wright
0a46071cca
Bug 1297790 - Add GPU process feature status to the Telemetry environment r=dvander,gfritzsche data-review=bsmedberg
2016-11-21 15:10:11 -05:00
Jan Beich
d5d5525615
Bug 1317757 - Explicitly include header for SprintfLiteral(). r=milan
...
MozReview-Commit-ID: K8O6AMKPGzN
--HG--
extra : rebase_source : e4799231edf44437577754e36903b61e2a512b9c
2016-11-15 18:58:29 +00:00
Carsten "Tomcat" Book
e7ca75286b
Merge mozilla-central to inbound
2016-11-16 14:53:15 +01:00
Kan-Ru Chen
f8100451db
Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
...
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.
MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Carsten "Tomcat" Book
8cfa5253e8
merge mozilla-inbound to mozilla-central a=merge
2016-11-15 12:26:41 +01:00
Milan Sreckovic
92fe1aae29
Bug 1316988: Change the wording of the error message. r=rhunt
...
MozReview-Commit-ID: GB1sF1APkBJ
--HG--
extra : rebase_source : 7f3c8673cffd223b2e366f7cb6728dc4abc7a90c
2016-11-11 17:51:25 -05:00
Ryan Hunt
bd2880400d
Bug 1317512 - Prevent overflow when using device reset prefs. r=milan
...
--HG--
extra : rebase_source : f79e755a62aa882a883c2341ffe1a035d2201885
2016-11-14 17:27:14 -06:00
David Anderson
2c5e03e62e
Don't reset devices for each tab when the compositor resets. (bug 1316788, r=rhunt)
2016-11-14 11:47:01 -08:00
Matt Woodrow
77e78d9558
Bug 1316221
- Force VideoBridge shutdown to happen before the compositor thread is destroyed. r=dvander
2016-11-11 15:02:32 +13:00
Ryan Hunt
13190be4e0
Bug 1316476 - Limit the amount of device resets we allow with the gpu process. r=dvander
...
--HG--
extra : rebase_source : 7d1b74ad7573b91ea28e9cf015fc6d24c104f646
2016-11-09 20:57:04 -06:00
Carsten "Tomcat" Book
846adaea6c
merge mozilla-inbound to mozilla-central a=merge
2016-11-09 16:38:04 +01:00
Carsten "Tomcat" Book
1d94331de7
Backed out changeset 364305744e4c (bug 1297790) for test bustage
2016-11-09 10:26:27 +01:00
George Wright
dd8ff04b54
Bug 1297790 - Add GPU process feature status to the Telemetry environment r=dvander,gfritzsche data-review=bsmedberg
2016-11-09 03:18:32 -05:00
Matt Woodrow
f880884b57
Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander
2016-11-08 15:21:35 +13:00
Kartikaya Gupta
c19a47d368
Bug 1315974 - Have the CompositorBridgeChild take a LayerManager instead of a ClientLayerManager. r=dvander
...
MozReview-Commit-ID: CPTCQgIl5ad
--HG--
extra : rebase_source : dabc583be1de1700c35444e517070455349ea9b8
2016-11-08 10:42:19 -05:00
George Wright
51a59d1d02
Bug 1314426 - Add a method to nsIDOMWindowUtils to terminate the GPU process and get the GPU process pid r=smaug,dvander
2016-11-07 14:22:48 -05:00
David Anderson
ec7cac2aa1
Fix shutdown crash in VsyncBridgeChild when the GPU process is enabled. (bug 1314816, r=mattwoodrow)
2016-11-02 16:45:38 -07:00
Matt Woodrow
5375ddbb83
Bug 1300681 - Use gfxVars for DXVA blacklist prefs so that they work in the GPU process. r=dvander,gerald
2016-11-03 09:57:18 +13:00
Matt Woodrow
3b4d158ee3
Bug 1314189 - Only create a RemoteVideoDecoder if the current LayerManager is using the GPU process. r=dvander
2016-11-03 09:57:15 +13:00
Matt Woodrow
9e56f22190
Bug 1314186 - Resync LayerTreeId mappings to the GPU process if it restarts. r=dvander
2016-11-03 09:55:07 +13:00
Edwin Flores
12c57c38dd
Bug 1309277 - Allow D3D9 without component alphaa - r=mattwoodrow
2016-11-02 10:55:07 +00:00
Bill McCloskey
b47737ed9f
Bug 792652 - Move FatalError to IProtocol (r=dvander)
...
This patch moves FatalError to IProtocol. I had to make a few changes.
- I added a ProtocolName() method to find the name of the protocol.
- I gave the two-argument version of FatalError its own name. Otherwise
C++ doesn't like there to be two virtual methods with the same name
in cases where one is overridden and the other isn't (as happens
in IToplevelProtocol).
2016-11-08 15:22:45 -08:00
Ryan Hunt
8ee59ed7da
Bug 1313199 - Sync a device reset from GPU process to main process. r=dvander
...
--HG--
extra : rebase_source : 4daf0427fee802cd986d7439c0e27eddbf671311
2016-11-06 13:01:52 -06:00
Ryan Hunt
fec86bdccd
Bug 1313199 - Allow sending reset compositor messages over IPDl. r=dvander
...
--HG--
extra : rebase_source : 6d949e758d35e40702aa8e8022a6482ed7dbe280
2016-11-06 12:56:53 -06:00
Wes Kocher
4b3d16605a
Backed out 18 changesets (bug 792652) for build bustage on linux64 a=backout CLOSED TREE
...
Backed out changeset 90eaf6aec002 (bug 792652)
Backed out changeset ddd915ab4a48 (bug 792652)
Backed out changeset 95eff6c45cae (bug 792652)
Backed out changeset 75855b5a9ab9 (bug 792652)
Backed out changeset b658ebaad5d7 (bug 792652)
Backed out changeset 2ba36b8ac60c (bug 792652)
Backed out changeset 94fcd3bf3f34 (bug 792652)
Backed out changeset cf9c4164eb43 (bug 792652)
Backed out changeset 59e6d0a4f35b (bug 792652)
Backed out changeset bdf86b8b9c43 (bug 792652)
Backed out changeset 8edf4b247250 (bug 792652)
Backed out changeset 63a3c8e4016e (bug 792652)
Backed out changeset e3e496eab991 (bug 792652)
Backed out changeset 5a1e3136323a (bug 792652)
Backed out changeset dbbe3a8c00e7 (bug 792652)
Backed out changeset 1829d5358808 (bug 792652)
Backed out changeset 004cd692ba6d (bug 792652)
Backed out changeset 92e7fee81fa2 (bug 792652)
2016-11-08 12:05:28 -08:00
Bill McCloskey
35fc224b71
Bug 792652 - Move FatalError to IProtocol (r=dvander)
...
This patch moves FatalError to IProtocol. I had to make a few changes.
- I added a ProtocolName() method to find the name of the protocol.
- I gave the two-argument version of FatalError its own name. Otherwise
C++ doesn't like there to be two virtual methods with the same name
in cases where one is overridden and the other isn't (as happens
in IToplevelProtocol).
2016-11-08 11:32:30 -08:00
Phil Ringnalda
27a5b8d2ae
Backed out changeset d537051ade6a (bug 1315510) for nsTArray_base leaks and a fondess for crashing
...
CLOSED TREE
MozReview-Commit-ID: KD3jAkCg0O7
2016-11-07 22:18:21 -08:00
Matt Woodrow
7afb98ff2b
Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander
2016-11-08 15:21:35 +13:00
David Anderson
223ed063da
Fix UI process not properly waiting for the GPU process to finish launching. (bug 1314127, r=rhunt)
2016-10-31 16:03:41 -07:00
David Anderson
ec2b48ff8b
Send accumulated GPU process telemetry to the UI process. (bug 1304494 part 3, r=gfritzsche)
2016-10-30 22:35:57 -07:00
David Anderson
ea1b39856a
Ensure we start the Telemetry singleton in the GPU process. (bug 1304494 part 1, r=gfritzsche)
2016-10-30 22:35:56 -07:00
George Wright
119e15b6b3
Bug 1297790 - Add telemetry probes for GPU process launch/launch-time/abort r=dvander
...
MozReview-Commit-ID: LgrdMOSZn8J
2016-10-20 11:33:40 -04:00
Wes Kocher
78f5a63960
Backed out changeset 0a1486cf11b2 (bug 1297790) for browser_UsageTelemetry_content_aboutHome.js failures a=backout CLOSED TREE
...
--HG--
extra : rebase_source : 8d082316cd6603b1c5f1e8408249b77afe271a7d
2016-10-28 15:44:51 -07:00
George Wright
809a0bbfbb
Bug 1297790 - Add telemetry probes for GPU process launch/launch-time/abort r=dvander
2016-10-28 16:21:08 -04: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
David Anderson
9db9ae327f
Move ownership of LogForwarder to Moz2D. (bug 1310397, r=mattwoodrow)
2016-10-15 13:04:00 -07:00
Kartikaya Gupta
e6f4f137d8
Bug 1275314 - Allow flushing in-progress checkerboard reports in the GPU process as well. r=dvander
...
MozReview-Commit-ID: CXLzkiloHW
2016-10-15 08:45:02 -04:00
David Anderson
c69dfea9a5
Don't double-call EnsureProcessTerminated when killing the GPU process. (bug 1310111, r=billm)
2016-10-14 23:27:32 -07:00
Wes Kocher
aeac5ac648
Backed out changeset 73a60f9b3c2f (bug 1275314) for GTest bustage CLOSED TREE
...
--HG--
extra : histedit_source : 5498a231b3e43706e93835242d246489697dcd9c%2C1ba18b3300a0dfd8b03881bf431334be1f866eb8
2016-10-14 14:52:44 -07:00
Kartikaya Gupta
b5ab2ae9ac
Bug 1275314 - Allow flushing in-progress checkerboard reports in the GPU process as well. r=dvander
...
MozReview-Commit-ID: 3EPv8hh7Zxh
2016-10-14 15:38:01 -04:00
David Anderson
a3280f1c79
Move GPU process XPCOM shutdown to ProcessChild::CleanUp. (bug 1308398 part 3, r=billm)
2016-10-12 00:08:37 -07:00
David Anderson
790d6541fc
Fix VsyncBridgeParent leaking on GPU process shutdown. (bug 1308398 part 2, r=mattwoodrow)
2016-10-12 00:08:36 -07:00
David Anderson
087728d181
Ensure nsThreadManager is started before IPC in the GPU process. (bug 1308398 part 1, r=billm)
2016-10-12 00:08:36 -07:00
Sotaro Ikeda
1d3ceeff04
Bug 1306521 - Handle VP9 colorspace BT.709 on BasicCompositor r=nical,jwwang,jya,jrmuizel
2016-10-11 19:46:28 -07:00
David Anderson
43c76f1bba
Use CrashReporterHost/Client in the GPU process. (bug 1278717 part 3, r=billm)
2016-10-11 14:25:41 -07:00
George Wright
375da61c8b
Bug 1297828 - Ensure gfx logging works in the GPU process r=dvander
2016-10-07 11:28:41 -04:00
George Wright
5aa6a88f07
Bug 1297828 - Add GraphicsError to PGPU r=dvander
2016-10-07 11:26:13 -04:00
David Anderson
b05c9b6851
Fix parent process leaks when using the GPU process. (bug 1307972, r=billm)
2016-10-07 00:07:10 -07:00
Matt Woodrow
4d48d9abe0
Backed out changeset f5a4eadc760e (bug 1305326)
2016-10-06 14:32:57 +02:00
Matt Woodrow
584704be9c
Bug 1305326 - Use D3DChecks::DoesAlphaTextureSharingWork again. r=dvander
...
--HG--
extra : rebase_source : 78b458c0c4f6967e5bed9da58fc00d143645e437
2016-09-28 13:29:46 +13:00
Joel Maher
8a4c948d5b
Bug 1330399 - determine proper bug_components for gfx/* files. r=milan
...
MozReview-Commit-ID: Cw3QdIZEXYR
2017-01-23 11:10:05 -05:00
Matt Woodrow
6b75399b35
Bug 1297826 - Override FatalError for IPDL protocols that access the GPU process and make it non-fatal. r=billm
2016-10-04 21:31:27 +13:00
David Anderson
56cd5719ee
Fix vsync sometimes not firing after the GPU process crashes. (bug 1305628, r=mattwoodrow)
2016-09-30 01:23:52 -07:00
David Anderson
9a371ddb86
Add a testing pref to let the GPU process restart multiple times. (bug 1305941, r=mattwoodrow)
2016-09-30 01:21:21 -07:00
Wes Kocher
1cb598b229
Backed out changeset d98c1bfa1caf (bug 1305326) for windows reftest failures a=backout
2016-09-29 18:10:08 -07:00
Matt Woodrow
d7d08ce68a
Bug 1305326 - Use D3DChecks::DoesAlphaTextureSharingWork again. r=dvander
...
--HG--
extra : rebase_source : 0cf4a5574ebc4727e4394c95532e3279713c8284
2016-09-28 13:29:46 +13:00
Sebastian Hengst
b389a03d86
Backed out changeset 690c50d5a4ca (bug 1305941) for build bustage. r=backout on a CLOSED TREE
2016-09-28 22:54:03 +02:00
David Anderson
4ca1294eed
Add a testing pref to let the GPU process restart multiple times. (bug 1305941, r=mattwoodrow)
2016-09-28 13:23:48 -07:00
Carsten "Tomcat" Book
dd4336be5d
Backed out changeset 9ce619a6dcae (bug 1305628) for crashes
2016-09-28 11:12:07 +02:00
David Anderson
053ecfd3c3
Fix vsync sometimes not firing after the GPU process crashes. (bug 1305628, r=mattwoodrow)
2016-09-28 01:20:12 -07:00
Sebastian Hengst
a026f5edf9
Backed out changeset 7bcb0c169466 (bug 1305628) for crashing with mozilla::OffTheBooksMutex::Lock. r=backout
2016-09-27 23:21:47 +02:00
David Anderson
ea061497c3
Fix vsync sometimes not firing after the GPU process crashes. (bug 1305628, r=mattwoodrow)
2016-09-27 13:15:55 -07:00
David Anderson
beb37a041d
Fix null-deref when APZ is disabled and using out-of-process compositing. (bug 1305198, r=kats)
2016-09-24 13:10:12 -07:00
Kartikaya Gupta
30133fa012
Bug 1298886 - Fire magnify gesture events in the parent process if APZ is enabled but APZ zooming is disabled. r=botond,dvander
...
MozReview-Commit-ID: 1yhJW7OhI0A
2016-09-24 09:46:02 -04:00
David Anderson
14db343852
Support about:checkerboard reporting in the GPU process. (bug 1301266 part 2, r=kats)
2016-09-21 22:38:44 -07:00
Kartikaya Gupta
6d057a3060
Bug 1298173 - Push HandleTap from the GPU process back to the parent process before passing it on to the child process. r=dvander
...
Sending it back via the parent process ensures that it will take the same path
that regular touch events do, and so guarantees that the Tap event won't overtake
the touch events and get dispatched to content first.
MozReview-Commit-ID: 8TiHY2PFPvE
2016-09-21 10:26:33 -04:00
Matt Woodrow
7756c8a512
Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander
2016-09-21 21:25:33 +12:00
Matt Woodrow
9dee8747d7
Bug 1288618 - Part 12: Initialize WMF in the GPU process. r=dvander
2016-09-21 21:24:44 +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
Matt Woodrow
c4fcc19e35
Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander
...
--HG--
extra : rebase_source : f330066c3e301299f541939ac170217625dcdca5
2016-09-21 15:36:39 +12:00
Matt Woodrow
1f7fd955fa
Bug 1288618 - Part 12: Initialize WMF in the GPU process. r=dvander
...
--HG--
extra : rebase_source : 12d1829522bd2761308e1b2bcaf488a1e5f15f67
2016-09-21 15:36:10 +12:00
David Anderson
81234feb8d
Recreate content compositor endpoints when the GPU process dies. (bug 1300936
part 3, r=mattwoodrow,billm)
...
--HG--
extra : rebase_source : 054937d0adf92ab90c0a630034808e5069b6a956
2016-09-20 01:18:50 -07:00
David Anderson
a03cd76c24
Recreate widget compositors when the GPU process dies. (bug 1300936
part 2, r=mattwoodrow)
...
--HG--
extra : rebase_source : 8b6770bcad64a21001efd5d75f0502672282fcab
2016-09-20 01:16:03 -07:00
David Anderson
27c5a863e6
Send content compositor bridges atomically rather than individually. (bug 1300936
part 1, r=billm)
...
--HG--
extra : rebase_source : 3d642f674ecb21c4a1c95ad9312c7afd87c5931a
2016-09-20 01:15:49 -07:00
David Anderson
842b64bbd1
Fix incorrect assert in VsyncBridgeChild. (bug 1303452, r=gwright)
2016-09-18 22:13:53 -07:00
Bill McCloskey
50c44c717c
Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap)
2016-09-16 20:35:11 -07:00
Carsten "Tomcat" Book
21e338db36
Backed out changeset d5c1565d5f7f (bug 1288618)
2016-09-15 16:34:02 +02:00
Carsten "Tomcat" Book
b6c7ec9860
Backed out changeset f981edef8f81 (bug 1288618)
2016-09-15 16:34:00 +02:00
Matt Woodrow
5fd458fdfa
Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander
2016-09-15 23:18:00 +12:00
Matt Woodrow
56533d7e54
Bug 1288618 - Part 12: Initialize WMF in the GPU process. r=dvander
2016-09-15 23:18:00 +12:00
David Anderson
62129d7cb4
Remove racy ImageBridgeChild shutdown/creation checks. (bug 1298938 part 4, r=nical)
...
--HG--
extra : rebase_source : 0419df6221d59c4e9b085015d8483267fb3d446f
2016-09-13 16:30:57 -07:00
Ryan Hunt
207b17b5f2
Bug 1297845 - Initialize gtk in GPU process. r=acomminos
...
MozReview-Commit-ID: EngQvL6h3EU
2016-08-30 01:05:00 -04:00
Ryan Hunt
f98462b4c1
Bug 1298980 - Initialize AsyncPanZoomController global state in GPU Process. r=kats
...
MozReview-Commit-ID: EjDgxzF5HmZ
--HG--
extra : rebase_source : 79cb8dd3b0a6de115d9cb8126b56ca9e6053f8d4
2016-08-31 16:00:00 -04:00
Nathan Froyd
29e8bfeb34
Bug 1299594 - part 2 - remove opened actor tracking from IToplevelProtocol; r=billm
...
The only thing we needed opened actor tracking for was the ability to
clone all the actors. But now that we no longer have support for
cloning actors, we no longer need to track the actors that we've cloned,
which makes a number of things significantly simpler.
2016-09-02 16:13:50 -04:00
Ryan Hunt
2857345325
Bug 1298245 - Hook up creation of OOP APZ for main process. r=dvander
...
MozReview-Commit-ID: 2Ujw28K2COJ
2016-08-29 09:18:00 -04:00
Ryan Hunt
86f669cc48
Bug 1298324 - Change D3D11DeviceStatus to a union. r=dvander
...
MozReview-Commit-ID: LCy2NSch39X
2016-08-26 16:37:00 -04:00
Wes Kocher
493b1533ea
Backed out changeset e82fc4bb4cc4 (bug 1298324) for windows build bustage a=backout
...
CLOSED TREE
--HG--
extra : amend_source : b780f41c130ad5be13c451b4bcbc2b8cfd5570a1
2016-08-26 14:07:32 -07:00
Ryan Hunt
4656974491
Bug 1298324 - Change D3D11DeviceStatus to a union. r=dvander
...
MozReview-Commit-ID: LCy2NSch39X
2016-08-26 13:32:39 -07:00
Ryan Hunt
a855ce5afd
Bug 1297831 - Add an OffscreenFormat gfxVar for use in CompositorOGL. r=jgilbert
...
MozReview-Commit-ID: JLthlwaZg1Q
--HG--
extra : rebase_source : b7ef71ad34b8036f25209242e5fdb743b749d3a7
2016-08-24 14:02:00 -04:00
George Wright
7f34cdcfa6
Bug 1297797 - Set the process name for the GPU process r=dvander
2016-08-25 14:39:17 -04:00
Ryan Hunt
76cbe77abe
Bug 1289650 - Move PAPZ from PContent to PCompositorBridge. r=kats
...
MozReview-Commit-ID: GzU1iEVqSx6
2016-08-01 23:59:00 -07:00
Ryan Hunt
79fa9b6bdb
Bug 1289650 - Check the owning PID when creating PAPZCTreeManager, PLayerTransaction. r=kats,dvander
...
MozReview-Commit-ID: Kbti1O7qgtN
2016-08-16 13:59:13 -07:00
Sebastian Hengst
4468c2345f
Backed out changeset 21cd933e4c32 (bug 1289650) for crashing in e10s browser-chrome tests. r=backout on a CLOSED TREE
2016-08-24 23:17:37 +02:00
Sebastian Hengst
0def5edaa6
Backed out changeset 1c7162137f66 (bug 1289650)
2016-08-24 23:15:44 +02:00
Ryan Hunt
20ed2e2fd0
Bug 1289650 - Move PAPZ from PContent to PCompositorBridge. r=kats
...
MozReview-Commit-ID: GzU1iEVqSx6
2016-08-01 23:59:00 -07:00
Ryan Hunt
dee8eb0d3f
Bug 1289650 - Check the owning PID when creating PAPZCTreeManager, PLayerTransaction. r=kats,dvander
...
MozReview-Commit-ID: Kbti1O7qgtN
2016-08-16 13:59:13 -07:00
Sotaro Ikeda
1ff245b181
Bug 1259571 - Reduce tearing with basic layers on Windows r=dvander
...
--HG--
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
2016-08-23 15:18:55 -07:00
Ryan VanderMeulen
82663d8710
Merge inbound to m-c. a=merge
2016-08-23 10:05:18 -04:00
David Anderson
3f96d36cdd
Initialize a subset of XPCOM in the GPU process. (bug 1294350 part 3, r=froydnj)
2016-08-22 22:57:36 -07:00
David Anderson
c27faebe47
Add D3D9 support to the GPU process. (bug 1297182 part 2, r=mattwoodrow)
...
--HG--
extra : rebase_source : 95364a97c1f0a65eab60f34f64caa8f149e1dbce
2016-08-22 17:25:52 -07:00
Wes Kocher
b38dbd1378
Backed out 2 changesets (bug 1279086) for causing painting issues a=backout
...
Backed out changeset b1c893387fdd (bug 1279086)
Backed out changeset 277c54118c8a (bug 1279086)
2016-08-22 16:00:34 -07:00
David Anderson
f0ab54253c
Add feature level to D3D11DeviceStatus. (bug 1294988 part 6, r=mattwoodrow)
2016-08-20 20:59:11 -07: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
7df82d4b70
Enable Direct3D 11 in the GPU process. (bug 1294988 part 3, r=mattwoodrow)
2016-08-20 20:59:10 -07:00
Bill McCloskey
3a7ee5574b
Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap)
2016-08-19 14:41:26 -07:00
Wes Kocher
3a31be9c17
Backed out 2 changesets (bug 1279086) for failures in browser_menu_item_01.js a=backout
...
Backed out changeset 00bb53b58e96 (bug 1279086)
Backed out changeset cff59fe2b933 (bug 1279086)
2016-08-19 12:31:55 -07:00
Bill McCloskey
3799faa926
Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap)
2016-08-19 09:59:40 -07:00
Ryan Hunt
ababbe26a1
Bug 1296021 - Forward DeallocateLayerTreeId to GPU process if there is one. r=dvander
...
MozReview-Commit-ID: 12JtwGqLyy4
--HG--
extra : rebase_source : d4382aed4c0ce85ae1aa263cf978690d04cfb5dd
2016-08-17 09:11:00 -07:00
David Anderson
45cab1b1db
Initialize COM in the GPU process. (bug 1294350 part 2, r=aklotz)
2016-08-13 12:25:26 -07:00
David Anderson
7d910bdf74
Ensure gfx-related services are started and shutdown properly in the GPU process. (bug 1294350 part 1, r=rhunt)
2016-08-13 12:25:18 -07:00
David Anderson
4257f1eff2
Remove fallback to WARP, but keep the force pref for testing. (bug 1294343, r=jrmuizel)
2016-08-13 12:18:50 -07:00
David Anderson
27679a9d30
Move UseXRender from gfxPlatformGtk to gfxVars. (bug 1288259 part 5, r=jrmuizel)
...
--HG--
extra : rebase_source : e2f8337fe9063ba4bd316c5ae4cb6b475f70d36f
2016-08-04 11:33:44 -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
David Anderson
9e49bc37bb
Introduce gfxVars for sharing graphics variables across processes. (bug 1288259 part 2, r=jrmuizel,billm)
...
--HG--
extra : rebase_source : cbac742f7165a2fbdec3e4d1179c9ed49324579f
2016-08-04 11:33:42 -07:00
Matt Woodrow
2254f8e498
Bug 1289640 - Part 5: Delete the D3D11 image bridge device since it no longer has any callers. r=dvander
...
--HG--
extra : rebase_source : 8ed9418b70d889f8544e23cd624925835e62e9dd
2016-08-02 17:58:17 +12:00
Iris Hsiao
d1330cfd9f
Backed out changeset 0d4ae62cc21a (bug 1289640)
2016-08-02 16:51:20 +08:00
Matt Woodrow
f1c314c175
Bug 1289640 - Part 5: Delete the D3D11 image bridge device since it no longer has any callers. r=dvander
2016-08-02 17:58:17 +12:00
Andi-Bogdan Postelnicu
af228209b4
Bug 1282408 - add ignore initialization check flag for mProcessToken from GPUProcessManager. r=jrmuizel@mozilla.com
...
MozReview-Commit-ID: DW4whzEYdbl
2016-07-28 11:33:17 +03:00
David Anderson
d3cb1d23af
Send vsync rates to the compositor to avoid querying gfxPlatform. (bug 1288822, r=mchang)
2016-07-26 01:57:11 -07:00
David Anderson
438a11aa5a
Fix typo in GPUChild::Init. (bug 1289205, r=rhunt)
2016-07-25 23:18:01 -07:00
Carsten "Tomcat" Book
336105a0de
merge mozilla-inbound to mozilla-central a=merge
2016-07-22 11:58:02 +02:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
David Anderson
0a5620132f
Add VRManager support to the GPU process. (bug 1287597 part 3, r=billm)
2016-07-21 00:14:59 -07:00
David Anderson
bb98e9f8d7
Move VRManagerChild initialization to GPUProcessManager. (bug 1287597 part 2, r=mattwoodrow)
2016-07-21 00:14:59 -07:00
David Anderson
38864a48be
Open content VRManagers using endpoints. (bug 1287597 part 1, r=billm)
2016-07-21 00:14:59 -07:00
Carsten "Tomcat" Book
5b86ab83e3
Backed out changeset 3119db384fcc (bug 1281575) for bustage
2016-07-21 06:26:58 +02:00
Ryan Hunt
de1e16b8e9
Bug 1281575 - Extract interface of APZCTreeManager for moving to GPUProcess. r=kats
2016-07-20 13:37:00 +02:00
Nathan Froyd
2f28c4b3a4
Bug 1287784 - micro-optimize GPUParent::RecvInit; r=milan
...
We can make GPUParent::RecvInit more efficient in two ways:
1. Using `auto&' for the type of the for-loop variable means that we're
not copying each GfxPrefSetting value that we're iterating over,
which is a win.
2. Pulling the `gfxPrefs::all()' call out of the loop means that we
don't have to call it on each iteration. You may think the compiler
could do this for you, but the compiler can't be sure that
sGfxPrefList isn't being modified by SetCachedValue.
2016-07-20 16:55:07 -04:00
David Anderson
471ed8630a
Implement ImageBridge support for the GPU process. (bug 1287366 part 3, r=mattwoodrow,billm)
...
--HG--
extra : rebase_source : 0fc5f5bab52e6f49ed2c607e63c9a14d0509dd9a
2016-07-20 00:19:27 -07:00
David Anderson
6aca1d9865
Use Endpoints for content-process ImageBridges. (bug 1287366 part 2, r=billm)
...
--HG--
extra : rebase_source : 388c44e8df0ff45eb32e12d2b98c654cb0592bf0
2016-07-20 00:18:30 -07:00
David Anderson
20e7252a49
Move parent-process ImageBridgeChild startup to GPUProcessManager. (bug 1287366 part 1, r=mattwoodrow)
...
--HG--
extra : rebase_source : c8c1ca6fdea8f4f87bd5da392e120834c3c27a24
2016-07-20 00:17:28 -07:00
David Anderson
21a8ece643
Ensure GPU process initializes ScrollMetadata::sNullMetrics. (bug 1287917, r=kats)
2016-07-19 21:11:44 -07:00
David Anderson
969d03ec34
Implement vsync notification for remote compositors. (bug 1285625 part 3, r=mchang)
2016-07-19 11:56:07 -07:00
David Anderson
ad5abd7a72
Add a top-level protocol for sending vsync messages to the GPU process. (bug 1285625 part 1, r=billm)
2016-07-19 11:56:06 -07:00
Ryan Hunt
5c1e3a17b8
Bug 1281575 - Extract interface of APZCTreeManager for moving to GPUProcess. r=kats
...
MozReview-Commit-ID: 7tO2kkTNFk2
2016-07-20 13:37:00 +02:00
David Anderson
8b62f958d0
Support compositor bridges from the content process to the GPU process. (bug 1282348 part 8, r=billm)
2016-07-17 21:24:28 -07:00
David Anderson
cce407eb5f
Send content compositor bridges using endpoints rather than Opens. (bug 1282348 part 7, r=billm)
2016-07-17 21:24:28 -07:00
David Anderson
1fc0d80f24
Don't call Close twice when the GPU process unexpectedly terminates. (bug 1282348 part 6, r=billm)
2016-07-17 21:24:28 -07:00
David Anderson
0339421b99
Add a remote implementation of CompositorSession. (bug 1282348 part 5, r=billm)
2016-07-17 21:24:28 -07:00
David Anderson
adf653992b
Allow top-level protocols the ability to notify GPUProcessManager when their actors are unexpectedly destroyed. (bug 1282348 part 4, r=billm)
2016-07-17 21:24:28 -07:00
David Anderson
2daec996e9
Move layers ID allocation to GPUProcessManager. (bug 1282348 part 3, r=mattwoodrow)
2016-07-17 21:24:27 -07:00
David Anderson
8760583973
Split InProcessCompositorBridge to its own file. (bug 1282348 part 2, r=mattwoodrow)
...
--HG--
rename : gfx/ipc/CompositorSession.cpp => gfx/ipc/InProcessCompositorSession.cpp
2016-07-17 21:24:27 -07:00
David Anderson
9e653f7da3
Split up CompositorBridgeParent initialization. (bug 1282348 part 1, r=mattwoodrow,billm)
2016-07-17 21:24:27 -07:00
Kartikaya Gupta
4152d69a8e
Bug 1256339 - Collapse the different Handle*Tap functions in GeckoContentController into a single API. r=botond
...
This is just a refactoring, no functional changes intended.
MozReview-Commit-ID: GRJxVpNAlHC
2016-07-05 13:24:54 -04:00
Kartikaya Gupta
fe435c86af
Bug 1283556 - Convert APZStateChange to an enum class and make the formatting more consistent with the style guide. r=botond
...
MozReview-Commit-ID: FtfoY1jCwkR
2016-07-04 14:44:08 -04:00
David Anderson
97a92d5d5e
Extract a delegate interface out of WinCompositorWidget. (bug 1281998 part 6, r=jimm)
2016-07-01 01:15:16 -07:00
David Anderson
6562af780a
Move CompositorWidget construction out of nsIWidget. (bug 1281998 part 5, r=jimm)
2016-07-01 01:15:16 -07:00
David Anderson
f0edea202e
Move CompositorWidget ownership from nsWindow to CompositorSession. (bug 1281998 part 4, r=jimm)
2016-07-01 01:15:16 -07:00
David Anderson
56c221c4a6
Move InProcessCompositorWidget to its own file. (bug 1281998 part 3, r=jimm)
...
--HG--
rename : widget/CompositorWidget.cpp => widget/InProcessCompositorWidget.cpp
2016-07-01 01:15:16 -07:00
David Anderson
3f0ea0572d
Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
...
--HG--
rename : widget/CompositorWidgetProxy.cpp => widget/CompositorWidget.cpp
rename : widget/CompositorWidgetProxy.h => widget/CompositorWidget.h
rename : widget/windows/WinCompositorWidgetProxy.cpp => widget/windows/WinCompositorWidget.cpp
rename : widget/windows/WinCompositorWidgetProxy.h => widget/windows/WinCompositorWidget.h
2016-07-01 01:15:16 -07:00
Phil Ringnalda
0d0d24bccc
Back out 7 changesets (bug 1281998) for Windows Marionette crashes
...
Backed out changeset d806fac2c856 (bug 1281998)
Backed out changeset b8d4fedfd7eb (bug 1281998)
Backed out changeset a72929c0c3ec (bug 1281998)
Backed out changeset 74198f88fa37 (bug 1281998)
Backed out changeset 54a0e73f6906 (bug 1281998)
Backed out changeset 99d1da1293b7 (bug 1281998)
Backed out changeset a5a9585754b1 (bug 1281998)
--HG--
rename : widget/CompositorWidget.cpp => widget/CompositorWidgetProxy.cpp
rename : widget/CompositorWidget.h => widget/CompositorWidgetProxy.h
rename : widget/windows/WinCompositorWidget.cpp => widget/windows/WinCompositorWidgetProxy.cpp
rename : widget/windows/WinCompositorWidget.h => widget/windows/WinCompositorWidgetProxy.h
2016-06-29 19:35:24 -07:00
David Anderson
4853817add
Extract a delegate interface out of WinCompositorWidget. (bug 1281998 part 6, r=jimm)
...
--HG--
extra : rebase_source : 66e23a6efd766341a97ab46f1c52b368f145d849
2016-06-29 16:47:23 -04:00
David Anderson
358a567c70
Move CompositorWidget construction out of nsIWidget. (bug 1281998 part 5, r=jimm)
...
--HG--
extra : rebase_source : 881a2fac4447de3f1aeae3f34f21f9e76a79e0a3
2016-06-29 16:47:22 -04:00
David Anderson
80600779fc
Move CompositorWidget ownership from nsWindow to CompositorSession. (bug 1281998 part 4, r=jimm)
...
--HG--
extra : rebase_source : ff35830b0ca727e03366ebcd9cf069d7772de591
2016-06-29 16:47:22 -04:00
David Anderson
b4551c49b7
Move InProcessCompositorWidget to its own file. (bug 1281998 part 3, r=jimm)
...
--HG--
rename : widget/CompositorWidget.cpp => widget/InProcessCompositorWidget.cpp
extra : rebase_source : d885b1ec9c30e8c5558c31c6caadfc645e7ed567
2016-06-29 16:47:22 -04:00
David Anderson
804c1ee06f
Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
...
--HG--
rename : widget/CompositorWidgetProxy.cpp => widget/CompositorWidget.cpp
rename : widget/CompositorWidgetProxy.h => widget/CompositorWidget.h
rename : widget/windows/WinCompositorWidgetProxy.cpp => widget/windows/WinCompositorWidget.cpp
rename : widget/windows/WinCompositorWidgetProxy.h => widget/windows/WinCompositorWidget.h
extra : rebase_source : 8ecf59ad6039f0d0d2a51008aef53ef37aa2ce0e
2016-06-29 16:47:22 -04:00
David Anderson
6c0ba47595
Don't leave temporary dangling nsWindow references to CompositorBridgeParent. (bug 1282343 part 1, r=mattwoodrow,kats)
2016-06-28 14:53:21 -07:00
David Anderson
b32d76868e
Use IntSize in CompositorBridgeParent's constructor. (bug 1282347, r=kats)
2016-06-27 17:05:34 -07:00
David Anderson
5e2232c2e7
Synchronize gfxPrefs to the GPU process. (bug 1280822 part 4, r=jrmuizel)
2016-06-26 23:33:20 -07:00
Wes Kocher
1587b12aa9
Backed out 4 changesets (bug 1280822) for leaking nsTArray_base
...
Backed out changeset b9a0567cd7c1 (bug 1280822)
Backed out changeset 93d483583ffa (bug 1280822)
Backed out changeset 91715d8e468f (bug 1280822)
Backed out changeset 3db77f57cef4 (bug 1280822)
2016-06-24 14:43:41 -07:00
David Anderson
c6e8888418
Synchronize gfxPrefs to the GPU process. (bug 1280822 part 4, r=jrmuizel)
...
--HG--
extra : rebase_source : 85222a6f5ede09474d61061a74eeebb677791c51
2016-06-24 16:18:02 -07:00
Bill McCloskey
ab96df2b7a
Bug 1268559 - Go back to ContentParent controlling process shutdown (i.e., backout bug 1262898) (r=dvander)
2016-06-24 13:13:45 -07:00
David Anderson
ebb01e928a
Implement GPU process shutdown. (bug 1271180 part 5, r=billm)
...
--HG--
extra : rebase_source : 13e7c4274e3948e13096baf3bf4e48000d3f8864
2016-06-10 22:37:03 -04:00
David Anderson
d3bb5cb316
Add skeletal code for launching a GPU process. (bug 1271180 part 4, r=billm,jrmuizel)
...
--HG--
extra : rebase_source : 456e4b94a93191f85d90209459c5189ea165670d
2016-06-10 22:27:24 -04:00
Phil Ringnalda
5e0adb7d56
Back out 5 changesets (bug 1271180) for static analysis bustage
...
CLOSED TREE
Backed out changeset cfb53b780b18 (bug 1271180)
Backed out changeset 204b084385f8 (bug 1271180)
Backed out changeset 353da876be33 (bug 1271180)
Backed out changeset 4472dfbc1dc6 (bug 1271180)
Backed out changeset 81079e787b8a (bug 1271180)
--HG--
rename : ipc/glue/TaskFactory.h => dom/plugins/ipc/TaskFactory.h
2016-06-11 00:46:09 -07:00
David Anderson
a6676c7cfb
Implement GPU process shutdown. (bug 1271180 part 5, r=billm)
...
--HG--
extra : rebase_source : c00e110f584ac056cc4e7918b833d6c6dbd79007
2016-06-10 22:37:03 -04:00
David Anderson
d2678d4141
Add skeletal code for launching a GPU process. (bug 1271180 part 4, r=billm,jrmuizel)
...
--HG--
extra : rebase_source : 332f5cf6ca5e1f78fb2283a7e79b6b21654e9e59
2016-06-10 22:27:24 -04: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
Jonathan Watt
03036022ec
Bug 1277862, part 2 - Rename Moz2D's Filter to SamplingFilter in the rest of gfx/. r=Bas
2016-05-25 17:01:18 +01:00
Bill McCloskey
7dbc02ed0f
Bug 1262671 - Use BufferList for Pickle (r=froydnj)
2016-05-27 09:57:41 -07:00
Bill McCloskey
291c555f34
Bug 1262671 - void** -> PickleIterator (r=froydnj)
2016-05-27 09:57:38 -07:00
David Anderson
cc844f6053
Remove ContentParent use of CompositorBridgeParent. (bug 1274149 part 5, r=mattwoodrow)
2016-05-23 00:28:51 -07:00
David Anderson
3284628c95
Remove TabParent use of CompositorBridgeParent. (bug 1274149 part 4, r=mattwoodrow)
2016-05-23 00:28:03 -07:00
David Anderson
60ca648e99
Move Alloc/DeallocLayerTreeId calls to GPUProcessManager. (bug 1274149 part 3, r=mattwoodrow)
2016-05-23 00:27:57 -07:00
David Anderson
44e1ee52df
Remove direct calls to CompositorBridgeParent::GetAPZCTreeManager. (bug 1274149 part 2, r=kats)
2016-05-23 00:27:51 -07: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
3afaab9b67
Remove ContentParent use of CompositorBridgeParent. (bug 1274149 part 5, r=mattwoodrow)
2016-05-23 00:28:51 -07:00
David Anderson
5a87aaf54e
Remove TabParent use of CompositorBridgeParent. (bug 1274149 part 4, r=mattwoodrow)
2016-05-23 00:28:03 -07:00
David Anderson
25f45d71ec
Move Alloc/DeallocLayerTreeId calls to GPUProcessManager. (bug 1274149 part 3, r=mattwoodrow)
2016-05-23 00:27:57 -07:00
David Anderson
0b299bbf23
Remove direct calls to CompositorBridgeParent::GetAPZCTreeManager. (bug 1274149 part 2, r=kats)
2016-05-23 00:27:51 -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
Kartikaya Gupta
9994166655
Bug 1274589 - Rename RegionBuilder::Or to RegionBuilder::OrWith for consistency with the region classes. r=jrmuizel
...
MozReview-Commit-ID: CIzTVKXUVSs
2016-05-21 00:06:51 -04:00
David Anderson
c2a116cdd6
Hide top-level CompositorBridgeParents behind a new API. (bug 1272472 part 4, r=mattwoodrow,kats,gwagner)
2016-05-17 22:33:22 -07:00
Milan Sreckovic
17dda1461b
Bug 1272767: More graphics MOZ_CRASH-es getting GFX prefix. Also, follow up on bug 1270180 comments. r=mchang
...
MozReview-Commit-ID: 1rlHdDG4Cbw
--HG--
extra : rebase_source : 8bf84d2b1c4cc5bc48821b1eadbadf8edc6ce1ba
2016-05-13 16:34:41 -04:00
Chris Peterson
8a9e2d2bd4
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Botond Ballo
0702a1f217
Bug 1267438 - Group ScrollMetadata's optional clip rect and mask layer index into a LayerClip structure. r=mstange
...
MozReview-Commit-ID: 6W0GZYkioov
--HG--
extra : rebase_source : f99b4c8bd571fd82ddd7e6121caac57b13c380f7
extra : source : b802e4ef209948f307565f2ba750b2fbd340bcb6
extra : histedit_source : 016fe1d78bde06feeb483446fdfb508448573d72
2016-04-29 16:14:21 -04:00
David Anderson
f894adf887
Move DeviceInitData from gfxWindowsPlatform to gfxPlatforn. (bug 1254899 part 5, r=milan)
2016-04-28 21:52:55 -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
26854d41bf
Move DeviceInitData from gfxWindowsPlatform to gfxPlatforn. (bug 1254899 part 5, r=milan)
2016-04-27 22:54:25 -07:00
Botond Ballo
80791b18a4
Bug 1267470 - Move more fields from FrameMetrics to ScrollMetadata. r=kats
...
MozReview-Commit-ID: zxtt1NNcDe
--HG--
extra : rebase_source : 65cdc94615ccbb51901e8c4ac086987ff2183719
2016-04-27 16:06:34 -04:00
Edwin Flores
c29a1c1ed1
Bug 1266878 - Fix off-by-one error in ParamTraits<StereoMode> - r=nical
2016-04-25 18:09:59 +01:00
Kartikaya Gupta
e4f0d8e002
Bug 1257641 - Replace the mUpdateScrollOffset bool with an enum, needed in the next patch. r=botond
...
MozReview-Commit-ID: AtmpQTAUH8L
2016-04-13 10:21:13 -04:00
Kartikaya Gupta
967f8c8fb1
Bug 1246290 - Add a bit to FrameMetrics to indicate if APZ-scrolling should be disabled on that APZC. r=botond
...
MozReview-Commit-ID: 5NeFP31Y0Qg
2016-04-03 13:13:58 -04:00
Botond Ballo
895380f52c
Bug 1219296 - Ship scroll snap information to the compositor. r=kats
...
MozReview-Commit-ID: 2aCaAEC5Csu
--HG--
extra : rebase_source : 840fa9478c32932c40cf3f9222d14da567f9d41b
2016-03-11 22:04:53 -05:00
Botond Ballo
a74ec8c79b
Bug 1219296 - Split fields not needed for repaints out from FrameMetrics. r=kats
...
MozReview-Commit-ID: DymHOSI6yYK
--HG--
extra : rebase_source : 1996bcb7f005c02b94031fe1c73d5136814b0296
2016-03-28 19:14:52 -04:00
Gregory Szorc
ab955c4662
Bug 1256502 - Use a uint32_t cast to avoid C4319 on VS2015; r=botond
...
The sizeof() was creating a size_t which made VS complain about a
mismatch between uint32_t and size_t. The sizeof() should never be
larger than a uint32_t, so just cast it.
MozReview-Commit-ID: 5HrFOfQhAMp
--HG--
extra : rebase_source : ad4306d8a9a0c20fc803db3a057de822f52076ef
2016-03-23 15:12:30 -07:00
Benoit Girard
511cfd0fbb
Bug 1258481 - Use RegionBuilder for nsRegion IPC. r=jrmuizel
...
MozReview-Commit-ID: 6K0aPjhyD1A
--HG--
extra : rebase_source : fbca985c5551842fbfd7dd3357ef3ee9144a7430
2016-03-23 13:46:20 -04:00
Carsten "Tomcat" Book
67557a3f7f
Backed out changeset 8e7a8791854f (bug 1258481)
2016-03-23 16:52:02 +01:00
Benoit Girard
97d955db86
Bug 1258481 - Use RegionBuilder for nsRegion IPC. r=jrmuizel
...
MozReview-Commit-ID: 6Ma8sVkfeuj
--HG--
extra : rebase_source : fb9ed83b170ca33657314cb3a18a532b6222dfdd
2016-03-23 11:36:53 -04:00
David Anderson
b7dba4cb77
Require mix-blend mode support in all compositors and layer managers. (bug 1209278 part 1, r=mstange)
2016-02-23 10:11:21 -08:00
Wes Kocher
a9ea5f6a56
Backed out 2 changesets (bug 1193557, bug 1209278) for build bustage
...
Backed out changeset 755b9088813c (bug 1193557)
Backed out changeset 21356fa4e353 (bug 1209278)
--HG--
extra : commitid : 5hf8aSA5FhN
2016-02-23 10:39:08 -08:00
David Anderson
a08042eef1
Require mix-blend mode support in all compositors and layer managers. (bug 1209278 part 1, r=mstange)
...
--HG--
extra : rebase_source : c63182aa6b4465e22d8d4147bfd40bc1e8183b08
2016-02-23 10:11:21 -08:00
Wes Kocher
4c4e5f57b5
Backed out changeset 3dce92c9562d (bug 1232042) for causing Win7 slaves to apparently crash and lock up a=backout
...
--HG--
extra : commitid : LR9A2AvlKN6
2016-02-17 11:11:10 -08:00
Bas Schouten
0ba3291163
Bug 1247775 - Part 2: Remove Direct2D 1.0 code from Thebes. r=dvander
...
MozReview-Commit-ID: EC8yhkvvood
2016-02-13 14:33:27 +01:00
Carsten "Tomcat" Book
eebf5d68a5
Backed out changeset 4adb7586410a (bug 1247775)
2016-02-12 08:49:29 +01:00
Bas Schouten
341a0f43ec
Bug 1247775 - Part 2: Remove Direct2D 1.0 code from Thebes. r=dvander
...
MozReview-Commit-ID: EC8yhkvvood
--HG--
extra : rebase_source : fbb8a83f359e31bf77a058e202666df7f244893e
2016-02-12 02:05:35 +01:00
Bas Schouten
fe90bf3a21
Bug 1232042: Workaround Windows presentation bug by executing a present call on the main thread during a WM_PAINT event. r=jrmuizel
...
MozReview-Commit-ID: JbPdhIi9zCd
2016-02-06 03:14:44 +00:00
Phil Ringnalda
ac03b87535
Back out aeceae3e0e96 (bug 1232042) for Win8 crashes @nvwgf2umx.dll + 0x2d416a in addon manager tests
2016-02-06 09:52:35 -08:00
Bas Schouten
06a81d915b
Bug 1232042: Workaround Windows presentation bug by executing a present call on the main thread during a WM_PAINT event. r=jrmuizel
...
--HG--
extra : commitid : K5S8gKJzzhj
2016-02-06 03:14:44 +00:00
Nicholas Nethercote
74831ef786
Bug 1239864 (part 4) - Use the new rect iterators in gfx/. r=nical.
...
--HG--
extra : rebase_source : 633ae2a881c15ae14d08e9ea9289e2b8f079a4b9
2016-01-18 17:20:58 -08:00
Nicholas Nethercote
6a194c8cf8
Bug 1239864 (part 1) - Add new, nicer rect-iterators for nsRegion and nsIntRegion. r=roc.
...
This requires renaming the existing nsIntRegion::RectIterator as
nsIntRegion::OldRectIterator to make way for the new nsIntRegion::RectIterator.
This doesn't require many knock-on changes because most existing uses of
that type use the nsIntRegionRectIterator typedef.
--HG--
extra : rebase_source : 16c79610ae20820ead6aa63cbe214e4e4b3a9fab
2016-01-14 18:36:11 -08:00
Kartikaya Gupta
a1c2f88721
Bug 1226826 - Record paint times in the checkerboard event. r=botond
...
--HG--
extra : commitid : CygYKO4FVuh
2016-01-15 16:19:59 -05:00
Nigel Babu
ecae6cd9a5
Backed out 4 changesets (bug 1226826) for widespread bustage
...
Backed out changeset 95d373bec568 (bug 1226826)
Backed out changeset bb9970d440a4 (bug 1226826)
Backed out changeset 6c1fa0dc6bd7 (bug 1226826)
Backed out changeset 400ebf504171 (bug 1226826)
--HG--
extra : commitid : D1zZSeIHTOA
2016-01-14 08:33:11 +05:30
Kartikaya Gupta
a7478cbca5
Bug 1226826 - Record paint times in the checkerboard event. r=botond
...
--HG--
extra : commitid : kX3Eye3aq0
2016-01-13 15:46:08 -05: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
Kartikaya Gupta
57630a6b66
Bug 1219352 - Pack the FrameMetrics booleans. r=botond
...
--HG--
extra : commitid : AWU27s9DKzG
2016-01-06 20:50:01 -05:00
Kartikaya Gupta
0d7d89c6a4
Bug 1219352 - Rearrange fields in FrameMetrics. r=botond
...
This patch:
- Maintains a consistent ordering between the lists of fields in the
FrameMetrics constructor, operator==, IPC read/write functions, and the
actual order of fields in FrameMetrics. As part of this, missing default
initializers are added to the FrameMetrics constructor, and fields omitted
from the operator== are explicitly noted.
- Moves all the boolean values to the end of the set of field (for better
packing).
- Moves the scroll id and parent scroll id to the front of the list, so that
the operator== can fail faster in the common case.
--HG--
extra : commitid : 6ink6xmxH38
2016-01-06 20:50:01 -05:00
Bill McCloskey
871a98516f
Bug 1236266 - Use release assert in IPC serialization for regions (r=jmuizelaar)
2016-01-06 10:22:54 -08:00
Nigel Babu
6b46bb89da
Backed out changeset ad7bcc14bc9c (bug 1236266) for causing perma leaks
...
--HG--
extra : commitid : 8D1VqyqYDLw
2016-01-06 14:02:58 +05:30
Bill McCloskey
30155a0988
Bug 1236266 - Use release assert in IPC serialization for regions (r=jmuizelaar)
2016-01-05 21:59:46 -08:00
David Anderson
bba1b2478f
Annotate FrameMetrics that are created for ScrollInfoLayers. (bug 1192919 part 1, r=kats)
...
--HG--
extra : commitid : 83SwqEe7GTb
2015-12-21 09:36:36 -05:00
Nicolas Silva
9bc4b1d4e6
Bug 1228952 - Move texture metadata out of the BufferTextureClient/Host's buffer. r=Sotaro
2015-12-16 19:50:58 +01:00
David Anderson
b49b27b9a6
Add an NPN_GetValue query to find the browser's DXGI adapter. (bug 1217665 part 10, r=aklotz,mattwoodrow)
...
--HG--
extra : rebase_source : 55d8f4541524298232b219ab29938c62d69d56af
2015-12-02 11:31:17 -08:00
Sunny Sidhu
cfa8942015
Bug 1220873
- Make Layer::mVisibleRegion a LayerIntRegion. r=botond
...
--HG--
extra : source : dc46048f7a9e9cc008c97e2d9e0a100944743055
extra : amend_source : 63783bc076e5969ebacdc8c74f9b5194a1891d9e
2015-11-29 02:07:55 -05:00
David Anderson
a461be8bed
Add IPC helpers to marshal DXGI_ADAPTER_DESC. (bug 1225283 part 1, r=mattwoodrow)
...
--HG--
extra : rebase_source : 3733dd6db625c9f93f34725d246b4efb6b63b191
2015-11-18 12:11:52 -08:00
Wes Kocher
f4535ab455
Backed out 2 changesets (bug 1225283) for Windows build bustage CLOSED TREE
...
Backed out changeset a2dc8e863533 (bug 1225283)
Backed out changeset 5f456b78cccc (bug 1225283)
2015-11-17 14:41:42 -08:00
David Anderson
91684610bf
Add IPC helpers to marshal DXGI_ADAPTER_DESC. (bug 1225283 part 1, r=mattwoodrow)
2015-11-17 13:38:12 -08:00
Chris Peterson
662a258a78
Bug 1215900 - Fix clang's -Wimplicit-fallthrough warnings in gfx/ipc/GfxMessageUtils.h. r=mstange
...
GfxMessageUtils.h:968:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
GfxMessageUtils.h:969:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
GfxMessageUtils.h:970:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
GfxMessageUtils.h:971:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
GfxMessageUtils.h:972:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
GfxMessageUtils.h:973:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
GfxMessageUtils.h:974:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
GfxMessageUtils.h:975:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
GfxMessageUtils.h:976:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
GfxMessageUtils.h:977:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
GfxMessageUtils.h:981:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-10-17 22:53:03 -07:00
Benoit Girard
fd05a3df17
Bug 1199885 - Part 2: Add AsyncDragMetrics. r=kats
...
--HG--
extra : commitid : Bq9QdYWF3v3
extra : rebase_source : bdd10ec82cd18811fa8fe75477d02dc862ece99b
2015-09-28 14:43:50 -04:00
Nicholas Nethercote
0f5722f4da
Bug 1211324 (part 5) - Remove GraphicsFilter and gfxGraphicsFilter. r=mattwoodrow.
2015-10-05 17:18:10 -07:00
Nicholas Nethercote
4fc2610c3c
Bug 1211324 (part 4) - Replace GraphicsFilter constants with gfx::Filter equivalents. r=mattwoodrow.
...
The conversion is as follows:
- GraphicsFilter::FILTER_NEAREST == gfx::Filter::POINT
- GraphicsFilter::FILTER_GOOD == gfx::Filter::GOOD
- GraphicsFilter::FILTER_BEST == gfx::Filter::LINEAR
Also typedef GraphicsFilter to gfx::Filter; this will be removed in the next
patch.
These changes mean ToFilter() and ThebesFilter() are no longer needed.
2015-10-05 17:12:46 -07:00
Nicholas Nethercote
b06269a38d
Bug 1211324 (part 3) - Remove GraphicsFilter::FILTER_FAST and replace it with FILTER_BEST. r=mattwoodrow.
...
This may sound like an odd change but it's what the current code effectively
already does due to the way ToFilter() and ThebesFilter() are defined.
2015-10-05 16:59:32 -07:00
Sotaro Ikeda
9b595ca634
Bug 1186793 - Replace nsBaseHashtable::EnumerateRead() calls in gfx/ with iterators r=njn
2015-09-29 07:49:41 -07:00
Nicholas Nethercote
d0c4a9db1b
Bug 1208300 (part 4) - Remove gfxRGBA and some related things. r=jwatt.
...
Hooray!
--HG--
extra : rebase_source : d691b55eef5a8655aa98b81b5398452a5ebe860d
2015-09-24 19:24:16 -07:00
Chris Peterson
71920a9550
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00
"Kearwood \"Kip\" Gilbert"
0f397fb78d
Bug 1157984 - Part 1: Extend gfx::2d classes to support both float and double precision,r=jrmuizel
...
- Implemented templates for Coord, Point, Point3D, Point4D, Size, Margin
and Rect to create double precision versions.
--HG--
extra : rebase_source : 91e16a7b970026346b6e90a23427fd0f70491765
2015-06-11 13:43:40 -07:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Chris Peterson
8b1de6b820
Bug 1194948 - Build gfx/ipc in unified mode and mark as FAIL_ON_WARNINGS. r=BenWa
2015-08-13 20:46:47 -07:00
David Anderson
5953408ea9
Don't mix GPU adapters across processes. (bug 1183910 part 10, r=jmuizelaar)
2015-08-10 20:27:06 -07:00
Carsten "Tomcat" Book
26f2018b57
Backed out 2 changesets (bug 1183910) for bustage on a CLOSED TREE
...
Backed out changeset 9617a34de78f (bug 1183910)
Backed out changeset d8f79432c768 (bug 1183910)
2015-08-06 12:09:52 +02:00
David Anderson
4e15c1f1eb
Don't mix GPU adapters across processes. (bug 1183910 part 10, r=jmuizelaar)
2015-08-06 02:42:04 -07: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
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
David Anderson
55a0f8ee25
Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow
...
--HG--
extra : rebase_source : 9bf7a73b14e40972b3a5824b2f1344b7770ab789
extra : source : 745366787bcae737c0aec908554db2a3ec288908
2015-06-21 12:27:31 -04:00
Markus Stange
f1b62506d9
Back out bug 1148582 for static analysis bustage.
2015-07-01 01:20:59 -04:00
David Anderson
c29b4c6dfa
Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow
2015-06-21 12:27:31 -04:00
Botond Ballo
4958aa7c1b
Bug 1158424 - Rename FrameMetrics::mIsRoot to mIsRootContent. r=kats
...
--HG--
extra : rebase_source : a082680d842dd182d899f637200ce911cc3c480d
extra : source : 8b67f0b8dc96cebe9a58356708b23bebd8532134
2015-06-08 16:01:26 -04:00
David Anderson
e11be639dd
Fix asynchronously scrolling containerful subframes. (bug 1148582 part 6.1, r=tn)
2015-06-02 16:34:46 -07:00
Amanda Sambath
00f98b50e9
Bug 1158120 - Replace nsIntSize by mozilla::gfx::IntSize in gfx/ipc directory part 2. r=nical
2015-05-29 14:39:19 +02:00
Amanda Sambath
37846cd6a0
Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/ipc. r=nical
2015-05-28 13:58:41 +02:00
Timothy Nikkel
17048184a5
Bug 1168630. Part 3. Add IsLayersIdRoot to frame metrics. r=botond
...
This field tells us if this frame metrics should be considered the root APZC for its layers id. Without this there doesn't seem to be a way to compute this from just the layers tree.
2015-05-31 14:44:41 -05:00
David Anderson
bb8d53f35f
Move the APZ scroll frame clip onto FrameMetrics. (bug 1148582 part 3, r=mstange,tn)
2015-05-26 12:40:24 -07:00
Thibaud Backenstrass
83ce7b3e5c
Bug 1158122 - Remove all occurences of nsIntRect in gfx/ipc/. r=nical
2015-05-07 11:07:23 +02:00
Nicolas Silva
cfff5e52c5
Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas
2015-04-21 17:04:57 +02:00
Bob Owen
e4f543bb58
Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce
2015-04-01 09:40:35 +01:00
David Anderson
1e87fb5a4b
Clamp APZ wheel event deltas to the size of a page scroll. (bug 1146676, r=kats)
2015-03-24 14:59:41 -07:00
Kushan Joshi
98880a696a
Bug 1101627 - Add touch action regions. r=kats
2015-03-24 09:13:24 -04:00
Botond Ballo
4f5da1dd25
Bug 1036967 - Introduce ScaleFactors2D. r=kats,Bas
...
--HG--
extra : rebase_source : e137820f9992c23f65aab1e40fb7390c9125b04a
extra : source : 1f79257b3df7fb146a1d4f7248905e0ac88f89d0
2015-03-06 13:53:47 -05:00
Kartikaya Gupta
c6da1df376
Bug 1137267 - Remove unneeded flags to track touch listeners and touch caret. r=smaug,dvander,botond
2015-03-10 09:29:25 -04:00
dvander@alliedmods.net
f1c8e08cdd
Don't async scroll overflowed single-line text boxes in APZ. (bug 1126090 part 6, r=botond)
2015-03-06 14:26:59 -08:00
Benoit Girard
aa69b47387
Bug 1135857 - Remove ContentClientIncremental. r=mattwoodrow
2015-02-23 18:22:06 -05:00
Kartikaya Gupta
7fd26daa4a
Bug 1131840 - Replace the shouldForceDispatchToContent flag with a bitset enum. r=roc,botond
2015-02-16 21:30:02 -05:00
Masatoshi Kimura
6cc5dabbee
Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo
2015-01-26 07:22:11 +09:00
Masatoshi Kimura
86502e6537
Bug 1111290 - Part 2: Non-mechanical changes. r=waldo
2015-01-26 07:22:08 +09:00
Bas Schouten
0618d254cc
Bug 1088414: Use a single synchronization texture for D3D11. r=jrmuizel
...
This patch adds a cross platform 'sync object' that is used to synchronize the drawing of individual textures. For the D3D11 implementation all textures that are written to will have one pixel copied into the D3D11 sync texture while holding its lock. The compositor will then, before composition acquire and release sync once, this should ensure all drawing on the content side has completed.
2014-12-13 01:50:47 +00:00
Wes Kocher
c38e376cd3
Backed out changeset 2cd43e5ae2c1 (bug 1088414) for breaking non-Windows builds on a CLOSED TREE
2014-12-12 18:11:59 -08:00
Bas Schouten
b339c72f57
Bug 1088414: Use a single synchronization texture for D3D11. r=jrmuizel
...
This patch adds a cross platform 'sync object' that is used to synchronize the drawing of individual textures. For the D3D11 implementation all textures that are written to will have one pixel copied into the D3D11 sync texture while holding its lock. The compositor will then, before composition acquire and release sync once, this should ensure all drawing on the content side has completed.
2014-12-13 01:50:47 +00:00
Nicolas Silva
fb73844f4c
Bug 1101636 - Cleanup the CompositorType enum. r=jrmuizel
2014-11-26 02:00:34 +01:00
David Anderson
028b163679
Add APZ handling for desktop scroll wheel events. (bug 1086162 part 1, r=kats)
2014-11-17 20:56:18 -08:00
Botond Ballo
1c1e4448a5
Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats
2014-11-10 14:35:11 -05:00
Botond Ballo
751e400ea4
Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats
2014-10-20 17:12:35 -04:00
Botond Ballo
c854025367
Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
...
This makes APZ behave nicely with most uses of a css transform:scale.
Summary of changes:
- FrameMetrics::mCumulativeResolution now includes the css-driven resolution
in addition to the pres-shell resolution.
- Displayports are now stored in Screen pixels rather than Layer pixels.
This is what we want anyways (as we'd like the displayport size to remain
constant as a fraction of the screen size), but it was necessary to make
this change as part of this patch because continuing to store them in
Layer pixels in the presence of a css-driven resolution would have
required a bunch of infrastructure to implement correctly.
Remaining work:
- Layout painting a scrollable layer at a resolution different from the
scale induced by the css transform causes problems. These will go away
with bug 1076192.
- Different resolutions on the x and y axes are not supported. This is
tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Carsten "Tomcat" Book
8894f4319e
Backed out changeset fbb9dc943109 (bug 1076163) for Android 4.0 Crashes on a CLOSED TREE
2014-11-13 11:47:57 +01:00
Carsten "Tomcat" Book
c247fdb775
Backed out changeset 71fe4233208a (bug 1076163)
2014-11-13 11:47:35 +01:00
Carsten "Tomcat" Book
4b4108a4a9
Backed out changeset a96930f1e26b (bug 1055741)
2014-11-13 11:47:31 +01:00
Botond Ballo
d766d4ca14
Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats
...
--HG--
extra : rebase_source : af7323668fb54079e121755660da2121bec3d76b
2014-11-10 14:35:11 -05:00
Botond Ballo
98ceb86b05
Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats
2014-10-20 17:12:35 -04:00
Botond Ballo
57adf459d4
Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
...
This makes APZ behave nicely with most uses of a css transform:scale.
Summary of changes:
- FrameMetrics::mCumulativeResolution now includes the css-driven resolution
in addition to the pres-shell resolution.
- Displayports are now stored in Screen pixels rather than Layer pixels.
This is what we want anyways (as we'd like the displayport size to remain
constant as a fraction of the screen size), but it was necessary to make
this change as part of this patch because continuing to store them in
Layer pixels in the presence of a css-driven resolution would have
required a bunch of infrastructure to implement correctly.
Remaining work:
- Layout painting a scrollable layer at a resolution different from the
scale induced by the css transform causes problems. These will go away
with bug 1076192.
- Different resolutions on the x and y axes are not supported. This is
tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Kartikaya Gupta
a39f9fd831
Bug 1066421 - Make APZStateChange a regular enum instead of a fake enum class. r=botond
2014-09-12 11:39:32 -04:00
Kearwood (Kip) Gilbert
5f59b02c90
Bug 1022825 - Implement Asynchronous Smooth Scrolling on Compositor Thread. r=kats
...
- Extended nsIScrollableFrame and nsGfxScrollFrame to return destination
of smooth scrolls which are to be animated on the compositor thread.
- Added apz.smooth_scroll_repaint_interval preference.
- Implemented AsyncPanZoomController::PanZoomState::SMOOTH_MSD_SCROLL state
and AsyncPanZoomController::SmoothScrollAnimation class to animate smooth
scroll animations on the compositor thread.
- Extended FrameMetrics to report requests for smooth scrolls to be animated
on the compositor thread and their corresponding destination positions.
- AsyncPanZoomController now checks FrameMetrics for requests to perform
smooth scrolling on the compositor thread. It will ensure that they
are cancelled as needed by mousewheel, touchpanel, keyboard, and
CSSOM-View instant scrolling DOM methods.
- The layout/generic/test/test_scroll_behavior.html mochitest has been
commented as depending on Bug 1062609 before being enabled for APZ.
2014-07-10 11:52:40 -07:00
Robert O'Callahan
021e1aa7f6
Bug 967844. Part 2: Move mContentDescription from Layer to FrameMetrics. r=kats
...
--HG--
extra : rebase_source : b616a0ab2e5bb203a66a5f0b3644bdcbe5f17ce7
2014-08-30 00:23:25 +12:00
Robert O'Callahan
c8b6ed281b
Bug 967844. Part 1: Move mBackgroundColor from Layer to FrameMetrics. r=kats
...
--HG--
extra : rebase_source : d7cf8756678cc342e1d648638dd867c5479b74ba
2014-08-30 00:23:25 +12:00
Phil Ringnalda
a8940eb5c6
Backed out 3 changesets (bug 967844) for robopan bustage
...
Backed out changeset 6b53305f1c42 (bug 967844)
Backed out changeset dff3eb181f33 (bug 967844)
Backed out changeset 4d4b03442eaf (bug 967844)
2014-09-01 15:20:13 -07:00
Robert O'Callahan
a67165f077
Bug 967844. Part 2: Move mContentDescription from Layer to FrameMetrics. r=kats
...
--HG--
extra : rebase_source : d5a2d8ea13369db215e96e721efc3ce0b354a523
2014-08-30 00:23:25 +12:00
Robert O'Callahan
24299705bb
Bug 967844. Part 1: Move mBackgroundColor from Layer to FrameMetrics. r=kats
...
--HG--
extra : rebase_source : b5fd1fd1b0b1f55990e72d205cc871a46d5f4f8c
2014-08-30 00:23:25 +12:00
David Zbarsky
205b93ba09
Bug 1060165: Remove gfxPoint3D r=nical
2014-08-29 14:47:30 -04:00
Kartikaya Gupta
f0b76c5903
Bug 1055760 - Move the scroll handoff parent id from Layer to FrameMetrics. r=botond
2014-08-27 22:13:39 -04:00
Botond Ballo
ffebd18f0b
Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
...
--HG--
extra : rebase_source : 22e5fe577ea503aede765c70e16c0bf875c4a9fd
2014-08-19 13:08:16 -04:00
Botond Ballo
e2b30297a4
Bug 1023557
- Store the content description in ContainerLayer instead of FrameMetrics. r=kats,BenWa
2014-07-31 16:11:47 -04:00