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

22011 Коммитов

Автор SHA1 Сообщение Дата
Jeff Gilbert 8bca05c326 Bug 1260944 - Fix ANGLE D3D WARP for WebGL. - r=jrmuizel 2016-04-06 13:47:25 -07:00
Wes Kocher da864e5d84 Backed out changeset 65e9d46daf3e (bug 1255823) for various failures that end up crashing in [@ mozilla::layers::PAPZParent::DestroySubtree]
MozReview-Commit-ID: 31J6pCNfW2D
2016-04-06 13:09:41 -07:00
Milan Sreckovic 805998f5fe Bug 881609: Call InitLayersAccelerationPrefs only once. r=nrc
MozReview-Commit-ID: DTBHmvjqn1e

--HG--
extra : rebase_source : f215b1f2c128b9251005307c3419a7d4e31ed3b6
2016-02-26 11:33:00 -05:00
George Wright 5d010a6843 Bug 1237769 - Disable e10s on Windows XP if layers acceleration is requested r=milan 2016-04-06 13:30:46 -04:00
Kartikaya Gupta 3f15bc58f2 Bug 1255823 - Add a two-step destruction process to PAPZ. r=dvander
MozReview-Commit-ID: 5HB1DVO4qeK
2016-04-06 12:09:55 -04:00
Mason Chang 7e8b1d4295 Bug 1120485. Log CloseHandle error reason during MessageChannel shutdown failure. r=milan 2016-04-06 09:03:22 -07:00
Edwin Flores 7cb6393ecc Bug 1256678 - Replace DrawTargetCairo::FillGlyphs crashes with other crashes - r=bobowen 2016-04-06 11:07:27 +01:00
kearwood e44580c5fd Bug 1260530 - Add support for Oculus 1.3 runtime r=daoshengmu
MozReview-Commit-ID: K8BUa3u0qyA

--HG--
extra : rebase_source : cbb1710549428e7e3a45bb766c3502ec4534f5f1
2016-03-31 13:05:23 -07:00
Matt Woodrow e725884022 Bug 1262304 - Add a pref to dump display lists for the content process. r=BenWa
--HG--
extra : rebase_source : 09ce025ea6029b1269f65e6e740b5166e8d15aa9
2016-04-06 15:29:57 +12:00
Matt Woodrow ba8efb79a8 Bug 1258313 - Allow snapping of 'pseudo' 3d transforms. r=jrmuizel
--HG--
extra : rebase_source : df64389373ed7e880642dd39c9afd44a92db2423
2016-04-06 15:29:32 +12:00
Kartikaya Gupta 68c2287471 Bug 1256532 - Show the critical displayport in the APZ minimap as well. r=BenWa
MozReview-Commit-ID: HSCJ8G8tpiR
2016-04-05 17:30:00 -04:00
Jeff Gilbert 65fd1fca03 Bug 1259811 - Require FBO support for GLContexts. - r=jrmuizel 2016-03-25 14:19:21 -07:00
Jeff Muizelaar 83bb88f11e Bug 1259466. Rename layers.offmainthreadcomposition.enabled. r=milan
We would rather people not use this pref.
2016-04-05 10:55:17 -04:00
Carsten "Tomcat" Book 93f1ed4229 merge m-c to m-i to fix perma failures 2016-04-05 10:34:05 +02:00
Carsten "Tomcat" Book fad84a5168 Backed out changeset 864320b75e76 (bug 1259466) for suspicion this caused bc 7 test failures on m-c 2016-04-05 08:54:01 +02:00
Jeff Muizelaar 328e2a6882 Bug 1259466. Rename layers.offmainthreadcomposition.enabled. r=milan
We would rather people not use this pref.
2016-04-04 17:15:00 -04:00
Markus Stange 60ef932ecf Bug 1260335 - On perspective ContainerLayers, the clip deferred from their child layer needs to be affected by the perspective layer's async transforms. r=botond
MozReview-Commit-ID: EEgsdFXGI1E

--HG--
extra : rebase_source : b5b69e94054ee4f0aae6d407d6dbf6b02ba0655a
extra : histedit_source : 81638f619eb1745898c8ecb279c10f1f133a9fba
2016-04-04 23:21:31 -04:00
Markus Stange c588c99038 Bug 1260335 - Add a comment that explains why the perspective child can't have more than one frame metrics. r=mattwoodrow
MozReview-Commit-ID: BsB8XRtUd4b

--HG--
extra : rebase_source : 6588e687da119db175d5cc2bdf8572f7725b5474
extra : histedit_source : 09c4b9506b86a1986902d62e3cd0079f098f68df
2016-03-30 15:34:03 -04:00
Heiher 9ae6539ca5 Bug 1260350 - GFX: 2D: Use ConvolveHorizontally_LS3. r=jrmuizel
---
 gfx/2d/convolver.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2016-04-05 11:03:32 +08:00
Heiher 57e0bc7abd Bug 1260112 - GFX: 2D: Fix unaligned access in ConvolveVertically/Horizontally_LS3. r=huangwenjun06
---
 gfx/2d/convolverLS3.cpp | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)
2016-04-05 11:03:28 +08:00
Lee Salzman 2acc650849 Bug 1255342 - implement DrawTargetCairo::LockBits for Cairo Win32 surfaces. r=sotaro 2016-04-04 10:43:47 -04:00
Nicolas Silva 9a91eca96b Bug 1243466 - Don't crash if DeallocPImageContainerChild is called prematurely. r=sotaro 2016-04-04 10:03:37 +02:00
Kartikaya Gupta b5b9ac8266 Bug 1246290 - Add a simple gtest to exercise the force-disabled-APZ codepaths. r=botond
MozReview-Commit-ID: AN5HOPgj1Tr
2016-04-03 13:13:59 -04:00
Kartikaya Gupta e939861411 Bug 1246290 - Add a pref to allow disabling APZ on documents which have scroll-linked effects. r=botond
MozReview-Commit-ID: HQkHUiEWaWc
2016-04-03 13:13:59 -04:00
Kartikaya Gupta 5238d9ba37 Bug 1246290 - Add the ability for APZCs to not expose async transforms. r=botond
The call site is responsible for indicating whether or not the APZC should respect
the force-disable flag in the APZCs. This is because we only want to respect that
flag when doing visual transforms (similar to how scrollinfo layers work) and not
when doing transforms on input events.

MozReview-Commit-ID: Dqgz6fqJGXG
2016-04-03 13:13:58 -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
Kartikaya Gupta 36b6d35999 Bug 1246290 - Refactoring to get rid of SampleContentTransformForFrame from AsyncPanZoomController. r=botond
MozReview-Commit-ID: Kh6ptJ7tQms
2016-04-03 13:13:58 -04:00
Masayuki Nakano 57445d0047 Bug 1259668 Rename WidgetTouchEvent::touches to WidgetTouchEvent::mTouches r=smaug
MozReview-Commit-ID: FLbows8davI

--HG--
extra : rebase_source : b564d09aa76311793a78d80b6c78c91e232edc47
2016-03-30 18:44:28 +09:00
Bobby Holley 5790b832fa Bug 1261452 - do_AddRef shouldn't require an rvalue-reference. r=froydnj 2016-04-01 19:14:42 -07:00
Randall Barker 3eeb55a5ff Bug 1257269 - Panning up in a scrollable element should not hide the toolbar r=kats,jchen 2016-04-01 16:07:29 -07:00
Wes Kocher 81af293e82 Backed out changeset 95e61ede373d (bug 1257269) because it caused merge conflicts with m-c/fx-team
MozReview-Commit-ID: 2Zt4WJqmlzu
2016-04-01 16:05:07 -07:00
Botond Ballo 5753e3da83 Bug 1259301 - Remove GeckoContentController::RequestFlingSnap(). r=kats
MozReview-Commit-ID: DRntzo1hohv

