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

22440 Коммитов

Автор SHA1 Сообщение Дата
peter chang 66d1a9ac76 Bug 1201874 - create core text font with correct size,r=lsalzman
MozReview-Commit-ID: GXH7ExjMI2m

--HG--
extra : rebase_source : 373db7088d6a82e0bd7ee94436617c6293d3aaa4
2016-05-24 10:48:07 +08:00
Jonathan Kew 1233cee71f Bug 1273154 - Re-land followup to handle word-initial NNBSP shaping in Mongolian, with its reftest. r=jrmuizel 2016-05-25 10:51:13 +01:00
Jonathan Kew 16fe787f15 Backout 51b1f2343ad9 and f24ab7184139 (bug 1273154 followups) for reftest crash on linux 2016-05-25 10:36:46 +01:00
Jonathan Kew 816b7b2fb6 Bug 1273154 followup - Rework NNBSP handling in FindFontForChar to make word-initial NNBSP adopt the font that will be used for the following letter. r=jrmuizel 2016-05-25 09:21:55 +01:00
Thomas Wisniewski 9b377bb0ef Bug 955857 - Replace CSS word-wrap with overflow-wrap, and add it back as a CSS_PROP_ALIAS. r=dbaron
MozReview-Commit-ID: FiZJvm25rNN

--HG--
extra : rebase_source : c7b16fc302e5c7905beea98353faa960db0a9248
2016-05-23 20:27:21 -04:00
Xidorn Quan 74d7d74ae8 Bug 1275059 followup - Use MOZ_ASSERT for methods of gfxTestRun. r=jfkthame
MozReview-Commit-ID: 9etLeUprAic

--HG--
extra : source : 109f6c2cdf31850a36f8c0cc251e9bbc2bb48606
2016-05-25 09:54:37 +10:00
Jonathan Watt c7d766dbc7 Bug 1275266 - Fix broken merge conflict. r=orange on CLOSED TREE 2016-05-19 14:01:31 +01:00
Jonathan Watt de83a13903 Bug 1275266 - Rename imgLoader::Singleton and imgLoader::PBSingleton to something less misleading, and document them. r=tnikkel 2016-05-19 13:31:15 +01:00
Jeff Muizelaar 2418bd8394 Bug 1271657. Redo gfxConfig support for HW D3D11 ANGLE. r=dvander 2016-05-24 14:24:03 -04:00
Mason Chang bd43ebe418 Bug 1249600. Fallback to arial fonts or draw nothing if typeface is unavailable. r=bas 2016-05-20 09:16:29 -07:00
Kartikaya Gupta 85db554935 Bug 1203140 - Test. r=smaug
MozReview-Commit-ID: 1XMpWLbF5KB
2016-05-24 11:24:31 -04:00
Mason Chang 5d51a78785 Bug 1273990. Use target backend rather than screen reference backend if compositor has a target set. r=jmuizelaar 2016-05-20 14:51:34 -07:00
Keith Yeung 28a4bc1e9e Bug 1274339 - Align resizerpanel and caret in -moz-appearance. r=bobbyholley
--HG--
extra : rebase_source : ce28fd34fd7738abf440d6ae6052059ff549f974
2016-05-19 10:58:00 +02:00
Nathan Froyd ff4717e53a Bug 1272398 - use UniquePtr instead of nsAutoPtr for {Layer,LayerData}::RemoveUserData return type; r=jrmuizel 2016-05-24 18:17:27 -04: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
Andi-Bogdan Postelnicu 5ddeb9e636 Bug 1273409 - add assert for mFontEntry. r=jrmuizel
MozReview-Commit-ID: 645INbJtJFq

--HG--
extra : rebase_source : 6beea5fcd4ade24f7d45eb704334f6e0aa5f7f00
2016-05-17 12:05:23 +03: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
Heiher ff01ec7e05 Bug 1262066 - GFX: 2D: Use ConvolveHorizontally1_LS3. r=seth
---
 gfx/2d/convolver.cpp | 4 ++++
 1 file changed, 4 insertions(+)
2016-05-23 10:30:39 +08:00
Heiher d11126b662 Bug 1262066 - GFX: 2D: Implement skia::ConvolveHorizontally1 in LS3 MMI. r=huangwenjun06
---
 gfx/2d/convolverLS3.cpp | 88 +++++++++++++++++++++++++++++++++++++++++++++++++
 gfx/2d/convolverLS3.h   |  7 ++++
 2 files changed, 95 insertions(+)
2016-05-23 10:30:38 +08:00
Sotaro Ikeda 1412ddf507 Bug 1274178 - Deliver picture origin r=nical 2016-05-22 17:37:43 -07:00
Nicholas Nethercote c4c868a370 Bug 1139252 - Fix D3D texture memory reporters. r=jrmuizel.
This patch makes the names and reporter paths more consistent. It also removes
sD3D9MemoryUsed, which was unused.

--HG--
extra : rebase_source : f209636a938630e464d529078cfa116eb06339ba
2016-05-18 17:10:37 +10:00
Karl Tomlinson 2ed4bd01ae bug 1273701 don't reuse pixman images when not thread-safe r=jrmuizel
From
https://cgit.freedesktop.org/cairo/commit/?id=71e8a4c23019b01aa43b334fcb2784c70daae9b5
https://bugs.freedesktop.org/show_bug.cgi?id=34177

--HG--
extra : amend_source : f0d0f6d62a9c3c1dd00b803463b812db690f756e
extra : transplant_source : %A9v%1Cx4%24%C8i%E8%AF%97U%CB%E2%7C%D2%5E%EARe
2016-05-18 11:55:29 +12:00
Kyle Huey 231aeec2d9 Bug 1274435: Don't bother tracking the main thread in SharedBufferManagerParent. r=sotaro 2016-05-22 08:28:07 -04:00
bd339 c01768d2a8 Bug 1056381 - When a layer transaction comes in, only update the hit testing tree when necessary. r=botond
MozReview-Commit-ID: KdLNEMxqtDU

--HG--
extra : rebase_source : ca21e15eabacd8e50d002f53c4635887f173fac3
extra : amend_source : fcbfee71267c2b1db44f646409e480c1b31bf201
2016-05-16 20:53:44 +02:00
Jonathan Kew c985e0ecb5 Bug 1273154 - Avoid breaking a font run at U+202F (NNBSP) if possible, because Mongolian shaping depends on the text run continuing across it. r=jrmuizel 2016-05-21 12:28:21 +01: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
Botond Ballo 0ea56ba3e9 Bug 1272165 - Localize the use of #ifdefs to select the fling animation. r=kats
This patch also renames FlingOverScrollerAnimation to AndroidFlingAnimation,
and moves it to the newly added files AndroidAPZ.{h,cpp}.

MozReview-Commit-ID: LXADdGL4SKh

--HG--
rename : gfx/layers/apz/src/FlingOverScrollerAnimation.cpp => gfx/layers/apz/src/AndroidAPZ.cpp
extra : rebase_source : bdb87ef1cc3f955572d458f17525860caa3f2b6a
2016-05-16 18:53:23 -04:00
Botond Ballo 923e3daad0 Bug 1272165 - Move the logic for determining whether to accelerate a fling into FlingAnimation. r=kats
MozReview-Commit-ID: 41GGRtdlcAU

--HG--
extra : rebase_source : 131d84f7eab9b424ff30023db8db62a62c310abd
2016-05-16 18:23:55 -04:00
Botond Ballo 694a023498 Bug 1272165 - Move FlingAnimation into its own file and rename it to GenericFlingAnimation. r=kats
MozReview-Commit-ID: EAksmwgJdax

--HG--
extra : rebase_source : 2d12ef03b640d59f28717c815424ee09bfcc6db3
2016-05-16 18:08:24 -04:00
Botond Ballo 4fd78d8c79 Bug 1272165 - Localize the use of #ifdefs to select the overscroll effect. r=kats
MozReview-Commit-ID: IaIUhrlrhZS

--HG--
extra : rebase_source : 8ad12387dfc6ddb33f876439350ec7473bf9d077
2016-05-11 20:58:19 -04:00
Botond Ballo 6086e0f55a Bug 1272165 - Move OverscrollAnimation into a separate file Overscroll.h. r=kats
MozReview-Commit-ID: DaDJEZJ7EBJ

