Граф коммитов

23122 Коммитов

Автор SHA1 Сообщение Дата
Ryan Hunt c0b437cb14 Bug 1289650 - Use PAPZCTreeManager in content process instead of PAPZ. r=kats
MozReview-Commit-ID: LRhvZlNqli
2016-07-31 12:39: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
Ryan VanderMeulen bb47ee1c15 Merge m-c to inbound. a=merge CLOSED TREE 2016-08-25 09:00:49 -04:00
Ryan VanderMeulen f0d5b6f0be Bug 1297276 - Fix merge bustage. a=bustage 2016-08-25 08:40:42 -04:00
Ryan VanderMeulen 2b4ac234e9 Merge m-c to inbound. a=merge 2016-08-25 08:27:17 -04:00
Ryan VanderMeulen 520acfd195 Merge inbound to m-c. a=merge 2016-08-25 08:10:52 -04: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 bf971ed4e5 Backed out changeset 9fa5ccaa8c6c (bug 1289650) 2016-08-24 23:15:49 +02:00
Sebastian Hengst 0def5edaa6 Backed out changeset 1c7162137f66 (bug 1289650) 2016-08-24 23:15:44 +02:00
Sebastian Hengst eaf1c37d5c Backed out changeset beb32bdb4d1c (bug 1289650) 2016-08-24 23:15:39 +02:00
Sebastian Hengst c476223d98 Backed out changeset 4bc6e2713327 (bug 1289650) 2016-08-24 23:15:35 +02:00
Andrew Comminos 6fc5868042 Bug 1280653 - Read into the X11 event queue in GLContextGLX::MakeCurrent to queue DRI invalidation events. r=lsalzman
MozReview-Commit-ID: 5N076lUlCkl

--HG--
extra : rebase_source : c1aa9eb1ad2d5c5410d94d4028ee7f034194b4ad
2016-08-24 20:23:39 -04:00
Kartikaya Gupta 6b6c6bae4f Bug 1297732 - Eliminate some redundancies in prefs files. r=rbarker
MozReview-Commit-ID: EaHtBt0Hgbd

--HG--
extra : rebase_source : 753c09f87f55af3a129b950ae77359717693bae9
2016-08-24 11:54:05 -04:00
Kartikaya Gupta 9f03d0a214 Bug 1297408 - Really prevent flings from happening in the touchevents tests. r=botond
MozReview-Commit-ID: GBEwqa4SZb3

--HG--
extra : rebase_source : 881fc4e891e86115f201a932395d08214f971a0f
2016-08-23 16:06:25 -04:00
Kartikaya Gupta 6c6c920c12 Bug 1297445 - Remove improper call to WidgetModifiersToDOMModifiers. r=botond
MozReview-Commit-ID: 6cB3s4aCmKQ

--HG--
extra : rebase_source : f32a4af4674c9e680330ddf261ca00997c5f6d2d
2016-08-23 13:02:10 -04:00
Andi-Bogdan Postelnicu 76c4dee42b Bug 1296582 - ignore initialisation check for members in SurfaceDescriptorX11. r=jrmuizel
MozReview-Commit-ID: IrxMqvROHPH

--HG--
extra : rebase_source : 72cae16646be0e4b949724dd76925b6857b81e5b
2016-08-23 14:17:56 +03:00
Ryan Hunt 58795e939e Bug 1289650 - Convert APZChild into a wrapper around GeckoContentController. r=kats
MozReview-Commit-ID: L7ZG7EWKWEo
2016-08-10 16:51:45 -07:00
Ryan Hunt 3f375eabe9 Bug 1289650 - Simplify RemoteContentController destruction. r=kats
MozReview-Commit-ID: 3E3kVvychou
2016-08-21 17:43:08 -07:00
Nicholas Nethercote c2306345d5 Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
This patch removes checking of all the callback calls in memory reporter
CollectReport() functions, because it's not useful.

The patch also does some associated clean-up.

- Replaces some uses of nsIMemoryReporterCallback with the preferred
  nsIHandleReportCallback typedef.