--HG--
extra : rebase_source : 5e9c5c43202fb48c5cad5ab95b05fd0bc1be021e
2016-03-30 21:11:00 -04:00
Botond Ballo a2ee8407e4 Bug 1219296 - Scroll snap directly in APZ instead of going through the main thread. r=kats
MozReview-Commit-ID: 3qAdSWXwOsu

--HG--
extra : rebase_source : 1c746af11c620e4bc27d1163980db361c239ae5e
2016-03-28 18:36:02 -04:00
Botond Ballo 80ebd436cb Bug 1219296 - Light refactoring to how a smooth scroll is launched inside APZC. r=kats
MozReview-Commit-ID: Ay5XXT1808Z

--HG--
extra : rebase_source : 1ed2b6c0087b499a077a23116dc477997d13503d
2016-03-16 21:04:04 -04:00
Botond Ballo 3721e5c1ce Bug 1219296 - Remove StartSmoothScroll()'s argument, which is no longer used. r=kats
MozReview-Commit-ID: DlnaEQLCvlf

--HG--
extra : rebase_source : 95cc626bb6260fc11efa71db4e1e66a01d770508
2016-03-16 20:58:08 -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 77cebd9dd2 Bug 1219296 - Make ScrollMetadata::sNullMetadata a StaticAutoPtr so that ScrollMetadata can admit nsTArray members. r=kats
MozReview-Commit-ID: LOZdnAhL5xH

--HG--
extra : rebase_source : 39b619a7945e9f3c867dbe67e700e8b83d7c3699
2016-03-30 17:04:10 -04:00
Botond Ballo 04587ba3aa Bug 1219296 - Move the layout.css.scroll-snap.proximity-threshold pref to gfxPrefs, so it can be queried on the compositor thread. r=kats
MozReview-Commit-ID: 6apoF0810Ea

--HG--
extra : rebase_source : 7860ad185b7c131ef19faa2befb3a09f75b7ad6e
2016-03-18 21:15:45 -04:00
Botond Ballo 4690842281 Bug 1219296 - Factor out scroll snap information into a form that's usable by the compositor. r=kats
MozReview-Commit-ID: DTvu7UsKsBg

--HG--
extra : rebase_source : 71831d884d128bc9e50aac55c7a8302f7ffe74f8
2016-03-18 20:07:27 -04: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
Randall Barker 8125870e5c Bug 1257269 - Panning up in a scrollable element should not hide the toolbar r=kats,jchen 2016-04-01 12:16:35 -07:00
Randall Barker ec28626b23 Bug 1260588 - C++ APZ should only allow handoff to ancestor APZC r=botond 2016-04-01 12:16:35 -07:00
Ryan VanderMeulen 30df7c9421 Backed out changeset b90dc48988d4 (bug 1254829) because it got a retroactive r-. 2016-04-01 13:21:25 -04:00
Bill McCloskey 45597e5c5d Bug 1255961 - Avoid zeroing out shmems (r=dvander) 2016-04-01 09:56:39 -07:00
Masayuki Nakano 70f6c0a7ac Bug 1259664 part.5 Rename WidgetWheelEvent::customizedByUserPrefs to WidgetWheelEvent::mCustomizedByUserPrefs r=smaug
MozReview-Commit-ID: 9GksNZRtmmb

--HG--
extra : rebase_source : 70f15531a9e83e1bd942270a9d95c5a9ea970b8c
2016-03-31 18:44:01 +09:00
Masayuki Nakano a2da982fdb Bug 1259664 part.4 Rename WidgetWheelEvent::deltaMode to WidgetWheelEvent::mDeltaMode r=smaug
MozReview-Commit-ID: Ky3xp2NtBWq

--HG--
extra : rebase_source : 412e2df1c27c37dc76039d1fd3463623b476d81c
2016-03-31 18:35:24 +09:00
Masayuki Nakano 6aedccbde5 Bug 1259664 part.2 Rename WidgetWheelEvent::deltaY to WidgetWheelEvent::mDeltaY r=smaug
MozReview-Commit-ID: 3xscKDblY4V

--HG--
extra : rebase_source : c587768fd2c9a48e07cafa27b5c72e4eeb030360
2016-03-31 18:09:47 +09:00
Masayuki Nakano 6cedf549dc Bug 1259664 part.1 Rename WidgetWheelEvent::deltaX to WidgetWheelEvent::mDeltaX r=smaug
MozReview-Commit-ID: F5dQHpPkWfA

--HG--
extra : rebase_source : 1a256f288b0e004c196468f8659393b474d73840
2016-03-31 18:55:59 +09:00
Bas Schouten c7a2d932b2 Bug 1259785: Do a proper flush when taking a snapshot so our dependent targets and command lists get appropriately cleared. r=jrmuizel
MozReview-Commit-ID: D49eFNRGD2V

--HG--
extra : rebase_source : 79bc34d1822396e87eedb5913ac56ecbf1b65fa3
2016-03-31 21:45:36 +02:00
Peter Chang f012f18fd5 Bug 1254829 - Change global context to static RefPtr to avoid destruction during QuickExit(). r=jrmuizel
MozReview-Commit-ID: COV0vvyFubo

--HG--
extra : transplant_source : %BA%3F%F3%B92rS%A9N%18t%D2%FB%DC1%B32%C3%07L
2016-04-01 16:23:52 +08:00
Daisuke Akatsuka 6c89bdf21b Bug 1248532 - Part 1: steps-start does not produce correct value at the beginning of the interval. r=birtles
MozReview-Commit-ID: F9b1HCfEqU6

--HG--
extra : transplant_source : %22xJ1%EBa%D6%7D%87%03%B84%2A5%CA9%93N%8A%16
2016-04-01 14:00:57 +09:00
Kartikaya Gupta ac77ce1edf Bug 1251638 - Do a bit of cleanup on the displayport margin computation in APZC; no functional changes. r=botond
MozReview-Commit-ID: 2MlCVLH8OZA
2016-04-01 08:02:28 -04:00
Kartikaya Gupta 4cf9495b2a Bug 1251638 - Don't clamp the displayport to the scrollable rect on the compositor side. r=botond
The clamping already happens on the content side, in nsLayoutUtils::GetDisplayPort
and friends. The clamping there is more accurate as it reflects the latest main-
thread information about the size of the page and position of the displayport
base rect, which the compositor thread does not have.

Since we are not clamping the displayport on the compositor side, it can "slosh
around" a bit more and ends up sending a few more repaint requests when scrolling
near the edges of the scrollable frame. This causes some gtests to fail because
of the "extra" repaint requests. Disabling the velocity bias removes the
sloshing around and fixes the test failures.

MozReview-Commit-ID: JgBDi0M3Wtt
2016-04-01 08:02:25 -04:00
Ethan Lin d1268b5e73 Bug 1259696 - Check read buffer mode when doing CopyTexImage. r=jgilbert
MozReview-Commit-ID: FYMiMaiRhii

--HG--
extra : rebase_source : 9f71a99d40df8430543d90f1eb64cda01d060b88
2016-03-31 23:06:33 -07:00
Bas Schouten 9c327300bf Bug 1258168: Push ClearType compatible clipping layers when the last pushed layer was marked as opaque. r=jrmuizel
MozReview-Commit-ID: IM1srXx7CfB
2016-03-20 19:51:46 +01:00
Nicholas Nethercote d376f9f82e Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
do_GetAtom() is currently just a synonym for NS_NewAtom().