--HG--
extra : rebase_source : dc585521e917a2afbbace88ee3b6dc5f21346528
2016-05-11 20:40:46 -04:00
Benoit Girard e97acb68fb Bug 1002857 - stop disabling GL layers for 10.6.2 and below. r=mstange
MozReview-Commit-ID: ITqcQNdolQ

--HG--
extra : rebase_source : 82914a72a267e6aff7ac1234d92d813bb9efdc0b
2016-05-18 18:10:04 -04:00
Daniel Holbert ad862a27cb Backed out changeset 3d201ae294f8 (bug 1272398), on a hunch that it might have inadvertantly triggered a latent Win PGO crash in layers code
CLOSED TREE

MozReview-Commit-ID: 87w8DC3JEM8
2016-05-19 22:50:15 -07:00
Nathan Froyd 2431e47bfb Bug 1272398 - use UniquePtr instead of nsAutoPtr for {Layer,LayerData}::RemoveUserData return type; r=jrmuizel 2016-05-19 21:48:59 -04:00
Jeff Muizelaar 1b2a06e879 Bug 1113828: Returning null is an expected property of this function and gfxPlatform::CreateDrawTargetForData() uses this. Removing this message prevents us from printing a bunch of messages during the normal usage of a debug build. r=bschouten 2016-05-19 10:10:55 -04:00
Sotaro Ikeda 78e3f7a6a2 Bug 1274145 - Add HostIPCAllocator r=nical 2016-05-19 06:04:14 -07:00
Sebastian Hengst e5d11edbeb Backed out changeset 07c833b5d64d (bug 1273154) for reftest failure in 1273154-1.html on Windows 8. r=backout 2016-05-19 10:37:16 +02:00
Jonathan Kew 841ebee93a Bug 1273154 - Avoid breaking a font run at U+202F (NNBSP) if possible, because Mongolian shaping depends on the text run continuing across it. r=jrmuizel 2016-05-19 07:01:56 +01:00
vincentliu 4332e3a00e Bug 1167557 - Log for Null surface in SurfaceCache::Insert. r=milan
---
 gfx/2d/Logging.h       | 1 +
 image/SurfaceCache.cpp | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
2016-05-19 13:01:26 +08:00
Mason Chang 19ddb4f17c Bug 1268502 Part 2. Fix memory leak with CGColorSpace. r=lsalzman 2016-05-18 17:09:14 -07:00
Jonathan Kew 67ee2ed03b Bug 1260825 - Check for surrogate pairs when processing clusters in graphite-shaped text. r=jrmuizel 2016-03-31 09:48:01 -06:00
Jonathan Kew cd9e357adf Bug 1272647 - Exclude NameTable.cpp from unified compilation because #include <cmath> in other source files causes gcc6 compilation failure. r=bas 2016-05-18 15:22:54 +01:00
Keith Yeung 90a39873d8 Bug 1273424 - Rename -moz-appearance keyword constants to be more consistent with CSS keywords. r=bholley 2016-05-18 11:07:47 -07:00
Ryan VanderMeulen 54c922ca84 Merge inbound to m-c. a=merge
CLOSED TREE
2016-05-18 12:02:42 -04:00
Kartikaya Gupta 44f30a273b Bug 1273759 - Fix bad interaction between bug 1197310 and bug 1264017 by making the location-setting an absolute URL. rs=me on a CLOSED TREE
MozReview-Commit-ID: AAcIPDqPm9n
2016-05-18 07:10:47 -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
David Anderson e34cf523cf Fix force-enabling Direct2D crashing when acceleration is disabled. (bug 1116540, r=milan) 2016-05-17 13:46:25 -07:00
Kartikaya Gupta 585307cd11 Bug 1271432 - Add a mochitest. r=tnikkel
MozReview-Commit-ID: DUzs7VzRUte
2016-05-17 11:05:46 -04: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
Ryan VanderMeulen 591aa16396 Backed out changeset cdb8f29d1ec7 (bug 1116540) for breaking WinXP hardware acceleration. 2016-05-17 21:36:12 -04:00
Mason Chang 787d48e2aa Bug 1268502 - Use a CGContext around a Skia Canvas to draw subpixel AA text on popup menus. r=mstange 2016-05-17 11:41:38 -07:00
David Anderson 6ad5c3d287 Fix force-enabling Direct2D crashing when acceleration is disabled. (bug 1116540, r?=milan) 2016-05-17 13:46:25 -07:00
Mason Chang 429347899e Bug 1270688. Use system host settings for skia dwrite font settings. r=lsalzman 2016-05-17 11:10:14 -07:00
Andi-Bogdan Postelnicu 3bb1e11276 Bug 1273095 - initialize |mStride|. r=jrmuizel
MozReview-Commit-ID: ElpMyYLcy0M

--HG--
extra : rebase_source : 5a3405d3bbf47f0f6d26071d25c2810c205da195
2016-05-16 13:58:52 +03:00
Lee Salzman eda0f910e1 Bug 1266209 - check if a figure is active in PathBuilderD2D before copying glyphs to it. r=bas 2016-05-17 12:47:22 -04:00
Sotaro Ikeda e4ecb6b6da Bug 1273417 - Update DataSourceSurfaceFromYCbCrDescriptor() r=nical 2016-05-17 02:14:54 -07:00
stefanh@inbox.com d76d8b9c90 Bug 1192053 - Native theming: Support for Mac OS X source lists (background part). r=gijs, mstange. 2016-05-17 07:37:05 +02:00
Sotaro Ikeda bf89cf3e57 Bug 1273056 - Remove redundant ConvertYCbCrToRGB() r=nical 2016-05-16 19:45:12 -07:00
peter chang 62a18529e5 Bug 1269892 - Dump the name of TextureSource when fails to cast it as TextureSourceOGL, r=nical
MozReview-Commit-ID: IAW98qk3987

--HG--
extra : rebase_source : ed5d2dc1901854cafb63478275e67d48f68ed25f
2016-05-16 17:29:57 +08:00
Milan Sreckovic fffc6307a8 Bug 1273148: Make name and default methods public, and remove gfxWindowsPlatform as gfxPref's friend. r=dvander
MozReview-Commit-ID: DNqGGDl1Fpy

--HG--
extra : rebase_source : 01ff42cc1a0335bba82b45eaf9018f1273f0e6d5
2016-05-16 10:22:20 -04:00
Kartikaya Gupta f922a5a903 Bug 1264017 - Rename the meta-tests to have more meaningful names. r=botond
MozReview-Commit-ID: 9fGFYrWTUGz

--HG--
rename : gfx/layers/apz/test/mochitest/test_click.html => gfx/layers/apz/test/mochitest/test_group_mouseevents.html
rename : gfx/layers/apz/test/mochitest/test_tap.html => gfx/layers/apz/test/mochitest/test_group_touchevents.html
rename : gfx/layers/apz/test/mochitest/test_scroll_window.html => gfx/layers/apz/test/mochitest/test_group_wheelevents.html
2016-05-16 12:17:17 -04:00
Kartikaya Gupta 9e6b45a056 Bug 1264017 - Refactor machinery to run tests serially in new windows into a helper function. r=botond
MozReview-Commit-ID: 1gBQh1tuinl
2016-05-16 12:17:17 -04:00
Kartikaya Gupta 2c8903f129 Bug 1264017 - Add another mouse event synthesization sanity test. r=botond
MozReview-Commit-ID: 1zB5fo74RS9
2016-05-16 12:17:17 -04:00
Kartikaya Gupta 8a0f553fd3 Bug 1264017 - Add synthesized mouse support to Android. r=rbarker
MozReview-Commit-ID: HT4U7WKTd5Z
2016-05-16 12:17:17 -04:00
Kartikaya Gupta 57664be4cf Bug 1264017 - Add a basic sanity mouse click synthesization test. r=botond
MozReview-Commit-ID: Gv6QQrF2T7d

