Commit Graph

8220 Commits

Author SHA1 Message Date
Randall Barker
8adc72b766 Bug 1297853 - White flash when creating a private browsing tab r=jchen,kats 2016-09-06 18:01:36 -07:00
Wes Kocher
f71c6f3bf9 Backed out changeset 4bc688969533 (bug 1300050) for build bustage a=backout CLOSED TREE 2016-09-06 17:18:00 -07:00
David Anderson
f4b2b617e0 Remove monitor-related boilerplate in ImageBridgeChild.cpp. (bug 1300050, r=mattwoodrow) 2016-09-06 16:37:01 -07:00
David Anderson
7d3f5ed5b4 Simplify ImageContainerChild memory management. (bug 1299621 part 2, r=nical) 2016-09-06 15:20:41 -07:00
David Anderson
54ea410375 Move ImageContainerChild to its own file. (bug 1299621 part 1, r=nical) 2016-09-06 15:19:35 -07:00
JerryShih
1ea51c8a63 Bug 1298058 - Use different lock/unlock function for WebVR composition path. r=milan 2016-09-05 01:17:00 -04:00
Sotaro Ikeda
7692219cd3 Bug 1273823 - Optimize CreateSourceSurfaceFromLockedMacIOSurface() r=nical 2016-09-05 17:59:58 -07:00
Brian Birtles
48f29038db Bug 1300045 part 2 - Split KeyframeEffect.cpp into KeyframeEffect{ReadOnly}.cpp r=hiro,smaug
MozReview-Commit-ID: DdBEicunApv

--HG--
rename : dom/animation/KeyframeEffect.cpp => dom/animation/KeyframeEffectReadOnly.cpp
rename : dom/animation/KeyframeEffect.h => dom/animation/KeyframeEffectReadOnly.h
extra : rebase_source : 70063d8ba09c9c457f22771e9b514ddc9fee1612
2016-09-04 16:34:21 +09:00
David Anderson
1c2785873c Refactor CompositableClient memory management. (bug 1299375 part 2, r=nical) 2016-09-02 16:08:49 -07:00
David Anderson
6beb9f31ca Give CompositableChild into its own header and source files. (bug 1299375 part 1, r=nical) 2016-09-02 16:07:56 -07:00
Wes Kocher
a2e7bd60fc Merge m-c to inbound, a=merge 2016-09-02 13:34:10 -07:00
Wes Kocher
ee92002ede Merge inbound to m-c a=merge 2016-09-02 13:17:30 -07:00
Milan Sreckovic
525b93bdcd Bug 1299606: Diagnostic, trivial patch. Our messages were not unique. r=me 2016-09-02 11:34:45 -04:00
David Anderson
8f6e2c429f Bug 1298501 - Fix Compositor::IsValid returning the wrong value. r=mattwoodrow
--HG--
extra : rebase_source : e5b04f76c326be3f49dd2f520dc8b54f76f58b80
2016-08-26 13:38: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
Nathan Froyd
fff9bd3854 Bug 1299594 - part 1 - remove CloneManagees/CloneToplevel code from IPDL; r=billm
CloneOpenedToplevels, which is never called, is the only interesting
caller of CloneToplevel.  And CloneToplevel, in turn, is the only
interesting caller of CloneManagees.  Which means we can ditch all this
code for a decent amount of space savings, both in code and writable
static data (no more useless virtual function entries in vtables).
2016-09-02 16:13:50 -04:00
Nicolas Silva
bf9481d44e Bug 1088300 - Null-check TileClient::mAllocator. r=milan 2016-08-30 13:48:29 +02:00
Nicolas Silva
21ca5648d3 Bug 1088300 - Remove mCompositableClient from TileClient, pass the compositable and layer by reference to remove the possibility of unexpectedly storing null pointers. r=milan 2016-08-30 13:48:20 +02:00
Sotaro Ikeda
f4338e33b8 Bug 1299410 - Shrink TextureClientRecycleAllocator more aggressively r=nical 2016-09-02 02:05:58 -07:00
Wes Kocher
44d99ecda5 Merge m-c to autoland, a=merge 2016-09-01 17:54:52 -07:00
Kartikaya Gupta
48a5a4c393 Bug 1298908 - On Windows, fire the contextmenu and long-tap events on the long-tap-up user action. r=botond,jimm
This patch prevents the Windows widget code from dispatching the contextmenu
event if APZ is handling touch input. Instead, the APZ code processes the
raw touch input, and will fire a contextmenu event when the user lifts their
finger after a long-press action, in keeping with the Windows platform
convention. Doing it this way also allows us to respect web conventions where
the web content can prevent the contextmenu event from firing by calling
preventDefault on the touchstart event; this was not possible when dispatching
the contextmenu event directly from the widget code.