--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
Masayuki Nakano e9a1bcb370 Bug 1259658 Rename WidgetInputEvent::modifiers to WidgetInputEvent::mModifiers r=smaug
MozReview-Commit-ID: 7avEiqKfaHA

--HG--
extra : rebase_source : ffb6fbe424a4d5c2799444223608e03237e7c7a2
2016-03-31 17:03:00 +09:00
Jeff Muizelaar 2439c7be30 Bug 1259248. Add a comment about mfbt/Range.h 2016-03-31 16:32:31 -04:00
Wes Kocher 099e2cf829 Backed out changeset 08a097c4ea86 (bug 1255961) for build bustage CLOSED TREE
MozReview-Commit-ID: 2oPAnEwBpit
2016-03-30 10:20:58 -07:00
Bill McCloskey 9cae39064e Bug 1255961 - Avoid zeroing out shmems (r=dvander) 2016-03-30 09:58:39 -07:00
David Anderson ea604f9f48 Recreate GLTextureSources after changing compositors on Mac. (bug 1247611, r=mattwoodrow)
--HG--
extra : rebase_source : ff5d3cc118ac1f944398431d423c75b254c0a029
2016-03-30 09:33:24 -04:00
Thomas Zimmermann 1e43e927fd Bug 1260391: Transfer |CompositableOperation| in |AsyncChildMessageData|, r=dvander 2016-03-30 10:59:08 +02:00
Thomas Zimmermann b2c3effe60 Bug 1260391: Fix |ImageBridgeChild::UseOverlaySource|, r=dvander 2016-03-30 10:59:08 +02:00
Sotaro Ikeda 0dcd939cf9 Bug 1259541 - Reduce clearing backbuffer in nsBaseWidget::CreateBackBufferDrawTarget() r=mattwoodrow 2016-04-04 18:25:04 -07:00
Lee Salzman ac6587c152 Bug 1229946 - report GL_ARB_texture_rg extension to SkiaGL to avoid using GL_ALPHA render targets. r=jgilbert 2016-03-29 22:54:09 -04:00
Lee Salzman aefe39adfa Back out changeset 7431c1300d28 (bug 1189715) 2016-03-29 22:52:21 -04:00
Lee Salzman 29341ea574 Bug 1229975 - backport fix for Skia's GrConvexPolyEffect. r=mchang 2016-03-29 22:47:43 -04:00
Lee Salzman 24df5d41a7 Bug 1189715 - report GL_ARB_texture_rg extension to SkiaGL to avoid using GL_ALPHA render targets. r=jgilbert 2016-03-29 22:45:02 -04:00
Mason Chang 2b9181914e Bug 1250947. Fill area outside blur with solid color. r=mstange 2016-03-29 08:24:21 -07:00
Jim Mathies b77f9f8489 Bug 1148978 - Remove plugin window update composition deferment. r=mattwoodrow
MozReview-Commit-ID: AaRSO8RgY81

--HG--
extra : rebase_source : 59d78fe24f240f2dc14c3897af6bb9a58720596f
2016-03-24 09:40:26 -05:00
Jim Mathies 4752ace097 Bug 1148978 - Trigger paints when moving plugin windows around on the browser main thread. r=mattwoodrow
MozReview-Commit-ID: B75An9a5VTd

--HG--
extra : rebase_source : 140148e40901d5591e663a4f845b0037e66b1757
2016-03-24 09:32:02 -05:00
Jacek Caban f9f4840853 Bug 1251375 - Cross compilation fixup. r=upstream 2016-03-29 15:05:23 +02:00
Morris Tseng b39ac07a39 Bug 1254400 - Make access to d3d9 device manager thread-safe. r=dvander
--HG--
extra : commitid : FySQpssYCaD
2016-03-29 09:26:29 +08:00
Morris Tseng 97773ba583 Bug 1254400 - Handle device reset for d3d9. r=dvander
--HG--
extra : commitid : 8yHPSR3Z73s
2016-03-29 09:26:29 +08:00
Markus Stange 0ab404928f Bug 1254275 - Inspect the event queue to find out whether momentum events are following. r=kats
MozReview-Commit-ID: 6k3SaJ6X7Mr

--HG--
extra : histedit_source : 1b6842a2cd855dc04b1375c2c0f174005b1e0c75
2016-03-28 14:56:28 -04:00
Milan Sreckovic 7328ef12ac Bug 1256728: Add environment variable to disable force present from bug 1232042. r=BenWa
MozReview-Commit-ID: 5jRr0dPMKRV

--HG--
extra : rebase_source : 2f7b8d0f52ebcabd4663ca0c19c62b9efee0bff4
2016-03-28 12:59:38 -04:00
Kyle Huey 20daca1a98 Bug 1258905: Remove a bunch of dead IPC code. r=jld 2016-03-28 10:28:14 -07:00
Lee Salzman 16d757c28e Bug 1259810 - check that D2D1 device creation succeeds and otherwise fall to software backend. r=bas.schouten 2016-03-28 12:53:42 -04:00
Arata Furukawa 28360f6c90 Bug 1259655 - part 2 Rename WidgetEventTime::timeStamp to WidgetEventTime::mTimeStamp r=masayuki
MozReview-Commit-ID: LRgPxoynx0

--HG--
extra : source : 506d58da4e67501a00b676c99997597fa5fe5679
2016-03-28 13:49:02 +09:00
Arata Furukawa 676913b9bb Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki
MozReview-Commit-ID: 7lBCEVkanvF