--HG--
rename : gfx/layers/apz/test/mochitest/test_tap.html => gfx/layers/apz/test/mochitest/test_click.html
2016-05-16 12:17:17 -04:00
Kartikaya Gupta 392f87445d Bug 1264017 - Add an APZ test API to synthesize a mouse click. r=botond
MozReview-Commit-ID: 1zeoPTGrrLh
2016-05-16 12:17:17 -04:00
Andi-Bogdan Postelnicu 70548f08ce Bug 1273075 - initialize |mPixelsPerFrame| and |mPixelsFilled|. r=jrmuizel
MozReview-Commit-ID: AzevXVRAZvM

--HG--
extra : rebase_source : 1d94ea2901db7aac43ec404deac923b4a587c096
2016-05-16 12:17:37 +03:00
Edwin Flores 7795b8f22c Bug 1270428 - Cancel wait for texture recycle when CanvasClient is shutting down - r=nical 2016-05-16 12:55:02 +01:00
Edwin Flores 662e4f47a3 Bug 1272277 - Force content process device reset when the compositor is updated - r=nical 2016-05-16 12:55:02 +01:00
Edwin Flores b705cc93b6 Bug 1272277 - Increment content-side device counter after a device reset - r=nical 2016-05-16 12:55:02 +01:00
David Anderson 800882adb1 Move CompositorBridgeParent::IsInCompositorThread to CompositorThreadHolder. (bug 1273017 part 3, r=mattwoodrow) 2016-05-15 23:40:13 -07:00
David Anderson 03a3af51b6 Move CompositorBridgeParent::CompositorLoop to CompositorThreadHolder. (bug 1273017 part 2, r=mattwoodrow) 2016-05-15 23:39:30 -07:00
David Anderson a6d9f5b888 Move CompositorThreadHolder into its own file. (bug 1273017 part 1, r=mattwoodrow) 2016-05-15 23:38:34 -07:00
Nicholas Nethercote 98af1a5331 Bug 1271164 - Add a missing null check in user font memory reporting. r=jfkthame.
--HG--
extra : rebase_source : 139652b681a50b3a38c0d3e99578db9ae32b8195
2016-05-09 11:57:44 +10:00
peter chang 6d981a9e36 Bug 1265625 - Call BindTexture to get correct transform for Android Surface Texture, r=jrmuizel
MozReview-Commit-ID: 1TW2hjyECAu

--HG--
extra : rebase_source : f251fc54fecfc342710d5f684e8dc90f9c3e8caf
2016-05-10 15:11:19 +08:00
peter chang 6ddf680a45 Bug 1265625 - Remove workaround for fennec, r=jrmuizel
MozReview-Commit-ID: F3IeDPeJwo7

--HG--
extra : rebase_source : 6a488b047e1d538674da3dc68f31c47f8e50eaf1
2016-05-10 15:10:49 +08: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
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Kartikaya Gupta 65ba2f05a0 Bug 1272757 - Fix drag handling so that drag inputs don't get stuck waiting for content response while running tests. r=rbarker
MozReview-Commit-ID: Lsn5nFNcP7k
2016-05-13 21:48:23 -04:00
Jeff Muizelaar 7288d777c9 Bug 1272778. Use IntRects for clip rects instead of Rects. r=mstange
Previously, we took an IntRect converted to Rect and then later wanted
ints in the backend. This avoids all of that.
2016-05-13 19:58:43 -04:00
Wes Kocher 69ee17e2fb Backed out changeset b15136f926ca (bug 1272778) for build bustage 2016-05-13 16:05:12 -07:00
Jeff Muizelaar 4ed215c5a2 Bug 1272778. Use IntRects for clip rects instead of Rects. r=mstange
Previously, we took an IntRect converted to Rect and then later wanted
ints in the backend. This avoids all of that.
2016-05-13 18:51:09 -04:00
Botond Ballo dff4442cf8 Bug 1270902 - Ensure scroll handoff parents are specified in the layer trees used by APZ gtests. r=kats
MozReview-Commit-ID: BxFheQ058y8

--HG--
extra : rebase_source : 6d686831ee1a09aabaf1e4f66d8976849900d198
extra : source : 85b2ecd2a2ece0bdcb2243595707f85fb18b34f7
extra : histedit_source : 8e77e1a4a4142bf5e94713326efae728cb4b836f
2016-05-11 19:59:05 -04:00
Botond Ballo 87090ec8ab Bug 1267438 - Minor cleanup to AsyncCompositionManager. r=kats
MozReview-Commit-ID: 8DlQzhsjUOO

--HG--
extra : rebase_source : a33438beab9e3c8a30d3cfe0f1818962c8de641e
extra : source : 18098473f63e1be323be489ef9d833f8b36ac1fd
extra : histedit_source : 533bba53774e970a01ecdd8a0162e8804350a986
2016-05-11 19:39:37 -04:00
Randall Barker 1d4d05833d Bug 1267928 - Part 2, Prevent AsyncPanZoomController::ZoomToRect from processing empty rect r=botond 2016-05-13 13:26:08 -07:00
Kartikaya Gupta 76e30f2d64 Bug 1272429 - When hit-testing layers nested inside scrollable content inside fixed-pos items, make sure to hit the scrollable layers. r=botond
MozReview-Commit-ID: BwdvYtloW8V
2016-05-13 15:05:51 -04:00
Dylan Roeh 609b4c21e0 Bug 1271103 - Remove possible race condition in GLController.java. r=snorp 2016-05-13 13:43:06 -05:00
Randall Barker d47ba86c2b Bug 1272732 - Specifying --disable-android-apz breaks Fennec build. r=kats 2016-05-13 11:37:40 -07:00
George Wright 58b129c757 Bug 1264764 - Move PTexture under PCompositorBridge r=nical,dvander 2016-05-13 12:52:19 -04:00
Jean-Yves Avenard 6e2b718e6a Bug 1271491: P2. Allow initialization of WMFPlatformDecoderModule from any threads. r=mattwoodrow
This is a very rough and lame attempt at making some parts of gfx thread-safe, however some parts rely on Preferences::AddBoolCache which isn't thread-safe.
Must still be called once gfx has been initialized.

MozReview-Commit-ID: BSpr9cp6USR

--HG--
extra : rebase_source : 395ac23cafeb1509f89b72deda5fccdc7726c1bb
2016-05-12 19:24:43 +10:00
Markus Stange 68f8a0a260 Bug 1271112 - Check transformed gradient end points for fixed point overflow, not the size of the gradient. r=jrmuizel
The gradient on this website had, the float values of xdim and ydim were
about 7500, which is definitely representable by 16.16 fixed point values.
But the matrix had a large (> 32000) translation on it.

MozReview-Commit-ID: 1WVhZQLF99g

--HG--
extra : rebase_source : b60c5e37f7dcb94943dadfc4ac73a58e9e18f1d9
2016-05-12 17:45:38 -04:00
Kevin Wern 7ae5cf1e52 Bug 1227231: Use generic tree traversal algorithms for loops over Layer trees. r=botond
Create an Iterator type with classes ForwardIterator and ReverseIterator,
having GetFirstChild/GetNextSibling and GetLastChild/GetPrevSibling
methods, respectively. Specify the iterator type for each call to
ForEachNode. With this, we can support trees with forward and reverse
sibling structures.

Additionally, apply these algorithms to all Layer recursive traversals,
where applicable. Update tests to ensure both directions yield expected
results.

MozReview-Commit-ID: iYpX22XHTa

--HG--
extra : rebase_source : 016d3c37e0679df7037dacd3366d3fa7748d0703
extra : amend_source : 089c4a62bd4716be087669742bb542c39a9f97c6
2016-03-10 01:20:40 -08:00
Lee Salzman c0e46e46a6 Bug 726206 - check for failure in cairo _dwrite_draw_glyphs_to_gdi_surface_gdi. r=jrmuizel 2016-05-12 16:47:26 -04:00
Kartikaya Gupta b867e298b4 Bug 1266066 - Ignore passive event listeners for APZ purposes. r=botond,smaug
MozReview-Commit-ID: 1F41jHsVOyY
2016-05-12 14:50:58 -04:00
David Anderson 8c3ca46ed3 Allow gfxConfig::IsEnabled on uninitialized features. (bug 1272169, r=jrmuizel) 2016-05-12 10:30:54 -07:00
Jeff Muizelaar 6c2297a047 Bug 1271784. Allow WARP WebGL on Windows 7 without SP 1 r=jgilbert
ANGLE doesn't allow WARP on DXGI < 1.2 by default, but it will work fine
for us.
2016-05-12 10:39:43 -04:00
Sotaro Ikeda 252ce4f643 Bug 1255703 - Use image surfaces for basic compositor on Windows r=mattwoodrow 2016-05-12 07:23:11 -07:00
Sotaro Ikeda 9e1b71d4c8 Bug 1272114 - Suppress error log r=nical 2016-05-12 05:58:13 -07:00
Jean-Yves Avenard e926d54268 Bug 1206637: P1. Add MediaPrefs convenience class. r=cpearce
Almost identical to gfxPrefs, with the exception that preferences can't be set (as it doesn't work with e10s anyway). The generated code size is tiny enough that we don't have to bother about having duplicates.