- Replaces aCallback/aCb/aClosure with aHandleRepor/aData for CollectReports()
  parameter names, for consistency.

- Adds MOZ_MUST_USE/[must_use] in a few places in nsIMemoryReporter.idl.

- Uses the MOZ_COLLECT_REPORT macro in all suitable places.

Overall the patch reduces code size by ~300 lines and reduces the size of
libxul by about 37 KiB on my Linux64 builds.

--HG--
extra : rebase_source : e94323614bd10463a0c5134a7276238a7ca1cf23
2016-08-24 15:23:45 +10: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
Andrew Comminos 2c8e7beb35 Bug 1297537 - Avoid calling glXWaitGL in GLContextGLX::SwapBuffers. r=jgilbert
MozReview-Commit-ID: FUzbHFyKiMH

--HG--
extra : rebase_source : 71acb5af28740936ed4b3fb6b571e0e3cc153db4
2016-08-23 14:27:33 -04:00
Kartikaya Gupta e83bee3590 Bug 1286179 - For APZ repaint requests that are triggered by main-thread updates, don't attempt to re-scroll the main thread. r=tnikkel
Avoiding these re-scrolls prevents APZ repaint requests from clobbering the
main-thread scroll position (which may have changed in the meantime) in some
cases. See https://bugzilla.mozilla.org/show_bug.cgi?id=1286179#c8 for an example
of a scenario where this re-scroll is problematic.

MozReview-Commit-ID: 7he2A2sygji

--HG--
extra : rebase_source : 9fea76c2497eb131fba0ff4a82018309be6e1ef0
2016-08-18 17:00:42 -04:00
Ryan Hunt a0f7b541a2 Bug 1289650 - Use PAPZCTreeManager in content process instead of PAPZ. r=kats
MozReview-Commit-ID: LRhvZlNqli
2016-07-31 12:39: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
Andi-Bogdan Postelnicu 98408d9e45 Bug 1282408 - add ignore initialization check flag for mPseudoStackHack in ImageBridgeThread. r=ttromey
MozReview-Commit-ID: 2B0bPOi1Tde
2016-08-24 17:10:07 +03:00
Jinank Jain f2776091ea Bug 712936 - Convert users of PR_STATIC_ASSERT to C++11 static_assert(). r=Ms2ger
--HG--
extra : rebase_source : b3e4c3e7c81799f2b1f3ec62ba3ff3b5d3adba27
2016-08-23 11:24:54 -04:00
Kartikaya Gupta c372a788a5 Bug 1292781 - Add a test. r=tnikkel
MozReview-Commit-ID: f0UvsKMwAL
2016-08-24 09:15:42 -04:00
Kartikaya Gupta 4600f9a2b5 Bug 1292781 - Send scroll-position-restore updates to APZ, but don't allow them to clobber user scrolls. r=tnikkel
Previously we weren't sending scroll position updates with origin nsGkAtoms::restore
over to the APZ at all, on the assumption that they should never clobber an APZ
scroll offset. However, there are scenarios where that is not true.

In particular, during a frame reconstruction, a layers update may be sent to the
compositor between the time a scrollframe has RestoreState() called on it, and
the time the scrollframe has ScrollToRestoredPosition() called on it. The layers
update that happens during this interval (correctly) sends a scroll position of
(0,0), and forces the APZ to scroll to that position. This is necessary to
prevent APZ from remaining at an invalid scroll offset while the frame is still
being rebuilt.

However, once ScrollToRestoredPosition() is called and the old scroll offset is
restored, that restored scroll position needs to get sent to the APZ in order to
have it properly restore to the original scroll position. In order to do this,
the main thread must flag the metrics with a scroll offset update. Since the user
may have scrolled concurrently in the compositor from the (0,0) position, we also
need to check for that case in the APZ code and avoid restoring the scroll
position. This is equivalent to the corresponding main-thread code in
ScrollToRestoredPosition().

