Commit Graph

23228 Commits

Author SHA1 Message Date
Mason Chang
e6c63d0931 Bug 1298484. Use cleartype and convert to grayscale AA for skia windows fonts if cleartype is disabled system wide. r=lsalzman 2016-09-02 15:00:29 -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
Sebastian Hengst
47d3ad2b27 Backed out changeset 2df13967b746 (bug 1289251) 2016-09-02 10:25:38 +02:00
Ryan Hunt
aa59d5109d Bug 1289251 - Allow GLContextProviderGLX to create a GLContext out of process. r=acomminos,jgilbert
MozReview-Commit-ID: 9AdBGkEzI1n

--HG--
extra : rebase_source : ba5a9ffc4897cab71cf5fd0a03379c15ffad4fa4
2016-08-29 17:14:20 -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
Lee Salzman
af21c66e1e Bug 725119 - allow Skia as a content backend in gfxPlatform. r=mchang
MozReview-Commit-ID: GjIybnjz4wl
2016-08-31 15:53:08 -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
Ryan VanderMeulen
435c0addca Merge autoland to m-c. a=merge 2016-08-31 09:52: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
Makoto Kato
ec124dbfbd Bug 1299054 - Remove old Android support (API level < 15) from Gecko. r=snorp
MozReview-Commit-ID: K32YSqGsLf9

--HG--
extra : rebase_source : be0d3b3fc1146234efc75229171ea61258c46492
2016-08-30 14:11:55 +09:00
Milan Sreckovic
ff3ca93c38 Bug 1287316 - Release assert or deal with empty arrays. r=mstange
--HG--
extra : rebase_source : 07b022071bf63b213f78d361d18464cbcbf6b562
2016-08-30 18:38:30 -04:00
Ryan VanderMeulen
feb9c5a04a Merge m-c to inbound. a=merge 2016-08-30 09:59:38 -04:00
Ryan VanderMeulen
71d43e7c12 Merge inbound to m-c. a=merge 2016-08-30 09:52:55 -04:00
Nicholas Nethercote
346d5f4895 Bug 1296993 (part 7) - Streamline nsIWidget::CaptureRollupEvents. r=mstange.
This patch does the following.

- Removes the return value, because none of the call sites check it.

- Puts an empty implementation into nsBaseWidget.

- Removes the empty implementations from several nsIWidget instances, because
  they can use the nsBaseWidget one.

--HG--
extra : rebase_source : 2a94a47f1e7fe986d1efc3854c72968a3e28e365
2016-08-25 13:43:27 +10:00
Nicholas Nethercote
d8684f0659 Bug 1296993 (part 3) - Streamline nsIWidget::ConstrainPosition. r=mstange.
This patch does the following.

- Removes the return value, because none of the call sites check it.

- Puts an empty implementation into nsBaseWidget.

- Removes the empty implementations from several nsIWidget instances, because
  they can use the nsBaseWidget one.

--HG--
extra : rebase_source : ccf64aaa9364d096e1f060ef77be7e8455b11e1f
2016-08-25 13:43:27 +10:00
Nicholas Nethercote
ff02e25e13 Bug 1296993 (part 1) - Streamline nsIWidget::ReparentNativeWidget. r=mstange.
This patch does the following.

- Removes the return value, because none of the call sites check it.

- Puts an empty implementation into nsBaseWidget.

- Removes the empty implementations from several nsIWidget instances, because
  they can use the nsBaseWidget one.

--HG--
extra : rebase_source : e98b7f9970a920c39e941bb531dfc098125913d1
2016-08-25 13:43:26 +10:00
Sebastian Hengst
0aa16b8142 Backed out changeset a8ff54e28b15 (bug 1088300) for unused variable error in SingleTiledContentClient.h. r=backout on a CLOSED TREE 2016-08-30 14:06:14 +02:00
Sebastian Hengst
db7d0332c4 Backed out changeset 1ec40ecc63f8 (bug 1088300) 2016-08-30 14:05:23 +02:00
Nicolas Silva
653aa96fb8 Bug 1088300 - Null-check TileClient::mAllocator. r=milan 2016-08-30 13:48:29 +02:00
Nicolas Silva
f96d58b170 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
Nicolas Silva
27169d083f Bug 1298378 - Pop clips from the corresponding target in gfxContext's style stack. r=Bas 2016-08-30 13:48:11 +02: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
Ethan Lin
d2db92ebce Bug 1295742 - Add gfxCriticalNote for driver reset. r=jerry, r=dvander 2016-08-25 02:17:00 -04:00
Wes Kocher
08fbeaaf2e Merge m-c to autoland, a=merge 2016-08-29 17:57:01 -07:00
Lee Salzman
7cd3c97c52 Bug 1298833 - disable gamma correction in SkFontHost_cairo to match cairo-ft. r=mchang
MozReview-Commit-ID: Ee70HBUJxou
2016-08-29 16:36:09 -04: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
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
Nathan Froyd
76bc75d243 Bug 1298171 - store result of BitmapProperties1 in a temporary to avoid warnings; r=jrmuizel
MozReview-Commit-ID: ANy1vKc5p07

--HG--
extra : rebase_source : d2b43299ec7244bc5bccb21c96f6604f50b083e8
2016-08-29 10:31:25 -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
Wes Kocher
cbdf3625fa Merge m-c to inbound, a=merge 2016-08-26 16:32:56 -07:00
Wes Kocher
f09e8fef1a Merge inbound to central, a=merge 2016-08-26 16:20:50 -07: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