MozReview-Commit-ID: 5SZyscvIzzS

--HG--
extra : rebase_source : 1a2577bbe24d2d6644c3f1f5d0c47850b67fdea0
2016-05-09 14:59:02 +10:00
Thinker K.F. Li 2f0f3cd7e3 Bug 1253241 - Return empty render bound for empty clip. r=mattwoodrow
--HG--
extra : rebase_source : e758e8d1146e0dd7ba4e0c4c588ee19d5999cad9
2016-05-02 20:24:00 +02:00
Karl Tomlinson 294a905269 bug 1271893 add a 1.5 pixel-scaling step r=acomminos
The only change in behaviour introduced here is that dpi values in the
range [144,168) will now use pixel scaling of 1.5 instead of 2.

MozReview-Commit-ID: JD6FcZGLYtI

--HG--
extra : rebase_source : ebddf46ba6e9b8a478fb2fffabc7cf1ca8ed8c81
2016-05-11 09:21:13 +12:00
Masayuki Nakano 3e4ceded8b Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
MozReview-Commit-ID: 5tC8UqcfLek

--HG--
extra : rebase_source : a336f9d8676c74804e2c00eebec4f2a30d7a11b3
2016-05-10 23:29:14 +09:00
Masayuki Nakano b2a210c268 Bug 1259661 part.8 Rename WidgetMouseEvent::ignoreRootScrollFrame to WidgetMouseEvent::mIgnoreRootScrollFrame r=smaug
MozReview-Commit-ID: 98G9UMv4qqj

--HG--
extra : rebase_source : e3fed10d5d7b8b3a714e279457192e9f0bc703df
2016-05-10 21:15:05 +09:00
JerryShih cadb8c6cb7 Bug 1256572 - update DataSourceSurface usage. r=bas
Update for Moz2D interface change.

We should not use GuaranteePersistance() directly outside Moz2D. Change
to use another Moz2d DataSourceSurface interface.
2016-05-09 00:33:00 +02:00
JerryShih f54115ac72 Bug 1256572 - setup custom deallocator for SourceSurfaceRawData. r=bas 2016-05-10 20:44:00 +02:00
JerryShih 4e7ff09f94 Bug 1256572 - create DataSourceSurface with current data. r=bas 2016-05-10 20:42:00 +02:00
Gregor Wagner a870069721 Bug 1271749 - Followup for Remove LayerManagerComposite access to nsIWidget. r=dvander 2016-05-11 17:09:43 -07:00
Gregor Wagner bba6d952c7 Bug 1271747 - Fix AndroidBridge.h include in GLContextProviderEGL.cpp. r=snorp 2016-05-11 17:08:37 -07:00
Botond Ballo 15982f20e6 Bug 1267438 - Remove the redundant aTransformAffectsLayerClip argument to AlignFixedAndStickyLayers. r=mstange
MozReview-Commit-ID: AjHA70EdCeX

--HG--
extra : rebase_source : a0122ee7e33de1a7dcd40eba63580703099b7165
extra : source : 63c9e4fbc1bec70de51ccde350e554c54207cf65
extra : histedit_source : 6fc0fc354e0bd469ed9ee6b80772df8efa0b0bf2
2016-05-04 20:20:57 -04:00
Botond Ballo 0c3f8a3e7d Bug 1267438 - Remove the (no longer used) isClipFixed=false annotation. r=mstange
MozReview-Commit-ID: LicG7zFHnX3

--HG--
extra : rebase_source : 1b39fcb34403dfa92f19100b3a59c3f550d52ff1
extra : source : 2bf1247f574319f27f570bb372a71d6a826ab1fb
extra : histedit_source : cc75a6e848225552adb9b3148ca4e2bb87b94f80
2016-05-04 20:07:42 -04:00
Botond Ballo de687339fd Bug 1267438 - Support adding ancestor mask layers from places other than SetupScrollingMetadata. r=mstange
MozReview-Commit-ID: DwdbSRdEMEc

--HG--
extra : rebase_source : 703ff74d56cecf0546457ff8940265f97a3331cc
extra : source : 1c8e4840f8b40b7e02b9274e446e278e8c907053
extra : histedit_source : 6efd4834b4ec52a6d57a05bdd9529cf39a7669a4
2016-05-06 19:34:16 -04:00
Botond Ballo 241127e62f Bug 1267438 - Use the scrolled clip in AsyncCompositionManager. r=mstange
MozReview-Commit-ID: LjV8bEhCexE

--HG--
extra : rebase_source : a7497faaeab313844db3337c91f72e0096c03974
extra : amend_source : 3a23b9ce26056641346aed16df9045253c158672
extra : source : 641eef89309781af7a63df344d0e1f495ba5efd8
extra : histedit_source : 733ac29096b2e70c8b3a6048f1a89d9c79c9be80%2Ce1dd6b10d1bd8d9cd9265a9a732ca743c80cda06
2016-05-10 01:10:29 -04:00
Botond Ballo 26dd60d1c9 Bug 1267438 - During AlignFixedAndStickyLayers, only un-adjust the fixed portion of a layer's clip rect. r=mstange
MozReview-Commit-ID: 62JVHL5AVhP

--HG--
extra : rebase_source : edc2325417a3c27804643d4f3560c497be4f7172
extra : amend_source : 32756b9a4e4d5b4e2e28d6409b6cae0d888121ba
extra : source : 14ee768229fa8e4e346ff0b62a59c3dff2bc164a
extra : histedit_source : 0c0b5c09661309bdceda9f2fd18fa760ec84f2f7%2C122f6ba007fa88a9df17f04eb64869af20e89a21
2016-05-11 15:16:57 -04:00
Botond Ballo ea8d856fa1 Bug 1267438 - Factor out a helper function to check if a layer is fixed or sticky. r=mstange
MozReview-Commit-ID: A1qrxW3KVVE

--HG--
extra : rebase_source : bd835e3241855a6202a14f57f44d7d473e361522
extra : source : 68b48bf17f7baa4ac96bd4099c4a4089456eb77c
extra : histedit_source : 233d4da0d5491a47ba9bfd5a20d77206a58446c6
2016-05-04 17:32:12 -04:00
Botond Ballo 29ef36444d Bug 1267438 - Use the layer's scrolled clip during compositor hit testing. r=mstange
MozReview-Commit-ID: 2nodwaZHeWZ

--HG--
extra : rebase_source : 4a61e20fa5ea6de457132aa7e06c27e48286f28c
extra : source : 6618e805fce8e1b45241783d8ba3b5bec5ad182a
extra : histedit_source : 4b27d55d0f26de7a13ef741feef9df6f8e6c4f13
2016-05-04 17:30:26 -04:00
Botond Ballo 771407a83d Bug 1267438 - Give layers an optional scrolled clip that is scrolled by all scroll frames associated with the layer. r=mstange
MozReview-Commit-ID: EGqVZuISSZQ

--HG--
extra : rebase_source : cf1e70734524cb740cb0cb64190d5a780d2b692f
extra : amend_source : b91d3f887a78da248950289fa8917db5fa62910b
extra : source : 54cb97cee6810ec56308d1f2f66e5b8fda02da3e
extra : histedit_source : dc982f0a16e8c2c042c260bc56252425cc6f76c4
2016-04-29 17:32:53 -04:00
Botond Ballo b6836691eb Bug 1267438 - Do not propagate the scroll clip to APZC's copy of ScrollMetadata. r=kats
MozReview-Commit-ID: 9E1QGnoxUjN