This also makes long-pressing on browser chrome components work properly, as
it just shifts the point in time that the contextmenu event is fired without
changing any of the code that triggers the XUL popup. However, some changes
were needed to have the widget code ignore the synthetic mouse events that
the Windows platform sends us, because those would otherwise immediately
dismiss the contextmenu popup after it appeared.

MozReview-Commit-ID: 9HFZLC6xUAi

--HG--
extra : rebase_source : aea932d9f95454c585bcdf962d151c946b5c6ec2
2016-08-30 17:32:08 -04:00
Kartikaya Gupta
107c16e2ee Bug 1298908 - Extract a helper method that does the dispatching of contextmenu events. r=botond
MozReview-Commit-ID: JrtpHhtjhRw

--HG--
extra : rebase_source : 5d0406164e7668143f9cd9ac2743ddfdf9901474
2016-08-30 17:32:08 -04:00
Ryan VanderMeulen
37b200a0c5 Merge autoland to m-c. a=merge 2016-09-01 12:11:51 -04:00
George Wright
0920a76f5e Bug 1280715 - Move FixedSizeShmemAllocator to CompositorBridgeChild to allow for a more sane destruction sequence r=nical 2016-09-01 12:31:38 -04:00
Ryan VanderMeulen
f2ae8f9bce Merge m-c to autoland. a=merge 2016-08-31 22:34:02 -04:00
James Willcox
6adf1a424f Bug 1298822 - Always invalidate layers when resuming the compositor r=BenWa 2016-08-31 16:24:06 -05:00
Kartikaya Gupta
114ff898bb Bug 1299488 - Remove TabParent::InjectTouchEvent as it is unused but error-prone. r=botond
MozReview-Commit-ID: EVBRK70veT1
2016-08-31 16:54:23 -04:00
Botond Ballo
2af3f87bb6 Bug 1288686 - Avoid X11's |#define None 0L| intruding on other parts of the code. r=jrmuizel
MozReview-Commit-ID: 9rD0KLTLg7l

--HG--
extra : rebase_source : a537ba1913b6959e74fc4fcaf58f51f759cc5882
extra : source : 9278e13a7d664e787f763a7c21a32833700899e1
2016-08-29 16:51:43 -04:00
Nicholas Nethercote
fb96bf1f91 Bug 1298722 - Use MOZ_MUST_USE in StyleAnimationValue. r=birtles.
--HG--
extra : rebase_source : c5b8cca624b9ffa7b3263b1aa7ce4f64dd80f13b
2016-08-30 16:10:59 +10:00
Ryan VanderMeulen
71d43e7c12 Merge inbound to m-c. a=merge 2016-08-30 09:52:55 -04:00
Munro Mengjue Chiang
66b4d655fb Bug 1272877 - Allow access to derived Image classes; r=sotaro
MozReview-Commit-ID: 3fXjwaDN5KV

--HG--
extra : rebase_source : 7da96726ab3f9664f3dc9efb9927e1cfc1337c40
2016-08-23 15:44:40 +08:00
Wes Kocher
08fbeaaf2e Merge m-c to autoland, a=merge 2016-08-29 17:57:01 -07:00
Kartikaya Gupta
143fd0431f Bug 1298084 - Manually tick the refresh driver to ensure the interrupted reflow happens when we want it to. r=tnikkel
MozReview-Commit-ID: 2q9hdZPjrPt