--HG--
extra : source : d629f018d02594951b7deccf1e1fce279d04694c
2016-03-28 13:29:42 +09:00
David Anderson f814877913 Fix build bustage for bug 1256517 r=broken tree 2016-03-26 23:53:29 -07:00
David Anderson 82cec35be7 Block compositable updates from stale layers. (bug 1256517 part 4, r=mattwoodrow,nical)
--HG--
extra : rebase_source : a7a9bc431d528de6561a9e55a0ebbb675ce494c4
2016-03-25 01:38:55 -07:00
David Anderson 1d196f7f91 Disable device access on textures created against stale layers. (bug 1256517 part 3, r=nical)
--HG--
extra : rebase_source : 02718e49b49379ced97fbfed3453f4efdd04564b
2016-03-25 01:36:17 -07:00
David Anderson 79f363a8d1 Move compositable field out of individual compositable ops. (bug 1256517 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 59f4da4b17e3b065731f89438a7c8a5af6c34e12
2016-03-25 01:35:16 -07:00
David Anderson 1cd15247fd Track whether or not remote layers have acknowledged compositor changes. (bug 1256517 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 567d1cd225428f383d8eef4d8b85d5b598eb36c2
2016-03-25 01:35:07 -07:00
Lee Salzman 4c1b0ad4f8 Bug 1259621 - use AlphaBoxBlur in DrawTargetSkia::DrawSurfaceWithShadow. r=mchang 2016-03-25 22:14:50 -04:00
Sebastian Hengst a179e34466 Backed out changeset 06a0c49f1206 (bug 1258168) for css-blending reftest failures on Windows 8 x64 opt. r=backout 2016-03-25 21:27:52 +01:00
Bas Schouten 2abefa918b Bug 1258168: Push ClearType compatible clipping layers when the last pushed layer was marked as opaque. r=jrmuizel
MozReview-Commit-ID: IM1srXx7CfB
2016-03-20 19:51:46 +01:00
Ryan VanderMeulen 44b1cf2f67 Backed out 4 changesets (bug 1254134) for causing bug 1259645.
Backed out changeset bc443e4eaeca (bug 1254134)
Backed out changeset 49b1c3749ae6 (bug 1254134)
Backed out changeset 24789e0f5331 (bug 1254134)
Backed out changeset 0c191e03195d (bug 1254134)

CLOSED TREE
2016-03-24 23:49:00 -04:00
Kartikaya Gupta 0c92703124 Bug 1259529 - Ensure that the APZ minimap for subframes remains scaled to the visible portion of the composition bounds. r=BenWa
MozReview-Commit-ID: Faxtlk6cIHx
2016-03-24 16:06:45 -04:00
Kartikaya Gupta 8314c3f23b Bug 1259529 - Clean up the APZ minimap rendering code a bit. No functional changes. r=BenWa
MozReview-Commit-ID: avf1rlxSpj
2016-03-24 16:06:08 -04:00
Ryan VanderMeulen 91ad83db87 Backed out changeset c3c85d59ec72 (bug 1244883) for causing widespread Windows debug e10s crashes/asserts.
--HG--
extra : rebase_source : f47683dc935e327eb1b82609edf3b6642676d12b
2016-03-24 14:54:32 -04:00
Lee Salzman 331babd6a9 Bug 1229988 - verify that reference draw target is created after device reset and log failure in gfxWindowsPlatform::UpdateRenderMode. r=milan 2016-03-24 15:00:40 -04:00
Nicholas Nethercote bbfe3dbc14 Bug 1257402 - Remove NS_NewPermanentAtom() and nsIAtomService.getPermanentAtom(). r=froydnj,kmag.
The former is only used inconsequentially in tests. The second is not used at
all.

--HG--
extra : rebase_source : 4cfe11f933f1fe8f788e823c5107941085cef92c
2016-03-17 13:11:31 +11:00
Sotaro Ikeda ccef41ec11 Bug 1254897 - Recycle back buffer in BasicCompositor r=jrmuizel 2016-03-23 21:41:43 -07:00
Jeff Muizelaar edb70c82c6 Bug 1259248. Follow up to fix static analysis bustage
CLOSED TREE
2016-03-23 21:38:39 -04:00
Jeff Muizelaar 96d3663f32 Bug 1259248. Add an ArrayView class. r=botond 2016-03-23 21:20:41 -04:00
Kartikaya Gupta 90029b5133 Bug 1254134 - Follow-up to take care of clang Winconsistent-missing-override warning. r=me 2016-03-23 21:12:05 -04:00
Kartikaya Gupta 233e4bca52 Bug 1254134 - Remove unused mask flag. r=mattwoodrow 2016-03-23 21:12:04 -04:00
Kartikaya Gupta 26c14e876a Bug 1254134 - Use the full image size as the bounds for image layers during layer tree invalidation. r=mattwoodrow 2016-03-23 21:12:04 -04:00
Kartikaya Gupta b2333e8bb4 Bug 1254134 - Add debugging logs to LayerTreeInvalidation.cpp. r=mattwoodrow 2016-03-23 21:12:04 -04:00
Gregory Szorc 3f5defbd02 Bug 1256552 - Disable C4577 to unblock compilation on VS2015; r=jrmuizel
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary.

MozReview-Commit-ID: BNhXxMhJaZh

--HG--
extra : rebase_source : 6d3746d99d0d058716a58f1ed1f0349e09866758
extra : source : cb49a303f86d6446bf1ed87d6e022e72a2ba25c7
2016-03-23 16:39:56 -07: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
Wes Kocher b2731dca9e Backed out 3 changesets (bug 1254134) for build failures in LayerTreeInvalidation.cpp, entirely unrelated to the current CLOSED TREE
Backed out changeset 5a0d2c853e13 (bug 1254134)
Backed out changeset f650dd293a4b (bug 1254134)
Backed out changeset 3b6b646ea0e2 (bug 1254134)

MozReview-Commit-ID: 2iQvX8NsARG
2016-03-23 15:55:20 -07:00
Kartikaya Gupta 8fbae911a0 Bug 1254134 - Remove unused mask flag. r=mattwoodrow
MozReview-Commit-ID: BmUyzuxDg0M

--HG--
extra : rebase_source : ccdba6e1f761042c649fc05be16dca7f13e8859f
2016-03-23 11:05:42 -04:00
Kartikaya Gupta 004e0c734e Bug 1254134 - Use the full image size as the bounds for image layers during layer tree invalidation. r=mattwoodrow
MozReview-Commit-ID: DBF3H3I4rbS

--HG--
extra : rebase_source : 9fff4e9252027f354d6490d429085e11b0536212
2016-03-23 11:05:42 -04:00
Kartikaya Gupta e34c252409 Bug 1254134 - Add debugging logs to LayerTreeInvalidation.cpp. r=mattwoodrow
MozReview-Commit-ID: F6BBwjjx9eP

--HG--
extra : rebase_source : 46373d299558dac759f1840761565e50bfdb071f
2016-03-23 11:05:41 -04:00
Benoit Girard 11ac802e54 Bug 1248044 - Add PingPongRegion for faster region operations for 2x memory usage. r=jrmuizel
MozReview-Commit-ID: KiIGiQYN33u

--HG--
extra : rebase_source : a6f0ccb03957cc68b70a18792edd636cebfc6d14
2015-08-27 16:06:38 -04:00
Benoit Girard c4b31b9fa6 Bug 1258558 - Don't check extents for empty regions. r=jrmuizel
MozReview-Commit-ID: FEkiTr3azlV

--HG--
extra : rebase_source : 3cee0f7a404f3c9e4388b525229c3bb68c3f2df6
2016-03-23 14:38:30 -04:00
Lee Salzman 32d3d0666e Bug 1244754 - part 1 - backport zero-length gradient interval fix from Skia upstream. r=jrmuizel 2016-03-23 14:21:01 -04:00
Mason Chang 077e669bae Bug 1258778 - Purge the skia glyph cache when receiving a low memory notice. r=erahm 2016-03-23 11:17:02 -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
Benoit Girard fa154c75a0 Bug 1258481 - Add a RegionBuilder for accumulating rects. r=jrmuizel
MozReview-Commit-ID: 6tI81iqj44V

--HG--
extra : rebase_source : 01e51566b9177e186cad41f0b369b57d35a0637e
2016-03-23 11:54:39 -04:00
Sebastian Hengst ce91a84beb Backed out changeset 46866237f27b (bug 1256517) for bustage. r=bustage on a CLOSED TREE 2016-03-23 18:57:48 +01:00
Sebastian Hengst da9ecd031f Backed out changeset 8e5cb6d1d1a0 (bug 1256517) 2016-03-23 18:57:40 +01:00
Sebastian Hengst fa9288dc66 Backed out changeset 9d33171eb4e9 (bug 1256517) 2016-03-23 18:57:31 +01:00
Sebastian Hengst cb73369e3b Backed out changeset 27a8a01abf66 (bug 1256517) 2016-03-23 18:57:22 +01:00
David Anderson db2e8ee11d Block compositable updates from stale layers. (bug 1256517 part 4, r=mattwoodrow,nical) 2016-03-23 10:32:34 -07:00
David Anderson 08db4be559 Disable device access on textures created against stale layers. (bug 1256517 part 3, r=nical) 2016-03-23 10:32:21 -07:00
David Anderson 84a4a6737d Move compositable field out of individual compositable ops. (bug 1256517 part 2, r=mattwoodrow) 2016-03-23 10:30:47 -07:00
David Anderson bbce7ea366 Track whether or not remote layers have acknowledged compositor changes. (bug 1256517 part 1, r=mattwoodrow) 2016-03-23 10:30:36 -07:00
Carsten "Tomcat" Book 3b9ddbf3a9 Backed out changeset 5e60a574fcec (bug 1258481) for bustage on a CLOSED TREE 2016-03-23 16:53:24 +01:00
Carsten "Tomcat" Book 67557a3f7f Backed out changeset 8e7a8791854f (bug 1258481) 2016-03-23 16:52:02 +01:00
Edwin Flores 07e7c983a1 Bug 1244883 - Add Nightly-/Aurora-only crash for AsyncTransactionWaiter timeouts - r=nical 2016-03-23 15:39:57 +00: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
Benoit Girard 5ff652a2ac Bug 1258481 - Add a RegionBuilder for accumulating rects. r=jrmuizel
MozReview-Commit-ID: 6AO9q6Ru833

--HG--
extra : rebase_source : 64da769ea9d1f61a5ff191e39c3a8638ffc8cfe0
2016-03-21 16:22:37 -04:00
Nicolas Silva 2dde2bc93f Bug 1245813 - Fix a trivial inverted null check in TextureHostOGL.cpp. r=me 2016-03-23 15:31:21 +01:00
Paul Adenot aa767abfbb Bug 1245813 - Add a missing parenthesis on NS_SUCCEEDED, on a CLOSED TREE.
--HG--
extra : commitid : 4PlSXzo1ZVM
2016-03-23 12:48:41 +01:00
Nicolas Silva 9294c61389 Bug 1245813 - Make TextureHost bullet-proof against changing its compositor. r=dvander 2016-03-22 15:28:27 +01:00
Lee Salzman ca8c96a592 Bug 1252324 - add DrawTarget API for 3D transforms for use in layers. r=jrmuizel 2016-03-23 01:03:10 -04:00
Masayuki Nakano 8c8cbe0e4c Bug 1256589 part.5 Add DefaultPrevented() and DefaultPreventedByContent() to WidgetEvent r=smaug
MozReview-Commit-ID: 5q3QUPTf12Z

--HG--
extra : rebase_source : 83ed946b44910713a61c80bd21202aba9430dd2a
extra : source : 4eb2193814ab1958a65add0c8c307d07c646d61c
2016-03-22 16:47:52 +09:00
Jim Mathies 3089b942e0 Bug 1258440 - Don't attempt to hide plugin windows when switching trees if the previous remote layer tree didn't contain plugin windows. Fixes a tpaint regression. r=mconley
MozReview-Commit-ID: 7UDO4RxBRVF

--HG--
extra : rebase_source : ce3835c935a10a0b265e6f4b3930aaf1adb9aed5
2016-03-22 17:30:14 -05:00
Jim Mathies 8782966286 Bug 1241060 - Skip non-2d sibling layers when calculating plugin window clipping under e10s. r=mstange
MozReview-Commit-ID: 4R5h3DeIU0S

--HG--
extra : rebase_source : 9c3fe839afb77e200aaa8736646109675bdb7f3b
2016-03-21 09:52:21 -05:00
Jeff Muizelaar aacbe16708 Bug 1242668 - Hold more references. r=sotaro
--HG--
extra : rebase_source : bc808856afacc93eb472f6a18ca2b791c8bfe7f0
2016-02-25 17:26:10 -05:00
David Anderson f7210bb6ef Add a driver crash guard to D3D11 DXVA. (bug 1253666, r=mattwoodrow) 2016-03-22 18:45:28 -07:00
David Anderson f3dc22db8d Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
David Anderson d6945e4086 Rename PCompositor to PCompositorBridge. (bug 1258479 part 1, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/PCompositor.ipdl => gfx/layers/ipc/PCompositorBridge.ipdl
2016-03-22 14:07:08 -04:00
Markus Stange 04177e1aa2 Bug 1209100 - Back out bug 1165185 on inbound.
MozReview-Commit-ID: JqohyXNvjiU

--HG--
extra : rebase_source : c2165d279a6ca57a3439ebbfc081961369a42124
2016-03-21 16:16:52 -04:00
Sebastian Hengst 96f01a9a2b Backed out changeset f251bbc37cb0 (bug 1258168) for failing Reftest(R) 817019-1.html on Windows 8 x64. r=backout on a CLOSED TREE 2016-03-22 18:57:35 +01:00
Carsten "Tomcat" Book a946199796 Backed out changeset 38aa13f30b92 (bug 1245813) for bc7 crashes on a CLOSED TREE 2016-03-22 17:11:21 +01:00
Nicolas Silva 2b867d9c85 Bug 1245813 - Make TextureHost bullet-proof against changing its compositor. r=dvander 2016-03-22 15:28:27 +01:00
Bas Schouten 98ff52deba Bug 1258168: Push ClearType compatible clipping layers when the last pushed layer was marked as opaque. r=jrmuizel
MozReview-Commit-ID: IM1srXx7CfB

--HG--
extra : rebase_source : fc736599b8e44c34e22a78053dfa55ad47963d16
2016-03-20 19:51:46 +01:00
Lee Salzman fc0bd4af21 Bug 1256552 - fix int-to-float conversions in RadialGradientEffectD2D1. r=jrmuizel 2016-03-21 16:17:16 -04:00
Matt Woodrow b95fd6e721 Bug 1223736 - Part 3: Remove the distinction between 2d and 3d masks since it only adds complexity. r=Bas 2016-03-22 09:10:37 +13:00
Matt Woodrow 1f94409ed4 Bug 1223736 - Part 2: Draw masks in the correct coordinate space when doing 3d transforms in BasicCompositor. r=lsalzman 2016-03-22 09:09:07 +13:00
Matt Woodrow 4bbe4fd01d Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker 2016-03-22 09:06:58 +13:00
Jeff Gilbert 8393e592aa Bug 1256492 - Cast to proper width to avoid C4312 on VS2015; r=jrmuizel
MozReview-Commit-ID: GTwoVyCVwOc

--HG--
extra : rebase_source : 5e1879ae64cc4542dde6b8dadfd4df309ee9c917
extra : histedit_source : 0551819f17c764ad50df5b1ff918f6ec037f015c
2016-03-21 10:49:23 -07:00
Mason Chang 2251651f17 Bug 1239151. Increase skia font cache size to 10mb on non-android platforms. r=lsalzman 2016-03-21 09:08:34 -07:00
Nicolas Silva f06dc39683 Bug 1233743 - Remove the Mutex typedef from gfx/2d. r=vlad 2016-03-21 15:34:50 +01:00
Nicolas Silva 644321f6b6 Bug 1256693 - Refer to ClientIPCAllocator instead of ISurfaceAllocator where it makes sense. r=sotaro 2016-03-21 15:18:20 +01:00
Nicolas Silva bd7973ab2d Bug 1256693 - ISurfaceAllocator cleanup. r=sotaro 2016-03-17 14:58:58 +01:00
Jacek Caban 5c834c9219 Bug 1251431 - GCC compilation fixup. 2016-03-21 13:16:29 +01:00
Xidorn Quan a63e7b0b9b Bug 1257121 part 5 - Make nsDeviceContext::mFontCache a RefPtr. r=jfkthame
MozReview-Commit-ID: JaVobbNX9eS

--HG--
extra : rebase_source : 56e0fbf380ee1dd0f9b073477cbbb177673acb17
2016-03-17 18:10:03 +08:00
Xidorn Quan 60bcaa5c0b Bug 1257121 part 4 - Use return value rather than out param to return font metrics. r=jfkthame
MozReview-Commit-ID: 6xrHYbgHGVd

--HG--
extra : rebase_source : 4d0cea24689588d8a1daa1869502e31ac7c3dc56
2016-03-17 13:55:48 +08:00
Xidorn Quan 6236212d13 Bug 1257121 part 2 - Merge nsFontMetrics::Init to the constructor and remove unused failure handling code. r=jfkthame
MozReview-Commit-ID: 15ZzTGHStLd

--HG--
extra : rebase_source : bf2cb6d2e5f0a04b01a533915edfabf399fc00b7
2016-03-17 10:12:27 +08:00
Xidorn Quan f4ef02b391 Bug 1257121 part 1 - Use struct for passing some params of font metrics. r=jfkthame
MozReview-Commit-ID: FTJlYS3bbTa

--HG--
extra : rebase_source : f3df5f8ebe3f223abc62dc1ae1bf5f7830d63ab8
2016-03-21 11:59:36 +08:00
Jonathan Kew ebf32942b2 Bug 1238243 - Don't filter out Hangul jamo fillers as 'ignorable', because the font may require them to provide advance width. r=xidorn 2016-03-21 07:27:46 +00:00
David Anderson 5827fd8527 Make access to gfxWindowsPlatform D3D11 devices thread-safe. (bug 1258174, r=bas) 2016-03-21 00:14:05 -07:00
Matt Woodrow 41cff5119c Bug 1257013 - Part 2: Use readback to synchronize d3d11 video. r=cpearce,Bas
--HG--
extra : rebase_source : 252d183ea0c15f4326c25b4f84ae1c9b43237759
2016-03-21 18:49:59 +13:00
Matt Woodrow 49c3c58a6c Bug 1257013 - Part 1: Use readback to synchronize d3d9 video. r=cpearce,Bas
--HG--
extra : rebase_source : 104b692bb1f732ec86113506ebac8961ac8fb5b8
2016-03-21 18:49:43 +13:00
Lee Salzman d4eec00ff3 Bug 910138 - clean-up of arc math. r=me 2016-03-19 00:29:13 -04:00
Seth Fowler 56dbbf45cc Bug 1257315 (Part 2) - Release old visible regions info when new info is available or a layers ID is no longer used. r=botond 2016-03-18 18:38:57 -07:00
Seth Fowler d8b3579dd9 Bug 1257315 (Part 1) - Add a visualization of visibility tracking to the APZ minimap. r=botond,mattwoodrow 2016-03-18 18:38:57 -07:00
Wes Kocher d19c0a23f3 Backed out 2 changesets (bug 1223736) for reftest failures in mask-layer-transform.html CLOSED TREE
Backed out changeset 1982db677df6 (bug 1223736)
Backed out changeset 5813dbb50356 (bug 1223736)

MozReview-Commit-ID: HrnSIGPovea
2016-03-18 16:44:09 -07:00
Lee Salzman 7f2b998fc6 Bug 1257939 - initialize BGRX alpha channel to opaque when clearing and ignore uninitialized alpha in texture clients. r=mchang 2016-03-18 16:58:55 -04:00
Matt Woodrow 5dde20a3f8 Bug 1223736 - Part 2: Apply mask in correct coordinate space when drawing with 3d transforms with BasicCompositor. r=lsalzman 2016-03-18 18:45:50 +13:00
Matt Woodrow 793fb1224d Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker 2016-03-18 18:45:13 +13:00
Ryan VanderMeulen e093d8dae2 Revert bug 1252630 because it proved to be way more hassle than it's worth. 2016-03-18 14:21:12 -04:00
Nicolas Silva b6487df277 Bug 1256045 - Add a null-check in BufferTextureHost::EnsureWrappingTextureSource. r=jnicol 2016-03-18 16:16:06 +01:00
Bas Schouten 1225ab11b5 Bug 1251431 - Part 1: Allow usage of an A8 source pattern to MaskSurface for D2D 1.1 Moz2D backend. r=jwatt
MozReview-Commit-ID: 3SOuVvklajf
2016-03-18 14:47:11 +01:00
Masatoshi Kimura 71ab75cd8c Bug 1257517 - Restore accidentally-removed zero check for non-default UVS offset. r=jfkthame 2016-03-18 21:43:39 +09:00
Masatoshi Kimura 66f8a469ef Bug 1255973 - Remove redundant overrides from gfxPlatform subclasses. r=jfkthame 2016-03-18 21:43:38 +09:00
Bob Owen 06e48326dd Bug 1257124: Add null check for IDWriteFactory in gfxDWriteFontFileLoader::CreateCustomFontFile. r=bas 2016-03-18 09:53:31 +00:00
Carsten "Tomcat" Book df1c1cc556 Backed out changeset ceb8532131fb (bug 1223736) for reftest failures
--HG--
extra : rebase_source : 9c5aaf093345f7bfff7f305ceabcd5f04a237da4
2016-03-18 09:58:39 +01:00
Carsten "Tomcat" Book b8b88ab9fb Backed out changeset 2b7b7ea014d8 (bug 1223736)
--HG--
extra : rebase_source : 39d8455a2a72359cedd605839233f9619aac241e
2016-03-18 09:58:21 +01:00
Matt Woodrow 0ae5f6fcf2 Bug 1223736 - Part 2: Apply mask in correct coordinate space when drawing with 3d transforms with BasicCompositor. r=lsalzman 2016-03-18 18:45:50 +13:00
Matt Woodrow 66a2278a0a Bug 1223736 - Part 1: Set correct effective transform on mask layers. r=thinker 2016-03-18 18:45:13 +13:00
Wes Kocher 733e78634f Backed out changeset 93f4eafb8beb (bug 1256693) for media mochitest leaks CLOSED TREE
MozReview-Commit-ID: 1K6kSNA28N9
2016-03-17 15:42:54 -07:00
Wes Kocher 85732789fb Backed out changeset 7a74257343be (bug 1256693) for media mochitest leaks CLOSED TREE
MozReview-Commit-ID: Em8nObLSj9r
2016-03-17 15:42:51 -07:00
Wes Kocher 4555ef21a3 Backed out changeset 1e6a9b36ed35 (bug 1256045) for media mochitest leaks CLOSED TREE
MozReview-Commit-ID: FrILd3iK5U0
2016-03-17 15:42:46 -07:00
Matt Woodrow dbe7f4888a Bug 1250718 - Don't flatten opacity to an intermediate surface when used in the middle of preserve-3d. r=thinker
--HG--
extra : rebase_source : 867bab1b5369c88db3a845478f73d3a58845938c
2016-03-18 09:23:51 +13:00
Matt Woodrow 8d2b64d662 Bug 1250718 - Improve layer logging for preserve-3d layers. r=thinker
--HG--
extra : rebase_source : 7405e30e0081bfa1b249ff6bd4f7bfd713110815
2016-03-18 09:18:10 +13:00
Geoff Brown 29977660c0 Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher 2016-03-17 10:00:48 -06:00
Geoff Brown fd1e09d12b Bug 1251013 - Update AndroidVersion annotations in test manifests - reftests; r=jmaher 2016-03-17 10:00:47 -06:00
Jonathan Kew 1427aba92b Bug 1255158 - Update graphite2 library to release 1.3.7. r=jdaggett 2016-03-15 07:53:04 +00:00
Randall Barker f54f690d1c Bug 1257264 - When apz.allow_immediate_handoff=false, APZ handoff should not occur when panning changes direction r=botond 2016-03-17 07:11:14 -07:00
Nicolas Silva 57668786d8 Bug 1256045 - Add a null-check in BufferTextureHost::EnsureWrappingTextureSource. r=jnicol 2016-03-17 14:59:12 +01:00
Nicolas Silva 68485a1f8e Bug 1256693 - Refer to ClientIPCAllocator instead of ISurfaceAllocator where it makes sense. r=sotaro 2016-03-17 14:59:06 +01:00
Nicolas Silva 3d48952156 Bug 1256693 - ISurfaceAllocator cleanup. r=sotaro 2016-03-17 14:58:58 +01:00
Edwin Flores 1489b58a2c Bug 1253386 - Double buffer in CanvasClient2D - r=nical 2016-03-17 11:11:18 +00:00
Jacek Caban 3f3c52a095 Bug 1246756 - Cross compilation fixup. r=upstream 2016-03-17 10:40:07 +01:00
Ethan Lin 766d50b78f Bug 910138 - Part 1. Add support for new canvas ellipse method. r=roc, r=smaug 2016-03-15 00:53:00 +01:00
peter chang 2de380f3ba Bug 1254447 - Don't always check UseAcceleratedCanvas when calling GetSkiaGLGlue, r=jrmuizel
MozReview-Commit-ID: 95GY5aGJGK1

--HG--
extra : rebase_source : a6284141f313f62769fdf809f21cb928d7e6df6c
2016-03-16 12:09:17 +08:00
Sotaro Ikeda 0a065a8dfa Bug 1245552 - Align MaskLayer surface to 4 r=mattwoodrow 2016-03-16 18:54:38 -07:00
Sotaro Ikeda 47242038f0 Bug 1255303 - Use SurfaceFormat::B8G8R8X8 as back buffer if possible r=jrmuizel 2016-03-16 18:30:41 -07:00
Kartikaya Gupta f5fed1a234 Bug 1256341 - Guard against scenarios where GenerateSingleTap is called without an active touch block. r=botond
MozReview-Commit-ID: 8nnj9IlwIuL
2016-03-16 17:58:37 -04:00
Kartikaya Gupta e500e5d2b9 Bug 1256341 - Add a gtest to catch scenarios where a tap timeout is interrupted by a non-touch block. r=botond
MozReview-Commit-ID: 5kyb6VOxWU1
2016-03-16 17:58:37 -04:00
Kartikaya Gupta 4317d4d96b Bug 1256344 - If a long-press is interrupted by a non-touch block, don't dispatch the long-press event. r=botond
MozReview-Commit-ID: 7SqA1nIlJYz
2016-03-16 17:58:37 -04:00
Kartikaya Gupta 085bd0c97f Bug 1256344 - Add a gtest to catch scenarios where the long-press block is interrupted by a non-touch block. r=botond
MozReview-Commit-ID: C7K7W9r15qu
2016-03-16 17:58:37 -04:00
Mike Hommey 0a771514a8 Bug 1256988 - Replace tests on MOZ_WIDGET_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
But only do that for the AC_SUBST. The AC_DEFINE is still useful.
2016-03-17 06:49:44 +09:00
Mike Hommey f5e10530d9 Bug 1256988 - Fix #endif comments for MOZ_WIDGET_GTK. r=chmanchester 2016-03-17 06:49:44 +09:00
Benoit Girard dec95787f8 Bug 1256408 - Add graphics microbenchmarking. r=mstange
MozReview-Commit-ID: H4IRZuLy7do

--HG--
extra : rebase_source : 8eed4669b59496370dbc47d32e2696de60ea43f2
2016-03-16 14:20:33 -04:00
Botond Ballo 7d02dd23e3 Bug 1247964 - Allow InputBlockState::SetScrolledApzc to accept new APZC when it is an ancestor of the current APZC r=kats 2016-03-16 09:22:43 -07:00
Carsten "Tomcat" Book aa560b9071 Backed out changeset 6dbf14f1dc41 (bug 1255158) for reftest failures 2016-03-16 10:33:58 +01:00
Nicholas Nethercote a2f068b2ad Bug 1253085 - Remove the |PLDHashTable*| argument from PLDHash{HashKey,MatchEntry}. r=froydnj.
This is easy because it's never needed.

--HG--
extra : rebase_source : 78830dab41c40a1544fa55fc69ca9c1c6709d767
2016-03-16 15:33:44 +11:00
Jonathan Kew 749cca67a9 Bug 1255158 - Update graphite2 library to release 1.3.7. r=jdaggett 2016-03-16 08:05:56 +00:00
Jeff Muizelaar c848b98d3e Bug 1251375. Update to ANGLE/2653 2016-03-15 17:28:40 -07:00
Wes Kocher bb35aa5eb1 Backed out changeset 857617eac45b (bug 1251375) for breaking test_EXT_disjoint_timer_query.html on Windows mochitest-gl tests
MozReview-Commit-ID: 5pcNBxk4JO5
2016-03-15 17:14:13 -07:00
Nicholas Nethercote 50399fa6c3 Bug 1255655 - Const-ify sExtensionNames. r=mattwoodrow.
--HG--
extra : rebase_source : 701319b65fce70b62535248b9c33dd6357320abf
2016-03-11 13:52:13 +11:00
Nicholas Nethercote 5e3e083956 Bug 1255655 - Const-ify kCoefficientRgbY. r=jrmuizel.
This allows it to be shared between processes.

--HG--
extra : rebase_source : 4a2026ae4b9335bae4d018d6a3f0af40cae3dc15
2016-03-11 13:00:06 +11:00
David Anderson e237475f95 Disable the WebGL crash guard on Android. (bug 1256371, r=snorp) 2016-03-15 13:24:22 -04:00
Jeff Muizelaar c03e235186 Bug 1256498. Explicitly convert to float. r=bas 2016-03-15 12:16:19 -07:00
Jeff Muizelaar 745acee9fd Bug 1251375. Update to ANGLE/2653 2016-03-15 12:02:47 -07:00
Matt Woodrow 60b2f060b1 Bug 1236112 - Block on d3d9 video frames to complete before returning them from the decoder. r=cpearce 2016-03-09 10:34:49 +13:00
Timothy Nikkel 5263f50634 Bug 1251150. Add crash annotations if image visibility is re-entering. r=mats 2016-03-14 22:59:02 -05:00
Sotaro Ikeda 7daa3d77fc Bug 1251523 - Remove TextureFlags::DEALLOCATE_CLIENT from AndroidSurfaceTextureData r=nical 2016-03-14 18:51:21 -07:00
Mike Hommey d464f29e5f Bug 1255813 - Remove build system support for Solaris, HPUX and AIX. r=ted 2016-03-15 07:34:50 +09:00
Gregory Szorc 8106c0dae9 Bug 1242005 - Disable C4359 to allow compilation on VS2015; r=kip
The proper fix is to fix the underlying problem. However, I haven't
touched C++ in months and I'm lazy. So I'm going for the quick fix
so Visual Studio 2015 rollout is unblocked.

MozReview-Commit-ID: 14cZCGPkx0V

--HG--
extra : rebase_source : 91ec0d461e4e14e1fa3b641b3ca7f169e0901b11
extra : source : 9e5f9917fe1a7bef9585966959d516636d7ee6ac
2016-03-14 14:11:40 -07:00
David Anderson f18e55de2f Regenerate SyncObjects on device resets. (bug 1255711, r=bas) 2016-03-14 12:55:47 -07:00
Kartikaya Gupta 4b7ef956c7 Bug 1255997 - Account for scrollbar dimensions when testing the size of the displayport. r=botond
MozReview-Commit-ID: 8SrIfA8xuqq
2016-03-14 14:07:16 -04:00
Benoit Girard a08807e27f Bug 1242609 - Use PeekMessages to get the most recent DisplayPort request. r=kats
MozReview-Commit-ID: K5PTxUqU9E6

--HG--
extra : rebase_source : 6d9e35b27e2fd37c1df513dd856b48c181f3150f
2016-03-14 11:50:55 -04:00
Jamie Nicol b53bc9fd1c Bug 1255448 - Call ClientMultiTiledLayerBuffer::PaintThebes even when region to paint is empty. r=mattwoodrow
Remove early return for empty invalid regions from
ClientTiledPaintedLayer::RenderHighPrecision so that
ClientMultiTiledLayerBuffer::PaintThebes is called even when the region
to paint is empty. This ensures that the tile buffer will free unused
tiles in cases where no new painting is required but the valid region
has shrunk.

Add replacement early returns into ClientMultiTiledLayerBuffer to avoid
as much needless work as possible while still recalculating which tiles
are valid.

MozReview-Commit-ID: C86Pi7lRjjs

--HG--
extra : transplant_source : %F0%96H%DAn4%FE%A6%3EPf%B7%AF3%95%D6%F9o%D9/
2016-03-10 15:01:15 +00:00
Benoit Girard 4af2ba2a93 Bug 1255907 - Fix unification build issues in APZ & Layers. r=kats
MozReview-Commit-ID: 4tUYEJRgpUF

--HG--
extra : rebase_source : 8c0f99bca01886f0cee802f8490b2a9ff9572eaa
2016-03-14 11:39:12 -04:00
Sotaro Ikeda 8e434d1c10 Bug 1255320 - Create DrawTarget with DIB as similar DrawTarget r=jrmuizel 2016-03-13 19:46:23 -07:00
Benoit Girard 52f227c58b Bug 1253678 - Rename mozilla::Function to mozilla::function. r=froydnj
MozReview-Commit-ID: 60RPmEsYDN2

--HG--
extra : rebase_source : 9d0bebc7362af2778d123425c56ac20553d9303b
2016-03-11 16:49:13 -05:00
Kartikaya Gupta 491551f10e Bug 1255705 - Generalize the NotifyLayersUpdated short-circuit codepath to trigger on empty transactions as well. r=botond
MozReview-Commit-ID: KfNjyAIdtE1
2016-03-11 17:42:50 -05:00
Mike Hommey 188ea9bab3 Bug 1245076 - Include cmath instead of math.h in Collider.cpp. r=jfkthame
The combination of math.h being included and unified sources made abs()
in UtfCodec.h mean something different, failing the build with
libstdc++6 headers.
2016-03-11 17:33:11 +09:00
Jeff Gilbert 3bdc12a666 Bug 1255224 - Add pref to force glFinish in DXGL path. (default:false) - r=dvander 2016-03-10 13:17:46 -08:00
Jeff Muizelaar 9dcdc9ab75 Bug 1255281. Add pixman fast path for bilinear x888_8888_SRC. r=lsalzman
This avoids falling back to a slow path when doing x8888 -> 8888 scales. It is basically just cherrypicked from upstream.
2016-03-11 08:23:48 +08:00
Kartikaya Gupta 6c01d2a7c5 Bug 1242690 - Don't apply the main-thread callback transform for events in a drag block. r=rbarker
MozReview-Commit-ID: 9C471AJaKjt
2016-03-10 18:25:49 -05:00
Kartikaya Gupta 3852f2d195 Bug 1242690 - Further refine the mouse event untransformation code to only apply to events directed at a scrollbar. r=rbarker
MozReview-Commit-ID: X0ShAKCUPN
2016-03-10 18:25:49 -05:00
Kartikaya Gupta 61f96e502c Bug 1242690 - Add untransforming of mouse events not in a drag block. r=rbarker
MozReview-Commit-ID: 9eELcg7qrq1
2016-03-10 18:25:49 -05:00
Kartikaya Gupta 87e0de1f0a Bug 1242690 - If a drag block is interrupted by something else, have it create a new drag block when it resumes. r=rbarker
MozReview-Commit-ID: K06S3X5XEej
2016-03-10 18:25:49 -05:00
Kartikaya Gupta 8792f6fbea Bug 1242690 - Ensure that mouse events have the callback transform applied. r=botond
MozReview-Commit-ID: 9V7xXPT8WHk
2016-03-10 18:25:48 -05:00
Markus Stange af194f29fe Bug 1251894 - In CompositorD3D11::CreateTexture, copy as much as the render target allows. r=bas
MozReview-Commit-ID: KK5wu3T4tLE

--HG--
extra : rebase_source : 2d0b144510b286b8c2010954ea5f8738744108ad
2016-03-10 16:03:24 -05:00
Lee Salzman 04fb5babb0 Bug 1241161 - make Matrix4x4::ProjectTo2D normalize out perpective where possible. r=mattwoodrow 2016-03-10 16:10:04 -05:00
Daisuke Akatsuka cb51780a6e Bug 1237173 - Part2: Change type of duration to Maybe<StickyTimeDuration>. r=birtles 2016-03-09 14:14:20 +09:00
Lee Salzman be17bb1d42 Bug 1248224 - backport of Skia GrPathUtils::QuadUVMatrix assertion fix. r=jrmuizel 2016-03-10 00:23:38 -05:00
Kartikaya Gupta 0415065a38 Bug 1253860 - Add a flag on scroll frames indicating if they have an APZ counterpart. r=mstange
MozReview-Commit-ID: EEmdmjrbG3O
2016-03-09 22:57:14 -05:00
Kartikaya Gupta 73a7b93fd0 Bug 1253860 - Add machinery to update APZ's scroll offset without a main-thread paint. r=botond
MozReview-Commit-ID: Chy40f6VNIQ
2016-03-09 22:57:14 -05:00
Kartikaya Gupta 419b25a231 Bug 1253860 - Stop APZC from reprocessing stale metrics on unrelated layer tree updates. r=botond
MozReview-Commit-ID: 5JM83cngdVy
2016-03-09 22:57:14 -05:00
Bas Schouten 41adef94fb Bug 1251778 - Followup: Remove unreferenced local variable. r=bustage 2016-03-10 03:26:15 +00:00
Bas Schouten 8a205e06fb Bug 1251778: Attempt to avoid presenting when the window is still resizing. r=jrmuizel 2016-03-10 03:12:55 +00:00
Kartikaya Gupta 6b0ece7075 Bug 1255054 - Try to do a repaint of the unsuppressed displayport after displayport suppression has ended. r=BenWa
MozReview-Commit-ID: 7JN4PHEEjUT
2016-03-09 16:56:54 -05:00
Wes Kocher 9a43697d65 Backed out changeset 6358a64e4f15 (bug 1236112) for windows video wpt failures
MozReview-Commit-ID: 6tovOHlvyak
2016-03-08 16:23:04 -08:00
Mason Chang ac058cacc5 Bug 1230366. Render CG font with black on white on skia. r=lsalzman 2016-03-08 08:27:25 -08:00
Randall Barker 24f338ba5d Bug 1254252 - Have Axis::ClampOriginToScrollableRect just return the original value if it falls with in the page bounds. r=kats 2016-03-08 14:10:35 -08:00
Randall Barker 565a35d4d5 Bug 1250213 - Ensure the scroll offset does not go outside the page bounds when going full screen r=kats 2016-03-08 14:10:35 -08:00
Matt Woodrow bfae8352c6 Bug 1236112 - Block on d3d9 video frames to complete before returning them from the decoder. r=cpearce 2016-03-09 10:34:49 +13:00
Kartikaya Gupta 5fb7494ea2 Bug 1252875 - Flush paints before running the test body in test_scroll_subframe_scrollbar.html. r=me
r=me because we've fixed this issue in multiple tests in exactly the same way.

MozReview-Commit-ID: 5NxTNaq6SYa
2016-03-08 14:33:52 -05:00