--HG--
extra : rebase_source : de1b5a5db98721f86be9ab065f6874b76b6ea719
extra : source : 5bf9a7962ad4c5d75d6a57a7fc4289f0b6fd680d
extra : histedit_source : 688cfcc68480fa61ae9e4125178e869454c0d849
2016-04-29 16:16:29 -04: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
Botond Ballo dde17de868 Bug 1267438 - Use IntersectMaybeRects() in Layer::GetCombinedClipRect(). r=mstange
MozReview-Commit-ID: 5DkpzyFrDQ0

--HG--
extra : rebase_source : 02074a9ea70bb33ded2cc592b4e29bd8f5e79969
extra : source : 1065434be718ec94d30480100f1c409cc446c6ac
extra : histedit_source : 8d9d4d7c203c20a73838c7bdbe8849dd5f23333a
2016-04-29 15:44:08 -04:00
Kartikaya Gupta 6a456833c3 Bug 1270955 - Add mochitests for scrolling while over position:fixed and sticky elements. r=botond
MozReview-Commit-ID: curYWJlnOQ
2016-05-11 17:28:07 -04:00
Kartikaya Gupta 4e803a8887 Bug 1270955 - When hit-testing on fixed-pos layers, find the root APZC for the scroll container rather than the layers id. r=botond
MozReview-Commit-ID: IvcMbpINOBI
2016-05-11 17:28:04 -04:00
Mason Chang 1ed5c6b7b4 Bug 1120485. Add more logging to find failed uses of MessageChannel::mEvent. r=milan 2016-05-10 17:59:15 -07:00
David Anderson d180b0cc2a Add an nsIGfxInfo for describing active crash guards. (bug 1270894 part 1, r=milan) 2016-05-10 11:49:16 -07:00
Randall Barker c63841d754 Bug 1229462 - Use Android OverScroller class for fling animation r=botond 2016-05-11 08:37:47 -07:00
Jonathan Kew dfac8a19b4 Bug 1271536 - Don't try to use GDI table access for bundled fonts when running with the DWrite backend. r=bas 2016-05-10 23:16:05 +01:00
Jonathan Kew b4581e4e52 Bug 1270878 - Factory method that creates a BundledFontEnumerator needs to ensure it is AddRef'd before being returned to the caller. r=bas 2016-05-09 18:02:45 +01:00
Bob Owen 979a6fb7b7 Bug 1271348: Only use LOGPIXELSY for calculating internal printing surface size on Windows. r=jimm
MozReview-Commit-ID: 9KUVyI0Oy07

--HG--
extra : rebase_source : 1fcbeebff29e1a0cfd77ac5abf5914bb7031cd86
2016-05-10 15:17:56 +01:00
Phil Ringnalda 5c2d03855b Back out 24d2a5003aa4 (bug 1271784) for Win7 mochitest-gl unexpected passes on opt and timeouts on debug
CLOSED TREE
2016-05-10 20:42:13 -07:00
Jeff Muizelaar 03cb039b4e Bug 1271784. Allow WARP WebGL on Windows 7 without SP 1 r=jgilbert
ANGLE doesn't allow WARP on DXGI < 1.2 by default, but it will work fine
for us.
2016-05-10 19:59:43 -04:00
Mason Chang e3da2b3d0d Bug 1270640 - Part 1: Always enable normal hinting with skia unless we explicitly have grayscale aa. r=kats
--HG--
extra : rebase_source : 5a96292b0f7a98e60d052b31eb1d2cc35ea636ea
2016-05-09 12:34:00 -04:00
Matt Woodrow 814c8dcc80 Bug 1260611 - Part 3: Hold on to TextureHosts until the following composite is done. r=sotaro
--HG--
extra : rebase_source : adfc1ae3f241a965b8df8035154e861449a7157e
2016-05-11 10:55:17 +12:00
Matt Woodrow 35ecd4fc8f Bug 1260611 - Part 2: Block CompositorD3D11 after presenting until the previous frame is complete. r=Bas
--HG--
extra : rebase_source : 80a439a8ffa99a106e038102780ffb022966ecce
2016-05-11 10:53:46 +12:00
Matt Woodrow 56561ae673 Bug 1260611 - Part 1: Opt-in to waiting for compositor recycling for TextureClientRecycleAllocator. r=sotaro
--HG--
extra : rebase_source : 1035ebcfaa2bd67a259b0f177ed4b9fef92a5792
2016-04-22 15:39:56 +12:00
Botond Ballo 810a495c93 Backed out 12 changesets (bug 1267438) for Android reftest failures on a CLOSED TREE. r=backout
MozReview-Commit-ID: LlibhRhbyVO

--HG--
extra : rebase_source : 6e2e52316ff4ef777b2a63ce5fb6ffc172623e40
2016-05-10 04:27:31 -04:00
Ethan Lin 92ba053648 Bug 1268302 - Fix performance regression in glterrain. r=jgilbert 2016-04-29 02:19:00 -04:00
Ryan VanderMeulen 3b7fc0b68e No bug - Enable some e10s that pass and add some more annotations to ones that don't. 2016-05-09 17:01:16 -04:00
Matt Woodrow 6811eb7ee7 Bug 1271058 - Use Layers effective opacity for determining if it is opaque. r=mstange 2016-05-10 12:42:57 +12:00
Lee Salzman d74f6ef5d6 Bug 1271356 - cut out some utils and effects cruft we don't use in Skia builds. r=jrmuizel 2016-05-09 20:40:57 -04:00
Botond Ballo 4abc47955f Bug 1267438 - Remove the redundant aTransformAffectsLayerClip argument to AlignFixedAndStickyLayers. r=mstange
MozReview-Commit-ID: AjHA70EdCeX

--HG--
extra : rebase_source : f50fc3b200f7139328c3f764066cd0ef27565269
extra : histedit_source : 36d99200a254c4c94c101656885d59f63305e8a4
2016-05-04 20:20:57 -04:00
Botond Ballo 89c6c3b097 Bug 1267438 - Remove the (no longer used) isClipFixed=false annotation. r=mstange
MozReview-Commit-ID: LicG7zFHnX3

--HG--
extra : rebase_source : 0e4d3a86f2fbc4b88126a346c938c8f9fd67bf4b
extra : histedit_source : 0b785c0881d1bf4ed5f7c991574d8d7033b71bfc
2016-05-04 20:07:42 -04:00
Botond Ballo a5f375a42f Bug 1267438 - Support adding ancestor mask layers from places other than SetupScrollingMetadata. r=mstange
MozReview-Commit-ID: DwdbSRdEMEc

--HG--
extra : rebase_source : 07cfbb871a15404d7d4766aea0b8f8387e42f67b
extra : histedit_source : 66dc2ae14acf2ae399e810785ccd7ee51550445d
2016-05-06 19:34:16 -04:00
Botond Ballo 708d6cc228 Bug 1267438 - Use the scrolled clip in AsyncCompositionManager. r=mstange
MozReview-Commit-ID: LjV8bEhCexE

--HG--
extra : rebase_source : 4dd85dce17066d5885838ac8793063ba7fda9be1
extra : amend_source : 3a23b9ce26056641346aed16df9045253c158672
extra : histedit_source : 508f14af8caca19e296fd90b3bd19b6d16902d1c
2016-05-04 18:52:56 -04:00
Botond Ballo 37455734c2 Bug 1267438 - During AlignFixedAndStickyLayers, only un-adjust the fixed portion of a layer's clip rect. r=mstange
MozReview-Commit-ID: 62JVHL5AVhP

--HG--
extra : rebase_source : 381c5b6c47db2b9d546f16e96a7bf7cc0652cc99
extra : amend_source : 32756b9a4e4d5b4e2e28d6409b6cae0d888121ba
extra : histedit_source : 4746e1cebf87e6eeda886041c745cfcce985db80
2016-05-04 21:05:27 -04:00
Botond Ballo 6903b7197e Bug 1267438 - Factor out a helper function to check if a layer is fixed or sticky. r=mstange
MozReview-Commit-ID: A1qrxW3KVVE

--HG--
extra : rebase_source : d3ad1e0ab2690bb9e55a593ea6d979e234e71e9f
extra : histedit_source : 233d4da0d5491a47ba9bfd5a20d77206a58446c6
2016-05-04 17:32:12 -04:00
Botond Ballo ac2a58becc Bug 1267438 - Use the layer's scrolled clip during compositor hit testing. r=mstange
MozReview-Commit-ID: 2nodwaZHeWZ