--HG--
extra : rebase_source : 0e3582d8495f28e28096457ab3cc5a53a6643b97
2016-08-29 16:22:57 -04:00
Yuri Kazuna
3a366477e0 Bug 1291481 - Represent direction enum as uint8_t in LayersMessages.ipdlh; r=birtles
MozReview-Commit-ID: 9RcyYqsdsaB
2016-08-27 16:50:29 +09:00
George Wright
b04020febc Bug 1293908 - Specify the LayersBackend to be used when creating Textures r=nical 2016-08-26 20:30:58 -04:00
Milan Sreckovic
5459132cb1 Bug 1296731: Add parameter to GetAlignedStride and check for overflow. r=bas
MozReview-Commit-ID: 5Ptm0bxwKdG

--HG--
extra : rebase_source : 535f2fa2447a1401b76acc0b82ce210b3c4d6dfc
2016-08-25 13:57:39 -04:00
Kartikaya Gupta
fc01e735ec Bug 1298401 - Ensure that eNone scroll update types from the APZC don't prevent eUserAction scroll updates from getting sent. r=tnikkel
MozReview-Commit-ID: 7b9QN8knQUM

--HG--
extra : rebase_source : 1c5f4ec63d23b3c3f8bdf835c28c2915c8b42d02
2016-08-26 10:55:22 -04:00
Ryan VanderMeulen
e1fdfb3b73 Merge inbound to m-c. a=merge 2016-08-26 09:37:03 -04:00
Michelangelo De Simone
0b2d2c0e55 Bug 1120059 - Remove unnecessary MOZ_EXPLICIT_CONVERSION macros. r=jwalden
MozReview-Commit-ID: 7CX1VnBRDpk

--HG--
extra : rebase_source : 36be7e6c91d2767c5a610a2806f89efa69ff1c74
2016-07-13 15:07:52 -07: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
a624f81f28 Bug 1298246 - Update documentation for APZ IPDL protocols. r=kats
MozReview-Commit-ID: 6IYNycFmu7z

--HG--
extra : rebase_source : 917aecd0b7dafc09db21c6993eb6eca0f01a8eba
2016-08-25 16:42:55 -07:00
Ryan Hunt
4cf9d87ff1 Bug 1298638 - Check if mAPZEventState is null. r=kats
MozReview-Commit-ID: E6fx5zVUzIU
2016-08-29 12:16:13 -04:00
Ryan Hunt
c638189eee Bug 1297820 - Check if we have a nsIWidget before using NS_NATIVE_OPENGL_CONTEXT. r=jgilbert
MozReview-Commit-ID: 5qmYkOoPMSo

--HG--
extra : rebase_source : 71a71cca96c6a20244886a0a7579009683c9b709
2016-08-25 15:36:00 -04:00
Ryan Hunt
51dd4314b5 Bug 1297831 - Add a RequiresAcceleratedGLContextForCompositorOGL gfxVar for CompositorOGL. r=jgilbert
MozReview-Commit-ID: 9hZMvG8bPvd

--HG--
extra : rebase_source : 164282b35171865eecade7a4e17927daa16ae66a
2016-08-24 14:03:00 -04: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
Randall Barker
e2ca496e35 Bug 1297850 - part 1, Remove dead code left behind after JPZ removal. r=jchen 2016-08-25 17:26:42 -07:00
Wes Kocher
309fb2cc5f Merge m-c to inbound, a=merge 2016-08-25 17:14:17 -07:00
Wes Kocher
f78f2d693b Merge inbound to central, a=merge 2016-08-25 16:59:00 -07:00
Matt Woodrow
fe6480a237 Bug 1297578 - Part 2: Merge ShadowLayersManager into the CBP base. r=dvander
--HG--
extra : rebase_source : c6e702800d8dd365703457e410bcf5e3802c3d67
2016-08-26 09:10:53 +12:00