MozReview-Commit-ID: LxRapVSrsJ3
2016-08-24 09:15:29 -04:00
Ryan VanderMeulen 69113163cf Merge m-c to inbound. a=merge 2016-08-24 09:09:05 -04:00
Jonathan Kew 4c29384d07 Bug 1297365 - Remove legacy Hebrew presentation-form composition rules from gecko, and rely on harfbuzz internally applying these only to fonts that need them. r=jrmuizel 2016-08-24 11:44:26 +01:00
Ryan VanderMeulen d63783b351 Merge m-c to autoland. a=merge 2016-08-23 10:07:52 -04:00
Ryan VanderMeulen 82663d8710 Merge inbound to m-c. a=merge 2016-08-23 10:05:18 -04:00
Ryan VanderMeulen 3625d814ad Merge autoland to m-c. a=merge 2016-08-23 10:01:31 -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
David Anderson 2b23d07c29 Move the DeviceManagerD3D9 singleton out of gfxPlatform. (bug 1297182 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 2ddbac1ce59cad17b9074a85d7ab11862d9b805d
2016-08-22 17:23:38 -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
Jonathan Kew 7ff947a3e3 Bug 1269343 - Update harfbuzz to release 1.3.0 + additional recent fixes from upstream. r=jrmuizel 2016-08-22 08:26:48 +01:00
Jonathan Kew 318cce9a49 Bug 1280887 followup, replace UniquePtr<gfxTextRun> with RefPtr in test code (NPOTB). r=mats 2016-08-22 21:40:11 +01:00
Jonathan Kew 993ba1a742 Bug 1296742 - Initialize gfxGDIFont's metrics at construction time, like other platform font subclasses, and remove its no-longer-needed support for init-on-first-use pattern. r=jrmuizel 2016-08-22 21:39:19 +01:00
Jonathan Kew ac04ca7f48 Bug 1296740 - Fix the parameter list for the gfxDWriteFontFamily implementation of ReadFaceNames. r=jrmuizel 2016-08-22 21:38:50 +01:00
George Wright 4010a63cb8 Bug 1296524 - Don't add Skia to the allowable canvas types unless USE_SKIA is defined r=mchang 2016-08-22 13:50:48 -04:00
Andrew Comminos 68b11e8613 Bug 1296911 - Use a separate X display on the GLX VSync thread. r=lsalzman
This reverts commit cce8e136869d313e999fdd0b98c88dfa3603c3de.

--HG--
extra : rebase_source : 4ef007395dc7eeae2287ef6ab119cadc3e896f20
2016-08-22 14:44:54 -04:00
Andi-Bogdan Postelnicu d8d092b0c3 Bug 1296258 - prevent memory leak in ScaledFontBase::GetGlyphDesignMetrics. r=jrmuizel
MozReview-Commit-ID: J3iaMWeVAQ7

--HG--
extra : rebase_source : cdefcb9a1c774bb8fa8f543f7180469de9da952a
2016-08-18 14:46:12 +03:00
Nicolas Silva 39f5573d6f Bug 1291190 - Don't crash when push/pop clips are not balanced correctly. r=Bas 2016-08-24 11:06:45 +02:00
Nicolas Silva 112a3d5168 Bug 1296613 - Warning fix in gfx::StoredPattern. r=Bas 2016-08-24 11:06:41 +02:00
Kan-Ru Chen b6d880aca1 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES


--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Phil Ringnalda 62d1bf1089 Merge m-c to a CLOSED TREE m-i 2016-08-23 22:57:10 -07:00
Jim Chen d1a77173ac Bug 1294481 - Implement new frame available callbacks; r=snorp
Implement a new OnFrameAvailableListener callback system for
AndroidSurfaceTexture using native methods. Each AndroidSurfaceTexture
creates its own SurfaceTextureListener object and uses it to forward
OnFrameAvailableListener callbacks to the corresponding nsIRunnable.
2016-08-23 18:52:30 -04:00
Jim Chen abb40676c0 Bug 1294481 - Rip out old Java code for AndroidSurfaceTexture; r=snorp
Rip out the old GeckoAppShell methods that implemented a
OnFrameAvailableListener callback system for AndroidSurfaceTexture.
2016-08-23 18:52:30 -04:00