--HG--
extra : rebase_source : cda1645407959eb39ff3e880078836d35686a8d8
extra : histedit_source : 4b27d55d0f26de7a13ef741feef9df6f8e6c4f13
2016-05-04 17:30:26 -04:00
Botond Ballo ac37bcd416 Bug 1267438 - Give layers an optional scrolled clip that is scrolled by all scroll frames associated with the layer. r=mstange
MozReview-Commit-ID: EGqVZuISSZQ

--HG--
extra : rebase_source : e7f1ddd9ce664317247da1b9f569ac04e383ca47
extra : amend_source : b91d3f887a78da248950289fa8917db5fa62910b
extra : histedit_source : dc982f0a16e8c2c042c260bc56252425cc6f76c4
2016-04-29 17:32:53 -04:00
Botond Ballo 2f4d953404 Bug 1267438 - Do not propagate the scroll clip to APZC's copy of ScrollMetadata. r=kats
MozReview-Commit-ID: 9E1QGnoxUjN

--HG--
extra : rebase_source : 165a66ccdf2d836acb11fbda39888ad8d7954d1f
extra : histedit_source : 688cfcc68480fa61ae9e4125178e869454c0d849
2016-04-29 16:16:29 -04:00
Botond Ballo 8699c362f8 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 : c46d0d27145df9b268e70ab5aed67c8c64df9433
extra : histedit_source : 016fe1d78bde06feeb483446fdfb508448573d72
2016-04-29 16:14:21 -04:00
Botond Ballo f9b1e198bb Bug 1267438 - Use IntersectMaybeRects() in Layer::GetCombinedClipRect(). r=mstange
MozReview-Commit-ID: 5DkpzyFrDQ0

--HG--
extra : rebase_source : 09606811c5005f956c2684062f2ffa919e99f329
extra : histedit_source : 8d9d4d7c203c20a73838c7bdbe8849dd5f23333a
2016-04-29 15:44:08 -04:00
Wes Kocher 4cc953c236 Backed out 2 changesets (bug 1270894) for build bustage
Backed out changeset 8c0d3d862f14 (bug 1270894)
Backed out changeset 1bb479eb334c (bug 1270894)
2016-05-09 13:53:10 -07:00
David Anderson e7361fa662 Add instrumentation to debug bug 1116540. r=milan 2016-05-09 13:22:19 -07:00
David Anderson 8ac61fc54a Add an nsIGfxInfo for describing active crash guards. (bug 1270894 part 1, r=milan) 2016-05-09 13:15:58 -07:00
Jeff Muizelaar e1beb97b75 Bug 1269387. Port D3D11 ANGLE configuration to gfxConfig. r=dvander 2016-05-09 15:57:29 -04:00
Jeff Gilbert 4098575167 Bug 1270318 - Fixup WebGL extension requirements. - r=jrmuizel 2016-05-09 12:00:10 -07:00
Jeff Gilbert 3af240fd90 Bug 1229332 - Implement EXT_color_buffer_float. - r=jrmuizel 2016-05-04 16:39:02 -07:00
Benoit Girard 70acc7f3f9 Bug 1262008 - Add WebGL failure causes to telemetry ping. r=dvander
MozReview-Commit-ID: 9IVhVNGmaAP

--HG--
extra : rebase_source : bfa8d247c331c216c048fb696fbfb4302c5b8d52
2016-05-09 13:44:21 -04:00
Lee Salzman 8799f3a155 Bug 1266209 - warn if ID2D1Geometry::Simplify fails in TransformedCopyToBuilder. r=bas.schouten 2016-05-09 10:33:33 -04:00
L. David Baron 19d420e94b Bug 567283 patch 3 - Make TestColorNames use the new alpha capabilities. r=xidorn
MozReview-Commit-ID: IdAewXMVZct
2016-05-08 22:16:41 -07:00
L. David Baron 9ee89fe42f Bug 567283 patch 2 - Rename NS_HexToRGB to NS_HexToRGBA and add parameter saying whether 4 and 8 digit colors are allowed. r=xidorn
This patch tells all callers to use the existing behavior, so it is
intended not to change behavior.  Callers that will be modified in later
patches are marked with "FIXME" comments that will be removed in those
later patches (patches 3 and 4).

MozReview-Commit-ID: FaLryfxaeHv
2016-05-08 22:16:41 -07:00
L. David Baron bf5666a4c5 Bug 567283 patch 1 - Convert if enclosing most of function into early return. r=xidorn
This conversion just reindents most of the function, but it then avoids
having indentation changes in patch 2.

MozReview-Commit-ID: A5unK4grJ47
2016-05-08 22:16:41 -07:00
Sotaro Ikeda 10bd1948ed Bug 1263053 - Enable tiling on BasicCompositor r=nical 2016-05-08 18:29:35 -07:00
David Anderson bfbc7d0ba3 Use gfxConfig for D3D9 preferences. (bug 1270650, r=jrmuizel) 2016-05-06 19:01:58 -07:00
bd339 79bdfc45c8 Bug 1170062 - Use a common base class to simplify APZ gtests. r=botond
The common base class is shared by APZCBasicTester and APZCTreeManagerTester,
and contains several of the functions previously in InputUtils.h.

MozReview-Commit-ID: 85ZRHc1dNQf

--HG--
extra : rebase_source : fe97b9774842944a9a7959350cc642e611b5a8b4
extra : amend_source : 2557604a92b478fbf44b7eaad6bfccfd4b4c8377
2016-05-06 21:30:28 +02:00
Milan Sreckovic e0f647f55d Bug 1270180: More instances of MOZ_CRASH converted to gfxDevCrash and getting GFX prefix. r=jgilbert
MozReview-Commit-ID: BFUu2JG9Tk2

--HG--
extra : rebase_source : 146e8b8dc49dce7735f961df3ddfa3c9130fee32
2016-05-06 10:19:31 -04:00
Kartikaya Gupta 6b351292a3 Bug 1269194 - Allow privileged code access to CheckerboardReportService. r=avih
MozReview-Commit-ID: 1O13jLQw2OF
2016-05-06 14:41:31 -04:00
Lee Salzman 662be6d02f Bug 1269524 - implement blit_row_s32a_opaque in Skia SkOpts_sse2. r=jrmuizel 2016-05-05 16:01:12 -04:00
David Anderson 86cb20fdbf Add blocklist reasons to the gfxConfig/about:support decision log. (bug 1270404, r=milan) 2016-05-05 14:42:12 -04:00
Mason Chang d3acfd8069 Bug 1266933. Pass image extend mode to prescale and tile drawable on OS X. r=jrmuizel 2016-05-05 07:59:30 -07:00
Thomas Zimmermann c2ec632f2d Bug 1269422: Get Gonk widget with |CompositorWidgetProxy::RealWidget|. r=dvander 2016-05-05 11:27:38 +02:00
Kyle Huey 941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Kyle Huey 44cee0989e Bug 1268313: Part 6 - Replace NewRunnableMethod with NS_NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Kyle Huey 156b8c1933 Bug 1268313: Part 4 - Replace NewCancelableRunnableMethod with NS_NewCancelableRunnableMethod. r=froydnj 2016-05-05 01:44:59 -07:00
Kyle Huey 7f54121b91 Bug 1268313: Part 3 - Replace some NewCancelableRunnableMethod with NS_NewNonOwningCancelableRunnableMethod. r=froydnj 2016-05-05 01:44:59 -07:00
Kyle Huey 63a71e96b0 Bug 1268313: Part 1 - Be explicit about which NewRunnableMethod callers want to be able to cancel. r=froydnj 2016-05-05 01:44:59 -07:00
David Anderson 9c703c12e4 Remove plugin-related CompositorBridgeParent use of nsIWidget. (bug 1265975 part 6, r=jimm) 2016-05-04 22:00:14 -07:00
David Anderson 9427843932 Remove Windows-specific compositor calls to nsIWidget. (bug 1265975 part 5, r=jimm) 2016-05-04 22:00:14 -07:00
Lee Salzman 454d9d7010 Bug 1267080 - backport upstream Skia GrAAStrokeRectBatch fix. r=mchang 2016-05-04 23:27:43 -04:00
Lee Salzman b0ad2e9c84 Bug 1270231 - avoid #define leakage of common symbols outside of Skia. r=jrmuizel 2016-05-04 21:05:26 -04:00
bd339 6455e570f8 Bug 1249936 - Remove unnecessary const from the return type of Layer accessors that return matrices by value. r=botond
MozReview-Commit-ID: 4JKqUDtYN3P

--HG--
extra : rebase_source : 01243e54c9a40f335353071dc2d3785bd38a4cc0
extra : amend_source : 423ddc97a398303eef098375457b756edde0a0ae
2016-05-03 16:33:43 +02:00
Kartikaya Gupta f2607fc5eb Bug 1231570 - Ensure we send a touchcancel after a prevented long-press. r=capella
MozReview-Commit-ID: o5InXZjdUx

--HG--
extra : rebase_source : 964cd1c68eba86bf640dbfb630d74917c7f6d1dc
2016-05-03 16:22:27 -04:00
Dylan Roeh c185fb93b0 Bug 1136364 - Remove EGLSurface creation from GLController. r=snorp 2016-04-29 10:28:35 -05:00
Kartikaya Gupta b345ce3a32 Bug 1270165 - Allow ResetTouchInputState to be called while a non-touch block is the current block. r=botond
MozReview-Commit-ID: HN3G249raKW

--HG--
extra : rebase_source : 490a634671f218139b88efb079f72e252577e88f
2016-05-04 11:57:36 -04:00
Jeff Muizelaar 4e45e68439 Bug 1262427. Don't try D3D11 harder. r=dvander
If we know D3D11 isn't going to work we shouldn't bother
using it for ANGLE.
2016-05-04 11:34:01 -04:00
Nicolas Silva 5182c62c24 Bug 1270075 - Annotate reports instead of crashing when setting an incompatible compositor (D3D9). r=Bas 2016-05-04 15:22:49 +02:00
Nicolas Silva 165b183a1e Bug 1270079 - Shut PCompositorBridge down before PImageBridge for the parent process. r=Bas 2016-05-04 15:22:45 +02:00
Nicolas Silva 44f9c2293f Bug 1268169 - Don't touch a ShmemSection's memory after shutdown. r=kats 2016-05-04 13:36:48 +02:00
Sebastian Hengst 360c4930db Backed out changeset 7ac47a347557 (bug 1231570) for crash in test_wheel_scroll.html after assertion at gfx/layers/apz/src/InputQueue.cpp:493 on Linux debug in M-e10s(8). r=backout 2016-05-04 09:32:28 +02:00
Jonathan Kew 9e554db122 Bug 1269187 - Accept a Unicode-platform 'cmap' subtable if there's no MS-platform subtable in the font. r=emk 2016-05-03 16:48:48 +01:00
Jonathan Kew fb5e0a3be3 Bug 1268021 - Implement memory reporting for the user-font cache. r=njn 2016-05-03 12:14:34 +01:00
Kartikaya Gupta 6345f1e3e3 Bug 1231570 - Ensure we send a touchcancel after a prevented long-press. r=capella
MozReview-Commit-ID: o5InXZjdUx

--HG--
extra : rebase_source : 964cd1c68eba86bf640dbfb630d74917c7f6d1dc
2016-05-03 16:22:27 -04:00
David Anderson fcdaf00819 Use CompositorWidgetProxy for dispatching vsync to the compositor. (bug 1269037 part 1, r=mchang) 2016-05-03 17:39:23 -07:00
David Anderson 85576afa6e Restrict SetDispAcquireFence's nsIWidget access to Gonk. (bug 1269653 part 2, r=kats) 2016-05-03 17:37:34 -07:00
David Anderson 0ea2b809d0 Don't use nsIWidget to check APZ in LayerManagerComposite. (bug 1269653 part 1, r=kats) 2016-05-03 17:37:34 -07:00
David Anderson 0499cd8b51 Fix assertion failure in gfxConfig. (bug 1269565, r=milan)
--HG--
extra : rebase_source : 699112ba0801ea3418b1582b59524f55af21d5cd
2016-05-03 14:53:52 -04:00
Kartikaya Gupta c065a77f0b Bug 1269032 - Add support for user multipliers to pan gesture inputs. r=mstange
MozReview-Commit-ID: 91ooLOswm7q

--HG--
extra : rebase_source : 4b545b6f95052adc951c37cc096110a7df8be1bb
2016-05-03 09:09:10 -04:00
Jonathan Kew 1be69b60f6 Backout 86bea1a981f9 (bug 1268021) for causing Windows crashes on a CLOSED TREE. 2016-05-03 13:36:28 +01:00
Jonathan Kew a4e2a6456b Bug 1268878 - Include various of gfxFontEntry's sub-objects in memory reporting. r=njn 2016-05-03 12:14:35 +01:00
Jonathan Kew 11b4815d30 Bug 1268951 - Reallocate sanitized user font data into an appropriately-sized block, to reduce ongoing RAM footprint. r=jrmuizel 2016-05-03 12:14:34 +01:00
Jonathan Kew d1f897d72c Bug 1268021 - Implement memory reporting for the user-font cache. r=njn 2016-05-03 12:14:34 +01:00
Andrea Marchesini 513590a1ac Bug 1267904 - Add telemetry for WorkerMainThreadRunnable, r=khuey 2016-05-03 09:09:47 +02:00
Kartikaya Gupta f30087628f Bug 1269068 - Zero out the axis velocity once the wheel scroll animation is terminating. r=botond
MozReview-Commit-ID: 50WX2ATswhv

--HG--
extra : rebase_source : 65349a0d6b20a529b1e68d604a6242393e12695a
2016-05-02 15:26:35 -04:00
Kartikaya Gupta bf75215060 Bug 1266833 - When the scroll position is clamped during a frame reconstruction, send a scroll offset update to APZ. r=tnikkel
MozReview-Commit-ID: 2UBM4AWWIVI
2016-05-02 15:44:29 -04:00
Lee Salzman 9601040f89 Bug 1269011 - silence SkCairoFTTypeface::onFilterRec warnings. r=mchang 2016-05-02 14:26:55 -04:00
bd339 1f362e61d3 Bug 1258758 - rename GetEffectiveClipRect to GetLocalClipRect. r=kats
MozReview-Commit-ID: HNErexDE1Xo
2016-05-02 17:27:35 +02:00
Lee Salzman acc48d6516 Bug 1269247 - check that SkPaint has a typeface before using it. r=mchang 2016-05-02 11:39:39 -04:00
bd339 7a139afe3a Bug 1249936 - add a LayerComposite::GetShadowTransform method & simplify Layer::GetLocalTransform. r=botond
MozReview-Commit-ID: 80RNCyxAjtq

--HG--
extra : rebase_source : f567255ff3205da7419a5698b0d5ffa75dd30ad1
2016-05-01 12:54:26 +02:00
Markus Stange 8fc4b5a29d Bug 1265112 - When rendering blend modes with CompositorOGL, use NV_texture_barrier (if available) to sample directly from the framebuffer. r=jrmuizel
MozReview-Commit-ID: fWSgFOTmhS

--HG--
extra : rebase_source : b4d6f09ecdba5fd186805ae37d46e1a5b338017b
extra : source : 5661561315873d7593d202cbef2535df4bf43400
extra : histedit_source : 5f3d9e8b965966718001f84ee517d7943511e0de
2016-04-15 18:53:35 -04:00
Markus Stange b0358573d0 Bug 1265112 - Add support for NV_texture_barrier to GLContext. r=jrmuizel
MozReview-Commit-ID: 95j0YBKN1P1

--HG--
extra : rebase_source : 55d94a6773acf50130271256b26fd375d1ee5f4f
extra : source : ce7c9ec848c84a131ca3c26ee879a14ef79192d6
extra : histedit_source : 8d79b4947b934e9be7b565a769d764cb894b89fc
2016-05-01 19:37:42 -04:00
Aryeh Gregor f14f1babe8 Bug 1193762 part 8 - Fix things that will break; r=froydnj
It looks like VC++ doesn't like comparisons of nsCOMPtr to 0 after this
change, but those are bad style anyway, so I removed them from
TestCOMPtr.cpp instead of trying to make them work.
2016-05-01 21:29:23 +03:00
Lee Salzman feaa3aff7d Bug 1268816 - follow-up to fix #ifdef -> #if. r=me 2016-05-01 10:28:09 -04:00
Lee Salzman a0a61c0134 Bug 1268816 - allow Skia to use C++11 features on platforms that have them. r=froydnj 2016-04-29 21:03:05 -04:00
David Anderson 77e3700565 Move CompositorWidgetProxy inheritance out of nsIWidget. (bug 1264545 part 6, r=jimm) 2016-04-29 19:23:17 -04:00
David Anderson 189df44ef6 Use CompositorWidgetProxy in place of nsIWidget in CompositorBridgeParent. (bug 1264545 part 5, r=jimm,kats) 2016-04-29 19:20:42 -04:00
David Anderson c7d105faf0 Use CompositorWidgetProxy in place of nsIWidget in the compositor. (bug 1264545 part 4, r=jimm) 2016-04-29 19:20:41 -04:00
David Anderson 1c7b3ca999 Change Compositor::GetWidget to return a CompositorWidgetProxy. (bug 1264545 part 3, r=jimm) 2016-04-29 19:20:41 -04:00
David Anderson 86a0e1fbcf Hoist mWidget into the Compositor base class. (bug 1264545 part 1, r=nical) 2016-04-29 19:20:40 -04:00
Sebastian Hengst 3787fb48fa Backed out changeset 7d87fa0dc7ed (bug 1265112) for build bustage. r=backout 2016-04-30 00:52:25 +02:00
Sebastian Hengst 81f27811ea Backed out changeset d1b4c5874493 (bug 1265112) 2016-04-30 00:49:45 +02:00
Markus Stange 433e58e886 Bug 1265112 - When rendering blend modes with CompositorOGL, use NV_texture_barrier (if available) to sample directly from the framebuffer. r=jrmuizel
MozReview-Commit-ID: fWSgFOTmhS

--HG--
extra : rebase_source : 45d55b826a9a4e06689cd187c1f14b711d08cbb4
extra : source : 5661561315873d7593d202cbef2535df4bf43400
2016-04-15 18:53:35 -04:00
Markus Stange 33aba2a6bc Bug 1265112 - Add support for NV_texture_barrier to GLContext. r=jrmuizel
MozReview-Commit-ID: 95j0YBKN1P1

--HG--
extra : rebase_source : a0e91658afcb17bb6802904c444b58ccd66b6608
extra : source : ce7c9ec848c84a131ca3c26ee879a14ef79192d6
2016-01-16 15:27:18 +01:00
Kartikaya Gupta 94f1ccfd16 Bug 1268517 - Remove unused function. r=botond
MozReview-Commit-ID: 7E9gZhizUZt
2016-04-29 12:01:03 -04:00
Kartikaya Gupta c1fd24b30b Bug 1268523 - Avoid leaking tasks when they are posted to a destroyed APZC instance. r=botond
MozReview-Commit-ID: 9hAkzCVg7el

--HG--
extra : rebase_source : 8f9a71ec1354fe57c1401655b81bcb178eb6d1c2
2016-04-28 11:29:35 -04:00
Mason Chang 69a6b685dd Bug 1267180. Don't draw emojis as paths when they are too big. r=lsalzman 2016-04-29 10:23:49 -04:00
Carsten "Tomcat" Book f13688180e Backed out changeset af51821b2fc5 (bug 1268313) for causing very frequent bc7 memory leak
--HG--
extra : rebase_source : 0af725bfab61b8f86e0243490aa970535f726503
2016-04-29 14:22:04 +02:00
Carsten "Tomcat" Book 5d43a44ec6 Backed out changeset 3f2f3fcac66b (bug 1268313)
--HG--
extra : rebase_source : 438e7d7077b900ef252bd628f4559424eebd211f
2016-04-29 14:21:23 +02:00
Carsten "Tomcat" Book 4bb6f48de3 Backed out changeset 6a8d57e8fa8e (bug 1268313)
--HG--
extra : rebase_source : 8690897fd41073f22c8b25db5e8ce88df76a2bb7
2016-04-29 14:21:22 +02:00
Carsten "Tomcat" Book de92769e7e Backed out changeset 4bcb784492bb (bug 1268313)
--HG--
extra : rebase_source : f2f752ab73f5bbf31a909892a0fac0f42c894430
2016-04-29 14:21:18 +02:00
Carsten "Tomcat" Book ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
David Anderson c293f2124b Add gfxConfig to nsIGfxInfo, for about:support access. (bug 1254899 part 11, r=jrmuizel) 2016-04-28 21:52:56 -07:00
David Anderson e1b55a7e41 Replace gfxWindowsPlatform::mD2D1Status with gfxConfig. (bug 1254899 part 10, r=milan) 2016-04-28 21:52:56 -07:00
David Anderson a4bd3b332b Replace gfxWindowsPlatform::mD3D11Status with gfxConfig. (bug 1254899 part 9, r=jrmuizel) 2016-04-28 21:52:55 -07:00
David Anderson 802cde670e Give FeatureState a public interface. (bug 1254899 part 8, r=milan) 2016-04-28 21:52:55 -07:00
David Anderson c1838c00ba Add another feature state for blacklisting and environment decisions. (bug 1254899 part 7, r=milan) 2016-04-28 21:52:55 -07:00
David Anderson dbc599bf9b Merge gfxWindowsPlatform::mAcceleration into gfxConfig. (bug 1254899 part 6, r=milan) 2016-04-28 21:52:55 -07:00
David Anderson f894adf887 Move DeviceInitData from gfxWindowsPlatform to gfxPlatforn. (bug 1254899 part 5, r=milan) 2016-04-28 21:52:55 -07:00
David Anderson 47e60f5ed3 Rename FeatureStatus::Crashed to CrashedInHandler. (bug 1254899 part 4, r=milan) 2016-04-28 21:52:55 -07:00
David Anderson b7528e9778 Introduce gfxConfig, a manager for graphics feature settings. (bug 1254899 part 3, r=milan) 2016-04-28 21:52:54 -07:00
David Anderson b1d059c49c Refactor acceleration pref initialization. (bug 1254899 part 2, r=jrmuizel) 2016-04-28 21:52:54 -07:00
David Anderson 5e5cda33f7 Dedent some functions. (bug 1254899 part 1, r=jrmuizel) 2016-04-28 21:52:54 -07:00
Lee Salzman 640ab69d7c Bug 1265131, part 5 - update Skia to m51 branch. r=jrmuizel
--HG--
rename : gfx/skia/skia/include/effects/SkDrawExtraPathEffect.h => gfx/skia/skia/src/animator/SkDrawExtraPathEffect.h
rename : gfx/skia/skia/include/core/SkTDStack.h => gfx/skia/skia/src/animator/SkTDStack.h
rename : gfx/skia/skia/src/codec/SkJpegUtility_codec.h => gfx/skia/skia/src/codec/SkJpegUtility.h
rename : gfx/skia/skia/src/doc/SkDocument.cpp => gfx/skia/skia/src/core/SkDocument.cpp
rename : gfx/skia/skia/include/core/SkTInternalLList.h => gfx/skia/skia/src/core/SkTInternalLList.h
rename : gfx/skia/skia/src/images/SkImageEncoder_argb.cpp => gfx/skia/skia/src/images/SkARGBImageEncoder.cpp
rename : gfx/skia/skia/src/doc/SkDocument_PDF_None.cpp => gfx/skia/skia/src/pdf/SkDocument_PDF_None.cpp
rename : gfx/skia/skia/include/device/xps/SkConstexprMath.h => gfx/skia/skia/src/xps/SkConstexprMath.h
rename : gfx/skia/skia/src/doc/SkDocument_XPS_None.cpp => gfx/skia/skia/src/xps/SkDocument_XPS_None.cpp
rename : gfx/skia/skia/include/device/xps/SkXPSDevice.h => gfx/skia/skia/src/xps/SkXPSDevice.h
2016-04-28 22:55:28 -04:00
Lee Salzman 493ea699e5 Bug 1265131, part 3 - update Moz2d for Skia m51. r=jrmuizel 2016-04-28 22:55:27 -04:00