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

24037 Коммитов

Автор SHA1 Сообщение Дата
Phil Ringnalda 435a27119b Merge m-c to m-i
MozReview-Commit-ID: 8nqgw9Q3gSY
2016-10-25 22:07:07 -07:00
Phil Ringnalda 8cf1367dd8 Merge m-i to m-c, a=merge
MozReview-Commit-ID: FnnOWQ3xKPi
2016-10-25 22:03:31 -07:00
David Anderson d0a9a85fba Don't query gfxPlatform for the vsync rate in CompositorBridgeParent. (bug 1312835, r=mattwoodrow)
--HG--
extra : rebase_source : 152bb6f146dc452d239fa7a90fcdcda3311d52de
2016-10-25 16:25:52 -07:00
David Anderson 0017f30b66 Don't create remote D3D11 devices when remote presentation is broken. (bug 1310443, r=rhunt) 2016-10-25 18:42:20 -07:00
David Anderson 20b34a53e8 Don't use gfxPlatform for creating temporary surfaces in the BasicCompositor. (bug 1311770, r=mattwoodrow) 2016-10-25 18:23:03 -07:00
Sebastian Hengst c9414e0688 Backed out changeset 95e09163347a (bug 1312606) for build bustage. r=backout on a CLOSED TREE 2016-10-25 20:24:03 +02:00
Ryan Hunt 0bbc03d938 Bug 1312606 - Use live pref values when syncing gfxPrefs to the GPU process r=dvander 2016-10-25 13:10:20 -05:00
Lee Salzman a7e455026a Bug 1299435 - part 4 - update Skia source to m55. r=mchang
MozReview-Commit-ID: 8TA6Lovdc28

--HG--
rename : gfx/skia/skia/src/animator/SkCondensedDebug.cpp => gfx/skia/skia/src/animator/SkCondensedDebug.inc
rename : gfx/skia/skia/src/animator/SkCondensedRelease.cpp => gfx/skia/skia/src/animator/SkCondensedRelease.inc
2016-10-24 22:41:34 -04:00
Lee Salzman 926f3f5746 Bug 1299435 - part 2 - fix Moz2d for Skia m55 update. r=mchang
MozReview-Commit-ID: 8jRzOaS5vqy
2016-10-24 22:40:59 -04:00
Lee Salzman 5baede4297 Bug 1299435 - part 1 - fix Skia moz.build for Skia m55 update. r=mchang
MozReview-Commit-ID: IFyQJUElomB
2016-10-24 22:40:40 -04:00
Sotaro Ikeda a514bb26e8 Bug 1310405 - Set DXGIYCbCrTexture YUVColorSpace to BT601 r=mattwoodrow 2016-10-24 18:17:39 -07:00
Wes Kocher 951194ee45 Backed out 6 changesets (bug 1299435) for windows reftest failures a=backout
Backed out changeset 0d587a1cab8f (bug 1299435)
Backed out changeset 3ab9d3cb13aa (bug 1299435)
Backed out changeset 1ed742f88f49 (bug 1299435)
Backed out changeset 51ad497c7ac2 (bug 1299435)
Backed out changeset 06ca6acef0a2 (bug 1299435)
Backed out changeset ebd4625e101a (bug 1299435)

--HG--
rename : gfx/skia/skia/src/animator/SkCondensedDebug.inc => gfx/skia/skia/src/animator/SkCondensedDebug.cpp
rename : gfx/skia/skia/src/animator/SkCondensedRelease.inc => gfx/skia/skia/src/animator/SkCondensedRelease.cpp
2016-10-24 16:45:46 -07:00
Lee Salzman 97e509997e Bug 1299435 - part 4 - update Skia source to m55. r=mchang
MozReview-Commit-ID: 8TA6Lovdc28

--HG--
rename : gfx/skia/skia/src/animator/SkCondensedDebug.cpp => gfx/skia/skia/src/animator/SkCondensedDebug.inc
rename : gfx/skia/skia/src/animator/SkCondensedRelease.cpp => gfx/skia/skia/src/animator/SkCondensedRelease.inc
2016-10-24 15:22:26 -04:00
Lee Salzman ab9cf08d5a Bug 1299435 - part 2 - fix Moz2d for Skia m55 update. r=mchang
MozReview-Commit-ID: 8jRzOaS5vqy
2016-10-24 15:22:20 -04:00
Lee Salzman d3d6a89296 Bug 1299435 - part 1 - fix Skia moz.build for Skia m55 update. r=mchang
MozReview-Commit-ID: IFyQJUElomB
2016-10-24 15:22:16 -04:00
Kartikaya Gupta 3af5c36a88 Bug 1312059 - Stop passing the CompositorBridgeParent into the APZCTreeManager; instead the necessary subinterfaces can be obtained via the LayerTreeState. r=botond
MozReview-Commit-ID: 3N8vC3l3jfV
2016-10-24 15:12:57 -04:00
Kartikaya Gupta 98051ec8f2 Bug 1312059 - Extract a MetricsSharingController interface for the APZC code to use when dealing with shared frame metrics. r=botond
MozReview-Commit-ID: 9b2Vfamr1XT
2016-10-24 15:12:55 -04:00
Kartikaya Gupta dbedac3125 Bug 1312059 - Extract a CompositorController interface for the APZ code to request composites and do other compositor-related things. r=botond
MozReview-Commit-ID: Ja9NGu2oWPN
2016-10-24 15:12:53 -04:00
Kartikaya Gupta a5b8dc0091 Bug 1219296 - Followup to fix stale code comments. r=me and DONTBUILD
MozReview-Commit-ID: 65hNR0nUQP
2016-10-24 13:07:01 -04:00
Edwin Flores 5dc1ef0755 Bug 925645 - Turn SharedSurface::mGL into a WeakPtr<> - r=jgilbert 2016-10-24 16:35:31 +01:00
David Anderson 75f2e81dae Fix assert deallocating shmems on GPU process restart. (bug 1311715, r=mattwoodrow) 2016-10-24 01:05:23 -07:00
GuanWen-Chen b8e5996416 Bug 1292273 - Add logs to record the failure of compositor creation. r=dvander 2016-10-22 20:28:00 -04:00
GuanWen-Chen 9c8aa23da3 Bug 1292273 - Skip CompositorD3D11::EndFrame when device-removed happened and add some logs for tracking the behavior. r=dvander 2016-10-22 20:27:00 -04:00
Ryan VanderMeulen a57d15ff6a Merge inbound to m-c. a=merge 2016-10-23 13:16:27 -04:00
Ryan VanderMeulen 23a915d778 Merge m-c to autoland on a CLOSED TREE. a=merge 2016-10-21 17:15:38 -04:00
Ryan VanderMeulen 5c4d7020f2 Merge m-c to inbound. a=merge 2016-10-21 11:08:45 -04:00
dmu@mozilla.com 86b791fca4 Bug 1311587 - Make sure OpenVR is installed before handling user inputs; r=kip
--HG--
extra : rebase_source : 8232206feaeedf278279edbdc2af4cd2291b5fb6
2016-10-20 04:01:04 +00:00
Daosheng Mu 4a7f6008a3 Bug 1299929 - Part 3: Handle VRController button inputs; r=kip
MozReview-Commit-ID: DxI0dcc4uET

--HG--
extra : rebase_source : 5214f4457fadffb9e4a81c9bb986393125a30c33
2016-10-13 14:35:13 +08:00
Daosheng Mu b0de77c7b1 Bug 1299929 - Part 2: Add extra info for VRController; r=kip
MozReview-Commit-ID: 5y8X5ZPnsHb

--HG--
extra : rebase_source : 1dd7503c2b59af17f287837ba6005207369b6aca
2016-10-13 14:30:26 +08:00
Daosheng Mu 3670ffdaad Bug 1299929 - Part 1: Send GamepadServiceType in the the button and axis events; r=kip
MozReview-Commit-ID: AmrTpNFgkVj

--HG--
extra : rebase_source : c187592f9071fef94e8059ffdeab891c8432a397
2016-10-14 17:39:51 +08:00
Boris Chiou 5e9077980f Bug 1272549 - Part 7: Compute distance for matrix and matrix3d. r=birtles
Decompose the 2d/3d matrix and calculate the Euclidean distance of
translate, scale, skew, quaternion, and perspective vectors.

MozReview-Commit-ID: 5nX9EeqvZi9

--HG--
extra : rebase_source : a15f2e4350e5c097eee8856a76244a81d589427a
2016-10-04 18:32:20 +08:00
Boris Chiou 9f7759999b Bug 1272549 - Part 3: Implement rotate3d with different direction axis. r=derf
Use quaternion vectors to calculate the distance of two rotate3d
functions.

MozReview-Commit-ID: LizbvRqzcuh

--HG--
extra : rebase_source : 6b852d1f66ba7d79708156119db63683900120fb
2016-10-11 15:15:22 +08:00
Jamie Nicol 18f5f7db34 Bug 1311642 - Do partial texture uploads on mobile. r=nical
We were always uploading the entire texture region, but still by using
glTexSubImage2D. In most cases it should be quicker to use
glTexSubImage2D on the updated region only. And where that function has
problems we should avoid it by making CanUploadSubTextures return false
so that glTexImage2D is used instead.

MozReview-Commit-ID: BrobWEPJ82M

--HG--
extra : rebase_source : 986642a1d7bfe2bcb0cc12dc8e41c17ac77abc1d
2016-10-20 18:24:12 +01:00
Jamie Nicol b1411a66d2 Bug 1311642 - Give GLUploadHelpers some love. r=nical
GLUploadHelpers was trying to be too flexible, so remove some unused
options it provided. Require that the full surface and texture size is
passed in rather than only the updated subregion. This prevents textures
being initialized to an incorrect size when partial texture uploads are
disallowed.

MozReview-Commit-ID: 288ERE9ten5

--HG--
extra : rebase_source : f4415fcec15bd2a7ca9300ffcf26439b96a72438
2016-10-21 13:27:41 +01:00
Jamie Nicol 9a0a722f7b Bug 1311642 - Remove BeginUpdate and EndUpdate from GLTextureImage. r=nical
Only DirectUpdate was actually being used, so remove the dead
code. TextureImageCGL does't do anything over BasicTextureImage any more
so remove it too.

MozReview-Commit-ID: D7jpC9M7aTT

--HG--
extra : rebase_source : 7846439aa5cb320704b8f811f3203fe7fd31c51e
2016-10-20 17:11:00 +01:00
Carsten "Tomcat" Book c71c756c29 Merge mozilla-central to autoland 2016-10-25 10:49:11 +02:00
Daosheng Mu cdee94bb39 Bug 1299930 - Support OpenVR controller trackpads via Gamepad API; r=kip
MozReview-Commit-ID: 41C0rc7fZTi

--HG--
extra : rebase_source : 406409b3f035134f7dab7eddb75905618ba0256d
2016-10-22 00:01:26 +08:00
Jamie Nicol c48d788bf3 Bug 1290149 - Copy intersecting region from old frontbuffer to new backbuffer when single tile layer visible region changes; r=mstange
MozReview-Commit-ID: 96AhbNyw6pg

--HG--
extra : rebase_source : 587e7af3a800224c0017cb5bab32dd44d1c2675e
2016-08-18 22:50:48 +01:00
KuoE0 685b64a883 Bug 1282003 - (Part 3) Add screen ID to nsWindow and GeckoView to get the correct nsScreen and density. r=snorp
MozReview-Commit-ID: Cd9MS2I1RRQ

--HG--
extra : rebase_source : 3e557dc9bb3836cee6ecb86ddeb3c9647221195c
2016-09-29 14:23:56 +08:00
Phil Ringnalda d639192034 Merge m-c to autoland 2016-10-19 18:36:48 -07:00
Phil Ringnalda 7fd865b93f Merge autoland to m-c, a=merge
MozReview-Commit-ID: 3nuTAHtJkkD
2016-10-19 18:25:54 -07:00
Kartikaya Gupta 25d2167134 Bug 1310237 - Change skip-if(!asyncZoom) tests to skip-if(!Android) with zooming enabled. Also update the fuzziness checks to match current Android reftest results. r=tnikkel
MozReview-Commit-ID: 5gcBgzyOq7b

--HG--
extra : rebase_source : 76de7392dc0c38398a8536db2591e0cb699ccebf
2016-10-19 16:16:07 -04:00
Kartikaya Gupta 651003e3a6 Bug 1311406 - Make sure the touchstart event isn't so close to the left edge of the screen, or it triggers Windows 8 edge gesture detection code which hangs the test. r=botond
MozReview-Commit-ID: HVP2iA07Pdg

--HG--
extra : rebase_source : 4df3ff349b7c980f43c1a1ed314bb44654966c5b
2016-10-19 10:53:48 -04:00
Mason Chang cd84eadb22 Bug 1258751: Delete the CoreGraphics backend. r=mstange 2016-10-18 23:22:44 -04:00
Phil Ringnalda 8377010e6a Merge m-c to m-i
MozReview-Commit-ID: Ihd0iacfcIW

--HG--
rename : devtools/.eslintrc => devtools/.eslintrc.js
2016-10-18 19:45:02 -07:00
Kartikaya Gupta d9a7400119 Bug 1311030 - Remove more code unused since the deletion of JPZ. r=snorp
MozReview-Commit-ID: 1p8aWShTrQf

--HG--
extra : rebase_source : 49d83e86dc9c2b38c7486a04bd7e830d165c34db
2016-10-18 12:34:25 -04:00
Andi-Bogdan Postelnicu eb9c8d0c77 Bug 1310627 - modify CreateForYCbCrWithBufferSize in order to accept nullable aAllocator. r=mattwoodrow
MozReview-Commit-ID: KIIX9n7rKaR

--HG--
extra : rebase_source : f47c7d1d853b42fa0bcbf17603d8239be40c2637
2016-10-17 14:54:52 +03:00
Nathan Froyd d1108c1e52 Bug 1311068 - remove InitializerList.h; r=botond
We needed this polyfill for <initializer_list> when some of our C++
standard libraries did not support said header.  They all do now, so the
polyfill is redundant.
2016-10-19 00:33:14 -04:00
Lee Salzman 23d29e987a Bug 1308316 - ensure Skia disables hinting if Fontconfig disables it. r=jrmuizel
MozReview-Commit-ID: KGQfXQ82qfJ
2016-10-21 22:26:20 -04:00
Ryan Hunt 817ba6ad01 Bug 1311860 - Dispatch CheckerboardFlushObserver creation to main thread. r=kats
MozReview-Commit-ID: Kuv2XS4XEUE
2016-10-20 15:43:00 -04:00
Ethan Lin f8f2b11516 Bug 1310897 - Use ShadowLayerForwarder::IPCOpen() to replace other mShadowManager checks in ShadowLayerForwarder. r=nical 2016-10-17 20:35:00 -04:00
Ethan Lin 333fbb906d Bug 1298576 - Check int value to prevent EXC_ARITHMETIC error. r=jgilbert
--HG--
extra : rebase_source : 24e4ccb3615896b9f97aaa45b1833a9fc679393a
2016-10-20 15:05:08 +08:00
Sotaro Ikeda 5a134d6b42 Bug 1210357 - Handle VP9 colorspace BT.709 r=mattwoodrow,bas.schouten 2016-10-18 10:09:00 -07:00
Carsten "Tomcat" Book 9187572fe4 Backed out changeset c1559b3712f2 (bug 1309988) for causing merge conflicts with m-c/autoland
--HG--
extra : rebase_source : e747785b847c7016340f17eccea36eaa43b1aa84
2016-10-21 16:59:13 +02:00
Kartikaya Gupta e28b1d8cbb Bug 1305969 - Ensure we don't clear the paint sync id unless it has actually been sent to Java via SyncViewportInfo. r=rbarker
MozReview-Commit-ID: FXy6xeWjqHq

--HG--
extra : rebase_source : 8887d1c7b99c8449c545023047b2ccc392977366
2016-10-15 09:02:50 -04:00
Daosheng Mu a11c74d154 Bug 1299928 - Part 6: Making GamepadManager is only run at the same process at VRMangerChild; r=kip
MozReview-Commit-ID: HrPHptVNgtq

--HG--
extra : rebase_source : 0b2dab59cbbc23a6cec07a386589cc20f1135fa5
2016-10-11 10:45:25 +08:00
Daosheng Mu 1c5ae68a31 Bug 1299928 - Part 5: Handle gamepad events in Vsync time; r=kip
MozReview-Commit-ID: Ndt3zajkli

--HG--
extra : rebase_source : 1e14a470ea3aede5c167f7699db0f3b8bdfdfa10
2016-10-07 17:00:45 +08:00
Daosheng Mu e01d3ca1b4 Bug 1299928 - Part 4: Implement VRControllerManager; r=kip
MozReview-Commit-ID: 3bItvKV2HB

--HG--
extra : rebase_source : 2c41e08774b67c1b369bf20fec4f96597f6214ad
2016-10-07 16:58:01 +08:00
Daosheng Mu 570a208647 Bug 1299928 - Part 3: Construct IPC channel between Gamepad and VRManager; r=kip
MozReview-Commit-ID: 9hpxlLlIdh7

--HG--
extra : rebase_source : f50bf15bef94129a4a8fbd659c8551a3f153e32c
2016-10-04 16:30:04 +08:00
Daosheng Mu 3803722838 Bug 1299928 - Part 2: Rename VRDisplayType to VRDeviceType; r=kip
MozReview-Commit-ID: IZ1eJUtBeRI

--HG--
extra : rebase_source : d6510af05fe972ff5fd8072ca7ea12e276636676
2016-10-04 16:22:42 +08:00
Daosheng Mu a5c0fea409 Bug 1299928 - Part 1: Make GamepadManager knows the gamepad is from VRController when adding gamepads; r=kip,lenzak800
MozReview-Commit-ID: IBFqj2JTHxh

--HG--
extra : rebase_source : 7716900c17bedfef5b1dff10229f377e17ccb173
2016-10-04 10:57:04 +08:00
Carsten "Tomcat" Book d6850a3a86 merge mozilla-inbound to mozilla-central a=merge 2016-10-17 11:19:02 +02:00
David Anderson 9db9ae327f Move ownership of LogForwarder to Moz2D. (bug 1310397, r=mattwoodrow) 2016-10-15 13:04:00 -07:00
Kartikaya Gupta e6f4f137d8 Bug 1275314 - Allow flushing in-progress checkerboard reports in the GPU process as well. r=dvander
MozReview-Commit-ID: CXLzkiloHW
2016-10-15 08:45:02 -04:00
Kartikaya Gupta 76e61ea656 Bug 1275314 - Add an API to allow flushing out in-progress checkerboard reports. r=botond,ehsan
MozReview-Commit-ID: 6G4uIHcGQAv
2016-10-15 08:45:01 -04:00
Sebastian Hengst 8498657f56 Merge mozilla-central to mozilla-inbound. r=backout-merge a=backout-merge 2016-10-15 11:10:58 +02:00
Sebastian Hengst 6b5c3baeae Backed out changeset c544bfb79ca0 (bug 1210357) for unexpected pass of layout/reftests/ogg-video/encoded-aspect-ratio-1.html on Windows XP. r=backout a=backout
MozReview-Commit-ID: 4s31c2d2fv1
2016-10-15 11:07:47 +02:00
David Anderson c69dfea9a5 Don't double-call EnsureProcessTerminated when killing the GPU process. (bug 1310111, r=billm) 2016-10-14 23:27:32 -07:00
Wes Kocher 42083975b0 Merge inbound to central, a=merge 2016-10-14 14:40:49 -07:00
Carsten "Tomcat" Book ae82a68a62 Backed out changeset 3d5379dbab72 (bug 1306640) for bustage on a CLOSED TREE 2016-10-14 15:08:34 +02:00
Carsten "Tomcat" Book 5194fbe95c Merge mozilla-central to mozilla-inbound 2016-10-14 12:20:46 +02:00
Carsten "Tomcat" Book b474cb6353 merge mozilla-inbound to mozilla-central a=merge 2016-10-14 11:59:12 +02:00
Brian Hackett b8de31abbf Bug 1303891 - Convert Transaction::mMutants to a PLDHashTable, r=jmuizelaar.
--HG--
extra : rebase_source : e242f70e1fecfc18083fd9db605491e1ef53937e
2016-10-13 09:27:58 -06:00
Mason Chang b844183f9d Bug 1309917 - Stop defaulting to system wide default fonts if no IDWriteFont exists. r=jfkthame 2016-10-12 15:53:04 -07:00
Kearwood (Kip) Gilbert 2743764335 Bug 1306427 - Remove pose parameter from VRDisplay.submitFrame,r=smaug,r=gw280
MozReview-Commit-ID: LZSDm73XrIa

--HG--
extra : rebase_source : 9627a96ad333e952795ed70af0f8878a21c3c697
2016-09-30 16:43:24 -07:00
Wes Kocher aeac5ac648 Backed out changeset 73a60f9b3c2f (bug 1275314) for GTest bustage CLOSED TREE
--HG--
extra : histedit_source : 5498a231b3e43706e93835242d246489697dcd9c%2C1ba18b3300a0dfd8b03881bf431334be1f866eb8
2016-10-14 14:52:44 -07:00
Wes Kocher 727d0de706 Merge m-c to inbound, a=merge CLOSED TREE 2016-10-14 14:51:44 -07:00
stefanh@inbox.com 3a689f8b9a Bug 1192053 - Implement NS_THEME_MAC_SOURCE_LIST_SELECTION and NS_THEME_MAC_ACTIVE_SOURCE_LIST_SELECTION. r=mstange. 2016-10-14 22:45:29 +02:00
Kartikaya Gupta b5ab2ae9ac Bug 1275314 - Allow flushing in-progress checkerboard reports in the GPU process as well. r=dvander
MozReview-Commit-ID: 3EPv8hh7Zxh
2016-10-14 15:38:01 -04:00
Kartikaya Gupta 5c98a9d950 Bug 1275314 - Add an API to allow flushing out in-progress checkerboard reports. r=botond,ehsan
This is useful for talos tests that record checkerboarding. In those tests, the
page might still be in a checkerboard state at the end of the test, so it may be
necessary to flush out the report for measurement.

MozReview-Commit-ID: CtafG4NAGHN
2016-10-14 15:37:58 -04:00
Kartikaya Gupta fa397ea897 Bug 1304689 - Ensure frame reconstructions don't clobber a 'stronger' scroll origin with a 'weaker' one. r=tnikkel
If, within a single refresh driver tick, the scroll position is updated by JS
explicitly, and then subsequently also updated by a frame reconstruction, the
scroll origin from the former (nsGkAtoms::other) can get clobbered by the latter
(to nsGkAtoms::restore). The restore scroll origin is "weaker" in that it can
be ignored by the APZ code in some circumstances. This is undesirable because
it means the JS scroll update also gets ignored. This patch ensures that when
setting the scroll origin we don't do this clobbering of stronger origins with
weaker origins.

MozReview-Commit-ID: DA4EHp1Debu

--HG--
extra : rebase_source : 99fd1f91698a605792b2a622450f1ff31bc89101
2016-10-11 09:36:22 -04:00
Ethan Lin ae19c1c88a Bug 1260517 - Check HasShadowManager in the ShadowLayerForwarder::EndTransaction. r=nical 2016-10-12 03:04:00 +02:00
Jamie Nicol 2dffe0cfb1 Bug 1245959 - Remove MOZ_CRASH from GLImage::GetAsSourceSurface. r=nical
We are forcing a crash when we fail to bind a texture to a
framebuffer. Although it is not clear why this step is failing, crashing
is too drastic an action.

Instead, return nullptr as is done for every other possible failure
during this function. Also log a gfxCriticalError, which will hopefully
allow us to find the cause of the failure at some point, while not
crashing for release users.

MozReview-Commit-ID: H1RlFz8ZVbU
2016-10-11 15:01:08 -04:00
Sotaro Ikeda 74c5b567f4 Bug 1309443 - Add more updating mNeedsFullUpdate r=nical 2016-10-12 22:19:32 -07:00
Sylvestre Ledru 447c7d7b9e Bug 1306640 - Remove some warnings in cairo r=lsalzman
MozReview-Commit-ID: 3QaQ3oPJXAM

--HG--
extra : rebase_source : 47556fea3fa2baccad95c9cd59ff6bc7779a24e4
2016-09-30 03:57:35 -05:00
Hiroyuki Ikezoe 949de6422d Bug 1223658 - Part 3: Consider fillMode in compositor thread as well. r=birtles
We need to consider fill mode in compositor thread as well as other properties
because pulling the animation back from the compositor thread is sometimes
delayed due to the main thread busyness.  In such situations, if there is
another animation running on the main thread on the same element, users can
easily notice a gap between both of animations.

MozReview-Commit-ID: 1i7YTWboira

--HG--
extra : rebase_source : 036ca7707d07200af7435e027607503cd03f547e
2016-10-14 19:14:11 +09:00
Hiroyuki Ikezoe d8ec730df8 Bug 1223658 - Part 2: Pass delay property to compositor. r=birtles
The check of negative elapsedDuration is basically no longer valid since
animation delay is not factored into start time any more.  But still we have
somtimes met negative elapsedDuration sice we use a previous vsync time stamp
for async animations to make the animations more sync.  This is not a problem
in most cases but makes two reftests intermitent failure because both of them
used steps(1, start), the steps(1, start) composed different results in the
before phase and in the active phase. To avoid this difference this patch
replace the steps(1, start) with steps(1, end).

Once we incorpolate playbackRate into GetCurrentOrPendingStartTime, we don't
need to call AnimationTimeToTimeStamp for deviding delay by playbackRate since
the time passed to AnimationTimeToTimeStamp does not contain delay any more.

MozReview-Commit-ID: IVE2IFfNgm0

--HG--
extra : rebase_source : 7cb42e57067c21451706bd89284016d996dc8b12
2016-10-14 19:14:01 +09:00
Sebastian Hengst 085484cef1 Merge mozilla-central to autoland. r=backout-merge a=backout-merge 2016-10-15 11:12:23 +02:00
Wes Kocher 524df273d6 Merge m-c to autoland, a=merge 2016-10-14 14:49:31 -07:00
Sotaro Ikeda f35d8f724b Bug 1210357 - Handle VP9 colorspace BT.709 r=mattwoodrow,bas.schouten 2016-10-13 23:48:39 -07:00
Sebastian Hengst 2bd34f750f Bug 1306137 - remove b2g camera code: Remove MOZ_B2G_CAMERA. r=aosmond
MozReview-Commit-ID: D207i9boeTJ

--HG--
extra : rebase_source : 390031b8a74ba145008328129079dcb0dee5a6c1
2016-09-28 21:10:32 +02:00
Ethan Lin 4bf5cb2b97 Bug 1301579 - Add assertion to prevent the use of DrawTargetD2D1::DrawSurface with A8 format. r=mstange 2016-09-08 20:30:00 +02:00
Nicolas Silva 349f20d644 Bug 1088300 - Don't attempt to paint a ClientLayerManager if IPC is down (take two). r=dvander 2016-10-12 14:23:32 +02:00
David Anderson bb532b0876 Add telemetry for how phases of the painting pipeline contribute to large frame times. (bug 1309442, r=mattwoodrow) 2016-10-12 20:58:04 +13:00
David Anderson a3280f1c79 Move GPU process XPCOM shutdown to ProcessChild::CleanUp. (bug 1308398 part 3, r=billm) 2016-10-12 00:08:37 -07:00
David Anderson 790d6541fc Fix VsyncBridgeParent leaking on GPU process shutdown. (bug 1308398 part 2, r=mattwoodrow) 2016-10-12 00:08:36 -07:00
David Anderson 087728d181 Ensure nsThreadManager is started before IPC in the GPU process. (bug 1308398 part 1, r=billm) 2016-10-12 00:08:36 -07:00
Sotaro Ikeda 1d3ceeff04 Bug 1306521 - Handle VP9 colorspace BT.709 on BasicCompositor r=nical,jwwang,jya,jrmuizel 2016-10-11 19:46:28 -07:00
Mason Chang 4dc759d9fa Bug 1307220. Assert font file exists if using default font with skia. r=lsalzman 2016-10-10 16:43:39 -07:00
Kearwood (Kip) Gilbert 423a243482 Bug 1306415 - Part 1: Implement VRFrameData and VRDisplay.getFrameData,r=smaug,r=dmu
MozReview-Commit-ID: HlZUtZ7iZb5

--HG--
extra : rebase_source : 2d5de1522c0b06aa49d5a0ad3fe2170fff78ec37
2016-09-30 16:43:33 -07:00
David Anderson 43c76f1bba Use CrashReporterHost/Client in the GPU process. (bug 1278717 part 3, r=billm) 2016-10-11 14:25:41 -07:00
Jonathan Kew 061ab35e2b Bug 1308502 followup, add missing const-ness to gfxTextRun::SetPotentialLineBreaks param, tidy up a bit. r=m_kato 2016-10-11 13:47:11 +01:00
Jonathan Kew 175dc497d0 Bug 1308502 - Allow line-break even within a cluster if the preceding character (i.e. base of cluster) is a space. r=m_kato 2016-10-11 13:47:11 +01:00
Carsten "Tomcat" Book 04666adb7d Merge mozilla-central to mozilla-inbound 2016-10-11 13:02:37 +02:00
Sotaro Ikeda c4e935505b Bug 1305490 - Use ALLOC_UPDATE_FROM_SURFACE flag r=mattwoodrow 2016-10-11 03:17:16 -07:00
Jamie Nicol ed24fe7708 Bug 1306371 - Use correct units when calculating displayport danger zone size. r=kats
This prevents the displayport accidentally being too large at high zoom
levels.

MozReview-Commit-ID: 66DVtOgS7N8

--HG--
extra : rebase_source : 70bd8098786bb9ad78a0f5b7efd83c796bb2e079
2016-10-04 18:48:24 +01:00
Phil Ringnalda 080c63d412 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 6YHoSP3exdY
2016-10-08 16:48:33 -07:00
Sebastian Hengst cdcc9e20da Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Matt Woodrow 11cd1c4662 Bug 1292923 - Don't upload to textures during creation on Intel cards as it frequently crashes. r=dvander 2016-10-06 14:32:55 +02:00
Kartikaya Gupta 4b6c3d849f Bug 1292034 - Improve the controls over when flywheel/fling acceleration kicks in. r=rbarker
This patch adds a new pref, which controls the minimum velocity required on a fling
for it to accelerate a previous fling. This makes it so that a fast fling followed
by a very slow fling doesn't get accelerated. Also, update the AndroidAPZ code
to respect the pre-existing fling acceleration interval pref, which disallows
fling acceleration/flywheel if the two flings are too far apart in time.

MozReview-Commit-ID: 7sn57CufPZ4
2016-10-07 21:43:55 -04:00
Kartikaya Gupta 9675b3abbd Bug 1292034 - Update the StackScroller with the elapsed time from the previous fling before starting a new one, so that it doesn't use a stale velocity for flywheel. r=rbarker
MozReview-Commit-ID: EEWGPfUfB85
2016-10-07 21:43:54 -04:00
Sebastian Hengst 9b22c798f5 Backed out changeset 80dc73282950 (bug 1292034) 2016-10-08 00:40:56 +02:00
Sebastian Hengst c9351ecb72 Backed out changeset 66bbe7f0d664 (bug 1292034) 2016-10-08 00:40:52 +02:00
Kartikaya Gupta 81be2e6b8d Bug 1292034 - Improve the controls over when flywheel/fling acceleration kicks in. r=rbarker
This patch adds a new pref, which controls the minimum velocity required on a fling
for it to accelerate a previous fling. This makes it so that a fast fling followed
by a very slow fling doesn't get accelerated. Also, update the AndroidAPZ code
to respect the pre-existing fling acceleration interval pref, which disallows
fling acceleration/flywheel if the two flings are too far apart in time.

MozReview-Commit-ID: EfBUx5UV6VG
2016-10-07 17:44:18 -04:00
Kartikaya Gupta 524bcd282f Bug 1292034 - Update the StackScroller with the elapsed time from the previous fling before starting a new one, so that it doesn't use a stale velocity for flywheel. r=rbarker
MozReview-Commit-ID: 1N1h4VlMDdi
2016-10-07 17:44:18 -04:00
Kartikaya Gupta 75ed2487c5 Bug 1291381 - Add some indenting to mochitest.ini for readaibility. r=botond
MozReview-Commit-ID: GQO7giyU31e
2016-10-07 15:11:00 -04:00
Kartikaya Gupta 8d70bf45ca Bug 1291381 - Enable touch tests on Windows. r=botond
MozReview-Commit-ID: 3zmGDCFLUgF
2016-10-07 15:10:53 -04:00
Kartikaya Gupta 102b429267 Bug 1291381 - Fix helper_long_tap.html and helper_tap_passive.html to work with the Windows long-press event sequence. r=botond
MozReview-Commit-ID: ENJjgJ9dhCd
2016-10-07 15:10:46 -04:00
Kartikaya Gupta 758d479cf5 Bug 1308483 - Allow firing the mouselongtap event to chrome JS for use in tests. r=smaug
MozReview-Commit-ID: GYfLAPle5Kl
2016-10-07 15:10:39 -04:00
George Wright 375da61c8b Bug 1297828 - Ensure gfx logging works in the GPU process r=dvander 2016-10-07 11:28:41 -04:00
George Wright 5aa6a88f07 Bug 1297828 - Add GraphicsError to PGPU r=dvander 2016-10-07 11:26:13 -04:00
Matt Woodrow a36eef926a Bug 1300682 - Part 5: Use KnowsCompositor to initialize decoders and create one for VideoDecoderParent to use. r=nical,jya 2016-10-07 21:13:33 +13:00
Matt Woodrow 40e5335ced Bug 1300682 - Part 4: Set OtherPid() for VideoBridge. r=dvander 2016-10-07 21:13:33 +13:00
Matt Woodrow 8f742937c9 Bug 1300682 - Part 3: Split KnowsCompositor into a standalone header. r=nical 2016-10-07 21:13:32 +13:00
Matt Woodrow 044f47fe89 Bug 1300682 - Part 2: Allow using the compositor device for IMFYCbCrImage. r=dvander 2016-10-07 21:13:32 +13:00
Matt Woodrow 52a583a261 Bug 1300682 - Part 1: Make sure we create a TextureClient for VideoBridge even if the layers::Image doesn't support GetTextureClient. r=nical 2016-10-07 21:13:32 +13:00
David Anderson b05c9b6851 Fix parent process leaks when using the GPU process. (bug 1307972, r=billm) 2016-10-07 00:07:10 -07:00
Sotaro Ikeda f1fcdf0234 Bug 1285757 - Update mNeedsFullUpdate in BufferTextureHost::PrepareTextureSource() r=nical 2016-10-06 21:13:56 -07:00
Phil Ringnalda fd7b7476c2 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 93ZdJbK1x05
2016-10-06 19:58:18 -07:00
Daniel Holbert 1b1a0c7bad Bug 1308025: Disable -Wunreachable-code compile warning for skia (which includes some intentionally disabled code). r=gw280
MozReview-Commit-ID: FRLbZR4anWI

--HG--
extra : rebase_source : 6a5dbace62ac7d9687bac52670711014a3d744dc
2016-10-06 09:40:54 -07:00
Milan Sreckovic b376ea6fca Bug 1307257: Check for getColorAttachment returning null before using it. r=jgilbert,mtseng
MozReview-Commit-ID: C1C4RCKhjfH

--HG--
extra : rebase_source : aab99f4b8ccbd619e76ffa01cab6a8cc4c3c53f6
2016-10-03 17:36:27 -04:00
Matt Woodrow d8ccc61086 Backed out changeset d35d695f921d (bug 1292923) for troubles with windows refrests 2016-10-06 14:33:29 +02:00
Matt Woodrow 4d48d9abe0 Backed out changeset f5a4eadc760e (bug 1305326) 2016-10-06 14:32:57 +02:00
Matt Woodrow 81cff1917b Bug 1292923 - Don't upload to textures during creation on Intel cards as it frequently crashes. r=dvander 2016-10-06 14:32:55 +02:00
Carsten "Tomcat" Book 7c8e81673d merge mozilla-inbound to mozilla-central a=merge 2016-10-06 11:59:54 +02:00
Matt Woodrow 2980c56cf9 Backout d35d695f921d for causing compile failures. 2016-10-06 19:13:30 +13:00
peter chang 65aeab6503 Bug 1305378 - Check texture is valid before creating a render target, r=mattwoodrow,mtseng
MozReview-Commit-ID: L4ruAMEDN9z

--HG--
extra : rebase_source : b2170a7cb0528ebfaf8a90e0cb2387ed70b28ddc
2016-09-30 17:35:35 +08:00
Matt Woodrow 584704be9c Bug 1305326 - Use D3DChecks::DoesAlphaTextureSharingWork again. r=dvander
--HG--
extra : rebase_source : 78b458c0c4f6967e5bed9da58fc00d143645e437
2016-09-28 13:29:46 +13:00
Matt Woodrow 0dfc4f3bfa Bug 1292923 - Don't upload to textures during creation on Intel cards as it frequently crashes. r=dvander
--HG--
extra : rebase_source : 403e604c6496b95e6f8e2f9320e918d4cdafe0f8
2016-09-28 13:28:47 +13:00
Sebastian Hengst 846ea19f2f Backed out changeset 69e98ce5b005 (bug 1291084) for asserting with "[GFX1]: Failed to set device safe for multithreading" in R(R) on Windows 7 VM debug. r=backout on a CLOSED TREE 2016-10-05 19:35:53 +02:00
James Willcox 846659a048 Bug 1306716 - Follow up to not pass references across threads (!) r=kats 2016-10-05 10:15:04 -05:00
Bas Schouten d2a2717b24 Bug 1291084: Unconditionally create all devices as threadsafe. r=mattwoodrow
MozReview-Commit-ID: 2vloJUDfHvL
2016-10-05 17:11:44 +02:00
Carsten "Tomcat" Book 750b23e14d Merge mozilla-central to mozilla-inbound 2016-10-05 17:07:19 +02:00
Carsten "Tomcat" Book 3522f1d38a merge mozilla-inbound to mozilla-central a=merge 2016-10-05 15:42:48 +02:00
Wes Kocher a0ecf84551 Merge m-c to inbound, a=merge 2016-10-04 17:42:22 -07:00
Wes Kocher 5a2fb874ca Merge inbound to central, a=merge 2016-10-04 17:32:01 -07:00
Tom Schuster 774a8bf34d Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02:00
Kartikaya Gupta 5a688fe072 Bug 1304263 - On Windows, fire the eMouseLongTap event as soon as APZ detects the long-press. r=TYLin
On Windows, the contextmenu event is fired when the finger is lifted after a
long-press. However, there are various bits of code, such as the AccessibleCaret
or potential fixes for bug 1147335, which would benefit from knowing when the
long-press gesture was detected. By moving eMouseLongTap event up we can satisfy
that need. An alternative approach considered was to fire the eMouseLongTap
before the contextmenu on all platforms unconditionally, but that makes it harder
to implement platform-specific text selection behaviour the way we want. In
particular we would have to add an extra message or notification for non-Windows
platforms that initiated text selection if the contextmenu event was not
consumed.

MozReview-Commit-ID: 2lmwxmmGrVD
2016-10-04 09:31:15 -04:00
James Willcox 055120b321 Bug 1306716 - Don't retrieve (and ref) the TabParent on a non-main thread r=kats 2016-10-04 15:16:18 -05:00
Bas Schouten 606090c843 Bug 1306670: Properly disable cleartype when the underlying surface indicates it may not be opaque. r=jrmuizel
MozReview-Commit-ID: LWzwbeG6JeL

--HG--
extra : rebase_source : 5621053dd1a1e33ecd42ddd907ca3b80235eb9ac
2016-10-03 18:21:54 +02:00
Kartikaya Gupta 2478ce37cb Bug 1306603 - Remove APZ code that uses the mozpasspointerevents update region. r=kanru
MozReview-Commit-ID: L8QQkoSjFTu
2016-10-05 08:26:59 -04:00
Wes Kocher b4e6b8fba5 Merge m-c to autoland, a=merge 2016-10-04 17:42:48 -07:00
Milan Sreckovic cc08d3d97e Bug 1294812: Clean up SkiaGL canvas logic, making sure we only take it for OpenGL layers. Rename a function for clarity. r=BenWa,dvander
MozReview-Commit-ID: OTUXNNYdnJ

--HG--
extra : rebase_source : 4531fc96899f1a2f6524289d5db1054345e0e5f4
2016-09-30 13:54:22 -04:00
Mike Hommey 6f8a48bb27 Bug 1306543 - Avoid using g_unicode_script_from_iso15924 directly. r=jfkthame
for compatibility with glib < 2.29.14.
2016-10-04 14:00:22 +09:00
Matt Woodrow a416002aa7 Bug 1297568 - Remove some invalid assertions that can happen when the GPU process crashes. r=dvander 2016-10-04 15:14:56 +13:00
Kevin Wern 16d7a2302e Bug 1227233: Increase scope of TreeTraversal.h to by-value traversal r=botond
MozReview-Commit-ID: LOw1k792T10

--HG--
extra : rebase_source : a81ac06686bc21ed69693a3a80551e0648a8299a
2016-09-22 12:31:26 -04:00
Bob Owen 923be8c4e6 Bug 1308259: Add quartz surface specific code into DrawTargetCairo::CreateSimilarDrawTarget. r=jrmuizel
MozReview-Commit-ID: F5fMfRBiOW7
2016-10-14 15:17:03 +01:00
Milan Sreckovic e2dea2817b Bug 1307228: Remove a warning that doesn't help. r=dvander
MozReview-Commit-ID: HvxPaYGhgwa

--HG--
extra : rebase_source : 32a87d99f95d875ef7006411a8d7f3303886ea36
2016-10-03 16:57:36 -04:00
Ryan VanderMeulen e980397fb4 Merge m-c to autoland. a=merge 2016-10-07 23:22:46 -04:00
Kartikaya Gupta 9dabeb28a2 Bug 1308627 - Ensure that two-fingered pans scroll the page even if the span between the fingers doesn't change. r=botond
MozReview-Commit-ID: 5jeqVtoIAO6

--HG--
extra : rebase_source : f332c2a5d3e6d78c60460baf099116f02b8e04e2
2016-10-07 17:00:30 -04:00
Miko Mynttinen 1314efc774 Bug 1286412 - Add compositor support for triangle layers (for OpenGL backend) r=jrmuizel
MozReview-Commit-ID: 75q8ja7G1ko

--HG--
extra : rebase_source : 99e2684351a6403d7a957b876337de20b16de139
2016-10-07 10:58:13 -07:00
Miko Mynttinen 7ecd75b61b Bug 1286412 - Implement polygon clipping and triangulation. r=kip
MozReview-Commit-ID: 8TWHBIFUV6Q

--HG--
extra : rebase_source : c1861d68cec56a5031489c439bbe965db57e979f
2016-10-03 16:35:52 -07:00
Miko Mynttinen cc70393218 Bug 1286412 - Use surface->GetSize() instead of aRect dimensions. r=mattwoodrow
MozReview-Commit-ID: 2Fxcqh6TzjN

--HG--
extra : rebase_source : 693197d4902164c6314bd8e9ebb709f0ae6b9753
2016-10-03 16:34:16 -07:00
Stone Shih 2df4b9dc8d Bug 1299195 - [Pointer Events] Filter double click event (input source=touch) to prevent dispatching extra mousedown and pointerdown events to content. r=kats
--HG--
rename : gfx/layers/apz/test/mochitest/test_bug1285070.html => gfx/layers/apz/test/mochitest/test_group_pointerevents.html
extra : rebase_source : cc47f2ead72bf332faac2b5a76b45036e5085937
2016-09-20 10:48:11 +08:00
George Wright 1ce63ce848 Bug 1297568 - Downgrade buffer creation failures if we're a reasonable size, and never assert r=dvander 2016-10-03 20:18:45 -04:00
George Wright ff84a59b17 Bug 1297568 - Don't begin a layer transaction if our IPC channel is down r=mattwoodrow 2016-10-03 20:18:45 -04:00
Kartikaya Gupta 1ef4d7b941 Bug 1305201 - Follow-up to fix some debug logging. r=me and DONTBUILD because NPOTB
MozReview-Commit-ID: 9k2LzUrj6bP
2016-10-03 12:42:55 -04:00
Jim Chen 3587a0edd6 Bug 1306083 - 1. Use AndroidCompositorWidget to access GeckoLayerClient; r=kats
Add AndroidCompositorWidget to act as the intermediary between gfx code
and GeckoLayerClient, in place of AndroidBridge. AndroidCompositorWidget
currently inherits from InProcessCompositorWidget, but when Android
eventually supports OOP compositing, it will be made to inherit from
CompositorWidget directly.
2016-10-03 12:26:00 -04:00
James Willcox 327d256722 Bug 1306716 - Call TabParent::SendHandleTap from the right thread on Android r=kats 2016-10-03 10:58:41 -05:00
Matt Woodrow 50bff87cb2 Bug 1305361 - Rebuild IPDL actors on ImageContainer once we've recovered from a GPU process crash. r=dvander 2016-10-03 21:20:42 +13:00
Matt Woodrow f0b6731a16 Bug 1305361 - Implement IPCOpen for ImageBridgeChild. r=nical 2016-10-03 21:20:27 +13:00
Matt Woodrow a0aad01631 Bug 1305897 - Move ActiveResourceTracker onto ShadowLayerForwarder, since it's not used anywhere else. r=nical 2016-10-03 21:20:13 +13:00
Sotaro Ikeda a1dfbc1a44 Bug 1304999 - Add nullptr check of YCbCr to rgb surface r=jrmuizel 2016-10-02 23:37:53 -07:00
Cameron McCormack c1f0ee12ba Bug 1309082 - Part 2: Rename some ImageTracker members. r=bholley
MozReview-Commit-ID: 6yOIKKl8npT

--HG--
extra : rebase_source : 247787a0e18640c878e461c4b600bc36a40bad6d
2016-10-13 15:04:19 +08:00
Cameron McCormack 58c32a9088 Bug 1309082 - Part 1: Extract image tracking from nsDocument into a separate, refcounted object. r=bholley
This is refcounted as we'll need to hold strong references to the ImageTracker
from style structs that load images.

MozReview-Commit-ID: 994gE9tOjAn

--HG--
extra : rebase_source : 2d50059e51b42251c89a92a954cef7b49720ceba
2016-10-13 15:04:15 +08:00
Jamie Nicol 7cbf6d7e9f Bug 1026404 - Disable OES_EGL_image and OES_EGL_image_external on SGX 544 MP devices. r=eflores
EGLImageTargetTexture2D crashes on SGX 544 MP GPUs on Kit Kat with
either GL_TEXTURE_2D or GL_TEXTURE_EXTERNAL as the texture target. This
means that both OES_EGL_image and OES_EGL_image_external extensions do
not work and must be avoided.

MozReview-Commit-ID: DJmtUL6kexC

--HG--
extra : rebase_source : 7b136c2be8110a3bcef50213776675d8dd3c9ef9
2016-10-26 15:28:08 +01:00
David Major 1cd2c98af7 Bug 1305536: Initialize the out-param of DrawTargetD2D1::GetDeviceSpaceClipRect. r=Bas 2016-09-29 13:18:33 -05:00
Jonathan Kew 6e6135e988 Bug 1306715 - Ignore the font whitelist if we're not using a gfxPlatformFontList backend (i.e. using the old Linux/fontconfig backend). r=jrmuizel 2016-10-06 21:00:24 +01:00
Carsten "Tomcat" Book 5ab962655e Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 55d1950f399abce29391fed0c9039d52dc68840c
2016-10-06 15:20:02 +02:00
Carsten "Tomcat" Book 7822855f50 Backed out changeset 3855dd4690ab (bug 1292923) for conflicts with m-c
--HG--
extra : rebase_source : 158207ae257965fbdffe51934d5c540188175859
2016-10-06 15:18:20 +02:00
Kartikaya Gupta ed4e5b403e Bug 1307758 - Enable test_group_pointerevents on OS X as well, since we support synthesizing native touches there. r=stone
MozReview-Commit-ID: Kg7CnBD1UIt
2016-10-06 07:49:11 -04:00
Carsten "Tomcat" Book 7333917288 Merge mozilla-central to mozilla-inbound 2016-10-06 12:28:03 +02:00
Jonathan Watt 995ce8d997 Update gfx/skia/README_MOZILLA to point to SkMilestone.h for the milestone number. No bug. r=me DONTBUILD 2016-10-06 10:22:26 +01:00
Matt Woodrow d59abae49f Bug 1292923 - Don't upload to textures during creation on Intel cards as it frequently crashes. r=dvander 2016-09-28 13:28:47 +13:00
Carsten "Tomcat" Book 53c63f69db Merge mozilla-central to mozilla-inbound 2016-09-30 12:08:17 +02:00
Carsten "Tomcat" Book 6636b09ddd merge mozilla-inbound to mozilla-central a=merge 2016-09-30 12:02:16 +02:00
David Anderson 56cd5719ee Fix vsync sometimes not firing after the GPU process crashes. (bug 1305628, r=mattwoodrow) 2016-09-30 01:23:52 -07:00
David Anderson 9a371ddb86 Add a testing pref to let the GPU process restart multiple times. (bug 1305941, r=mattwoodrow) 2016-09-30 01:21:21 -07:00
Sotaro Ikeda f973293243 Bug 1306211 - Add sanity check to CompositorBridgeChild::SendAllPluginsCaptured() r=nical 2016-09-29 23:27:29 -07:00
peter chang 97e430e7bc Bug 1293598 - clean up pointers after free inside pixman_image, r=jrmuizel
MozReview-Commit-ID: ChUb4RYUabN
2016-09-30 11:38:17 +08:00
Kearwood (Kip) Gilbert a47380995d Bug 1255210 - Update OVR_ALIGNAS macro in ovr_capi_dynamic.h r=froydnj
- The updated OVR_ALIGNAS macro corrects errors blocking
  clang-cl builds.

MozReview-Commit-ID: 20SMLNsia67

--HG--
extra : rebase_source : 6671657d2463fa43bb2ab757e3e1b76db100d1d2
2016-09-28 16:14:39 -07:00
Bas Schouten 5c83c0a8dc Bug 1303570 - Part 2: When using Cairo use gfxWindowsSurfaces when creating surfaces in ContentClientBasic. r=jrmuizel
MozReview-Commit-ID: Bf4vdtiXNf3

--HG--
extra : rebase_source : 15e400f2d8a9837314271bc80b30e62bd36d3160
2016-09-27 11:29:10 +02:00
Bas Schouten c0e9e79a37 Bug 1303570 - Part 1: Support Subpixel AA drawing of DWrite fonts to transparent GDI surfaces. r=jrmuizel
MozReview-Commit-ID: JzkE1s9A0UI

--HG--
extra : rebase_source : ed9e3c478ca4affbfc5079394311ef7671957d75
2016-09-27 11:27:51 +02:00
Carsten "Tomcat" Book 5b45193594 merge mozilla-inbound to mozilla-central a=merge 2016-09-29 11:44:58 +02:00
Makoto Kato ef0d953d9e Bug 1142056 - Add aarch64 configuration on Skia's moz.build. r=gw280
MozReview-Commit-ID: 60iAZjFg6W6

--HG--
extra : histedit_source : b3bb5a3e556393ba49f43dc4ab8bdaa9be40fb0c
2016-08-23 16:54:06 +09:00
Wes Kocher 70adae2ee7 Backed out changeset e1300d4c0a52 (bug 1292923) for windows reftest failures a=backout 2016-09-29 18:10:17 -07:00
Wes Kocher 1cb598b229 Backed out changeset d98c1bfa1caf (bug 1305326) for windows reftest failures a=backout 2016-09-29 18:10:08 -07:00
Matt Woodrow e3a3bcbcaf Bug 1305213 - Initialize CanUseHardwareDecoding after we've created d3d11 devices. r=dvander 2016-09-29 12:36:11 +13:00
Edwin Flores a07d259ed7 Bug 1245747 - Handle ANGLE device reset failure. r=jgilbert
--HG--
extra : rebase_source : 83845ab4aae7ad10afdd9343cbbc134d1b049774
2016-09-28 06:24:00 -04:00
Frédéric Wang feb1b8a1f3 Bug 1305944 - Update OTS to version 5.1.0. r=jfkthame
--HG--
extra : rebase_source : 37fea2d4cf91be8c887bbc55add05621bb07a1e1
2016-09-28 04:05:00 -04:00
Lee Salzman c09d407ee8 Bug 1301136 - fix buggy pixel offset in DrawTargetSkia VerifyRGBXCorners. r=me
MozReview-Commit-ID: KIksLQ44JfA
2016-09-28 19:20:13 -04:00
Sebastian Hengst b389a03d86 Backed out changeset 690c50d5a4ca (bug 1305941) for build bustage. r=backout on a CLOSED TREE 2016-09-28 22:54:03 +02:00
David Anderson 4ca1294eed Add a testing pref to let the GPU process restart multiple times. (bug 1305941, r=mattwoodrow) 2016-09-28 13:23:48 -07:00
Arthur Edelstein cdccbe2abb Bug 1121643 - Add "font.system.whitelist" pref to resist font-based fingerprinting. r=jfkthame 2016-08-23 00:06:07 +00:00
Jonathan Kew b1a1141fb3 Bug 1121643 - Ensure the FontNameCache only updates its records in StartupCache once, even if the font-list is rebuilt. r=jrmuizel 2016-09-28 20:42:41 +01:00
Carsten "Tomcat" Book 04b91a0fb4 Backed out changeset 33c254db1f15 (bug 1305829) for causing memory leaks on OS X 2016-09-28 15:19:49 +02:00
Carsten "Tomcat" Book dd4336be5d Backed out changeset 9ce619a6dcae (bug 1305628) for crashes 2016-09-28 11:12:07 +02:00
David Anderson 67e19d1d22 Delay the DidComposite call in ClientLayerManager's destructor. (bug 1305829, r=mattwoodrow) 2016-09-28 01:24:45 -07:00
David Anderson 053ecfd3c3 Fix vsync sometimes not firing after the GPU process crashes. (bug 1305628, r=mattwoodrow) 2016-09-28 01:20:12 -07:00
Alexandre Lissy 07037f896b Bug 1305655 - Decouple Gonk TextureForwarder and CompositableForwarder (followup bug 1281456) r=nical
MozReview-Commit-ID: 1sUiqnFEPdx
2016-09-28 07:04:13 +02:00
Matt Woodrow d6f48852a6 Bug 1305213 - Make sure the cached CanUseHardwareVideoDecoding value is updated when DeviceMangerDx is initialized. r=dvander 2016-09-28 11:34:48 +13:00
Edwin Flores d6dab74e60 Bug 1305234 - Back out changeset f7aeb4b3ccb1 (bug 1279398) for causing top crashes. r=edwin DONTBUILD
--HG--
extra : rebase_source : 17ccf89223eeca1bc08c3e45ec7e22d3456c2d00
extra : source : 5285464565a804f3766f273b20fb7147f92db53e
2016-09-27 19:52:17 +01:00
Ryan VanderMeulen 99dc13308f Backed out changeset 5285464565a8 for landing with the wrong bug number in the commit message.
--HG--
extra : rebase_source : 9aff59b0badc1d7fb1a173471fb829f9320e311d
2016-09-27 17:31:59 -04:00
Lee Salzman 7052015439 Bug 1304195 - silence warnings from ScopedXErrorHandler when used off main thread if acknowledged. r=nical
MozReview-Commit-ID: 34LaghDR15f
2016-09-27 12:28:57 -04:00
Edwin Flores 2e88e8e508 Bug 1306234 - Back out changeset f7aeb4b3ccb1 (bug 1279398) for causing top crashes. r=edwin
--HG--
extra : rebase_source : 24aee74e09242f1cae18a1df48654268a2e91769
2016-09-27 19:52:17 +01:00
Sebastian Hengst a026f5edf9 Backed out changeset 7bcb0c169466 (bug 1305628) for crashing with mozilla::OffTheBooksMutex::Lock. r=backout 2016-09-27 23:21:47 +02:00
David Anderson ea061497c3 Fix vsync sometimes not firing after the GPU process crashes. (bug 1305628, r=mattwoodrow) 2016-09-27 13:15:55 -07:00
Carsten "Tomcat" Book ea2599961b Backed out changeset 3eb2ceb66ec5 (bug 1304195) for static build bustage 2016-09-27 16:56:20 +02:00
Lee Salzman bef76e271e Bug 1304195 - silence warnings from ScopedXErrorHandler when used off main thread if acknowledged. r=nical
MozReview-Commit-ID: 34LaghDR15f
2016-09-27 10:35:17 -04:00
Carsten "Tomcat" Book ceb8695fd3 Merge mozilla-central to mozilla-inbound 2016-09-27 11:26:17 +02:00
Carsten "Tomcat" Book 5bdd2876ae merge mozilla-inbound to mozilla-central a=merge 2016-09-27 11:21:25 +02:00
Phil Ringnalda c4f9e0b615 Backed out changeset c33c1775fe24 (bug 1305213) for e10s marionette crashes 2016-09-26 21:45:25 -07:00
Matt Woodrow 55f506db9f Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280 2016-09-27 16:22:20 +13:00
Jonathan Kew c6471e4eeb Bug 1304699 - Pass the proper unicode-range when looking up a font in the global font cache. r=jrmuizel 2016-09-27 01:48:56 +01:00
Phil Ringnalda 340cda4e5f Backed out changeset 66b8ea362db8 (bug 1304699) for build bustage
CLOSED TREE
2016-09-26 18:37:13 -07:00
Lee Salzman fa14fbbbf5 Bug 1305151 - allow disabling Skia debug assertions via MOZ_SKIA_DISABLE_ASSERTS env-var. r=milan
MozReview-Commit-ID: DlBiKILV5Jm
2016-09-26 11:26:42 -04:00
Matt Woodrow e0b520a9c4 Bug 1304342 - Remove gfxCriticalError when creating a d3d11 device fails since that can happen under regular usage. r=dvander 2016-09-27 14:12:23 +13:00
Matt Woodrow a28cb744aa Bug 1305213 - Make sure the cached CanUseHardwareVideoDecoding value is updated when DeviceMangerDx is initialized. r=dvander 2016-09-27 14:10:40 +13:00
Jonathan Kew 2a3be4b384 Bug 757366 - Don't cast pointers to 'name'-table data to uint16_t*, as they may not be 16-bit-aligned. r=jrmuizel 2016-09-26 18:05:14 +01:00
Jonathan Kew 60fef630a5 Bug 1304699 - Pass the proper unicode-range when looking up a font in the global font cache. r=jrmuizel 2016-09-27 01:48:56 +01:00
Kartikaya Gupta 3c6816305f Bug 1305201 - Have BasePoint::Length return a Coord instead of a raw type. r=botond
MozReview-Commit-ID: 3MJmnQ866pA

--HG--
extra : rebase_source : c3a50e0fd84559a878ae30d1a263267e24f1351f
2016-09-26 15:34:36 -04:00
Iris Hsiao 767e1e9b11 merge mozilla-inbound to mozilla-central a=merge 2016-09-26 18:34:20 +08:00
David Anderson beb37a041d Fix null-deref when APZ is disabled and using out-of-process compositing. (bug 1305198, r=kats) 2016-09-24 13:10:12 -07:00
Kartikaya Gupta 30133fa012 Bug 1298886 - Fire magnify gesture events in the parent process if APZ is enabled but APZ zooming is disabled. r=botond,dvander
MozReview-Commit-ID: 1yhJW7OhI0A
2016-09-24 09:46:02 -04:00
Kartikaya Gupta cb429d93ab Bug 1298886 - Convert the PinchGestureInput span fields from float to ParentLayerCoord. r=botond
MozReview-Commit-ID: 1Odp9ml6reK
2016-09-24 09:46:01 -04:00
cku f42e498549 Bug 1304011 - Part 7. Fix several coding convention violations. r=mstange
MozReview-Commit-ID: BYhiQnlfR3a

--HG--
extra : rebase_source : eba1a5fcec8f502cfaf4ff0e1d09a321e533131c
2016-09-18 23:16:35 +08:00
cku 097d8da362 Bug 1304011 - Part 4. For css-mask, compute frame offset by the current frame. r=mstange
MozReview-Commit-ID: K6ZUoiA9jrC

--HG--
extra : rebase_source : 6a56e5d072062f06452e653187a0d6eb5d5c3eac
2016-09-22 13:38:55 +08:00
David Anderson 2735c8bee7 Support tab-switching in the GPU process. (bug 1298507, r=billm) 2016-09-23 18:12:45 -07:00
Kartikaya Gupta a463115df1 Bug 1298254 - Cleanup patch to replace a class with NewRunnableMethod. r=dvander
MozReview-Commit-ID: KIP4VtrFX1V

--HG--
extra : rebase_source : c79324d95f8465d0ef8e9813c924ac9bf9839276
2016-09-23 17:14:01 -04:00
Kartikaya Gupta a728fc2ac0 Bug 1298254 - Ensure that the flush-apz-repaints codepath also waits for pending SetTargetAPZCNotification messages on the controller thread before returning. r=dvander
MozReview-Commit-ID: 5bY3TeJB4KN

--HG--
extra : rebase_source : 053dbbe4ac9f6e36bdb3b113eac44c7df29ba5c9
2016-09-23 17:14:00 -04:00
Matt Woodrow 2b82a4295e Bug 1302918 - Remove old Compositor sharing code. r=nical 2016-09-23 09:44:46 +12:00
Matt Woodrow cedd3bc438 Bug 1302918 - Add PVideoBridge to share textures with the compositor. r=dvander,nical 2016-09-23 09:44:26 +12:00
Matt Woodrow 7cc797bd49 Bug 1303897 - Part 3: Remove unnecessary param to InitIPDLActor. r=nical 2016-09-23 09:43:47 +12:00
Matt Woodrow bafb5ec93b Bug 1303897 - Part 2: Use TextureForwarder for TextureClientRecycleAllocator. r=nical 2016-09-23 09:43:32 +12:00
Matt Woodrow f8671565f8 Bug 1303897 - Part 1: Use TextureForwarder for Image::GetTextureClient. r=nical 2016-09-23 09:43:11 +12:00
Kartikaya Gupta 0e04f56656 Bug 1304729 - When transitioning from a pinch to a pan, make sure we start the pan with the correct coordinates. r=botond
MozReview-Commit-ID: CC4gPT2jubR
2016-09-22 14:54:01 -04:00
Kartikaya Gupta 83607aede9 Bug 1304729 - Ensure we schedule a composite if we change the scroll position during a pinch gesture with no zoom change. r=botond
MozReview-Commit-ID: AF2aoJZ1ssG
2016-09-22 14:53:56 -04:00
Carsten "Tomcat" Book d25a5baeb8 merge mozilla-inbound to mozilla-central a=merge 2016-09-22 11:55:12 +02:00
David Anderson ef0f273f0f Fix build bustage from bug 1301266 (r=CLOSED TREE) 2016-09-21 22:56:00 -07:00
David Anderson 4a10c9994a Update comment in TextureClient::AsTextureClient. (bug 1303426 part 5, r=nical)
--HG--
extra : rebase_source : 56f8addea4631c103741823b5a13a0d90308ac90
2016-09-21 22:40:21 -07:00
David Anderson c77a418e0d Destoy TextureData even if TextureChild::ActorDestroy has already run. (bug 1303426 part 4, r=nical)
--HG--
extra : rebase_source : 8ca1eb13ac949ecf00efe821acd3fbde8cc11c7e
2016-09-21 22:40:21 -07:00
David Anderson 2255e55899 Remove the ChildActor helper class. (bug 1303426 part 3, r=nical)
--HG--
extra : rebase_source : 1b0219df4a61caedd210dd82def132accf3d3ad9
2016-09-21 22:40:20 -07:00
David Anderson 352bf5384c Fail safely if IPC has shut down during an ImageBridge shmem request. (bug 1303426 part 2, r=nical)
--HG--
extra : rebase_source : c5d46710e1dd6056b750ddbae02726d77ab0ce95
2016-09-21 22:40:20 -07:00
David Anderson 14db343852 Support about:checkerboard reporting in the GPU process. (bug 1301266 part 2, r=kats) 2016-09-21 22:38:44 -07:00
Lee Salzman 8869fd86cf Bug 1029705 - allow clipping to a list of device-space rectangles (a region) in DrawTarget via PushDeviceSpaceClipRects. r=bas
MozReview-Commit-ID: 8zM116zB0NB
2016-09-21 17:03:20 -04:00
Lee Salzman 1e0c767fd6 Bug 1304114 - fix invalid Sk4f store to SkColor in SkPixmap::erase. r=jrmuizel
MozReview-Commit-ID: 840x1nXgYns
2016-09-21 16:40:44 -04:00
Bas Schouten 8f48ecccca Bug 1296665: gfxBlur should attempt to create a box shadow for the correct type of DrawTarget. r=mchang
MozReview-Commit-ID: 5J3GwKya83w
2016-09-15 13:53:12 +02:00
Kartikaya Gupta 0e1c4d7b3a Bug 1304457 - Add some missing mCanSend checks. r=dvander
MozReview-Commit-ID: Jctjbgilu5z

--HG--
extra : rebase_source : 7e5c33633fc5f771a4c8b18e74573cf2905b20da
2016-09-21 13:51:23 -04:00
Kartikaya Gupta 11a080823c Bug 1304457 - Ensure that RemoteContentController doesn't try to send any messages after it has sent the Destroy message. r=dvander
MozReview-Commit-ID: 2tEb6nU049R

--HG--
extra : rebase_source : d73ff69ed2735df5c322262fba76c2fa332d3ea5
2016-09-21 13:51:21 -04:00
Kartikaya Gupta 6d057a3060 Bug 1298173 - Push HandleTap from the GPU process back to the parent process before passing it on to the child process. r=dvander
Sending it back via the parent process ensures that it will take the same path
that regular touch events do, and so guarantees that the Tap event won't overtake
the touch events and get dispatched to content first.

MozReview-Commit-ID: 8TiHY2PFPvE
2016-09-21 10:26:33 -04:00
Kartikaya Gupta 15ae08f0b4 Bug 1298173 - Remove redundant parameter. r=dvander
The parameter is always true if the tap type is a eSingleTap and false in
all other cases, so it's redundant. As it was added as an optimization in bug
1020199 removing it should be safe.

MozReview-Commit-ID: IPB8BUagQl6
2016-09-21 10:25:05 -04:00
Carsten "Tomcat" Book 23879d2b18 Merge mozilla-central to mozilla-inbound 2016-09-21 12:07:46 +02:00
Carsten "Tomcat" Book 4f900773f5 merge mozilla-inbound to mozilla-central a=merge 2016-09-21 12:03:31 +02:00
Matt Woodrow 7756c8a512 Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander 2016-09-21 21:25:33 +12:00
Matt Woodrow 9dee8747d7 Bug 1288618 - Part 12: Initialize WMF in the GPU process. r=dvander 2016-09-21 21:24:44 +12:00
Matt Woodrow 88b6a1b9dc Bug 1288618 - Part 10: Add a new layers::Image type for GPUVideo. r=nical 2016-09-21 21:24:44 +12:00
Matt Woodrow 3aff28e287 Bug 1288618 - Part 9: Add a new SurfaceDescriptor type for video decoding in the GPU process. r=nical 2016-09-21 21:24:44 +12:00
Matt Woodrow 356ce39110 Bug 1288618 - Part 8: Add Compositor API to create a TextureSource from a layers::Image. r=nical 2016-09-21 21:24:43 +12:00
Matt Woodrow fb5b16533d Bug 1288618 - Part 2: Allow allocating D3D9/11 Images when we don't have a recycling allocator available. r=nical 2016-09-21 21:24:43 +12:00
Carsten "Tomcat" Book f918af64da Backed out 16 changesets (bug 1288618) for bustage on a CLOSED TREE
Backed out changeset 06187d250f7a (bug 1288618)
Backed out changeset 2a47f8ea1d89 (bug 1288618)
Backed out changeset e179c8e8265d (bug 1288618)
Backed out changeset 25396a1af922 (bug 1288618)
Backed out changeset e98f835c6ee5 (bug 1288618)
Backed out changeset 24df0e89b273 (bug 1288618)
Backed out changeset f8bbdabdb6da (bug 1288618)
Backed out changeset 8b0adeab93df (bug 1288618)
Backed out changeset 95f23366de82 (bug 1288618)
Backed out changeset 63a9c689e1d5 (bug 1288618)
Backed out changeset 8f67443dccb8 (bug 1288618)
Backed out changeset 4e7fe69d5f45 (bug 1288618)
Backed out changeset 53b113acee42 (bug 1288618)
Backed out changeset 2583ae4e2e3b (bug 1288618)
Backed out changeset 75a61d0e71b7 (bug 1288618)
Backed out changeset da740b4fd484 (bug 1288618)
2016-09-21 08:44:11 +02:00
Matt Woodrow c4fcc19e35 Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander
--HG--
extra : rebase_source : f330066c3e301299f541939ac170217625dcdca5
2016-09-21 15:36:39 +12:00
Matt Woodrow 1f7fd955fa Bug 1288618 - Part 12: Initialize WMF in the GPU process. r=dvander
--HG--
extra : rebase_source : 12d1829522bd2761308e1b2bcaf488a1e5f15f67
2016-09-21 15:36:10 +12:00
Matt Woodrow 1e523fae7d Bug 1288618 - Part 10: Add a new layers::Image type for GPUVideo. r=nical
--HG--
extra : rebase_source : 4806ebcbb8f7820d8567ad51f28d950c946ee613
2016-09-21 15:36:10 +12:00
Matt Woodrow 4773ea15c3 Bug 1288618 - Part 9: Add a new SurfaceDescriptor type for video decoding in the GPU process. r=nical
--HG--
extra : rebase_source : f71052375b72ca2ea8d85b95e399a94bfaf93232
2016-09-21 15:36:10 +12:00
Matt Woodrow 2cb0c77257 Bug 1288618 - Part 8: Add Compositor API to create a TextureSource from a layers::Image. r=nical
--HG--
extra : rebase_source : 7498abba1e4e364e9a299ee55b44070c6a65f55a
2016-09-21 15:36:09 +12:00
Matt Woodrow 30d2768a45 Bug 1288618 - Part 2: Allow allocating D3D9/11 Images when we don't have a recycling allocator available. r=nical
--HG--
extra : rebase_source : 23db70f7fed43217f8e8a27b0ab73435cdd3b895
2016-09-21 15:36:09 +12:00
Matthew Woodrow 76c0ae8105 Bug 1288618 - Part 1: Use gfxVars for CanUseHardwareVideoDecoding so we can access it in the GPU process. r=dvander 2016-08-25 15:48:35 +12:00
Matthew Woodrow cc6a2ea1e1 Bug 1288618 - Part 1: Use gfxVars for CanUseHardwareVideoDecoding so we can access it in the GPU process. r=dvander
--HG--
extra : rebase_source : 3e5e4d3cebeda21a080a0f5c9bcec95ba54f960c
2016-08-25 15:48:35 +12:00
Miko Mynttinen 54872a7fbf Bug 1301818 - Prepare BSPTree for integration with the layers code r=kip
MozReview-Commit-ID: ADJvCZYSk6p

--HG--
extra : rebase_source : 4cfef6cb4344323229da9001de07616621cd5369
2016-09-16 16:03:32 -07:00
Jamie Nicol 363f957b1f Bug 1288446 - Call glCheckFramebufferStatus after glFramebufferTexture2D to avoid driver crash; r=jrmuizel
Some PowerVR SGX540 devices running Android 4.0 were crashing when
uploading texture data with glTexSubImage2D. This was unearthed by a
Skia upgrade which removed what should have been an unnecessary OpenGL
call. This reinstates the OpenGL call which prevents the crash, but at a
GLContext level rather than in Skia.

MozReview-Commit-ID: Dub8VSs2Dzd

--HG--
extra : rebase_source : 7584b2a71656c78055d1a3cd1410c2a1bd8e70b3
2016-09-08 15:29:44 +01:00
Carsten "Tomcat" Book 79ec7bf1c3 Merge mozilla-central to autoland 2016-09-20 12:05:52 +02:00
David Anderson 5a103daad2 Fix root scroll delta overrides when APZ is out-of-process. (bug 1303820, r=kats) 2016-09-19 19:22:26 -07:00
Wes Kocher 993138b682 Merge m-c to inbound, a=merge 2016-09-19 15:56:30 -07:00
Wes Kocher da7b1c61a1 Merge inbound to central, a=merge 2016-09-19 15:51:39 -07:00
Lee Salzman dc06e3fe34 Bug 1303548 - add more fuzz to gfx/tests/reftest/611498-1.html. r=philor
MozReview-Commit-ID: DPgazUhgWXY
2016-09-19 16:35:35 -04:00
Jeff Muizelaar 8abbf66ced Bug 1298403. Reorder fields to avoid clang-cl warning. 2016-09-19 10:04:54 -04:00
Carsten "Tomcat" Book 698071b90e Merge mozilla-central to mozilla-inobund 2016-09-19 12:17:58 +02:00
Carsten "Tomcat" Book 026552c22f merge mozilla-inbound to mozilla-central a=merge 2016-09-19 12:14:36 +02:00
Jonathan Kew 487f1a3fb5 Bug 1297644 - Cherry-pick upstream fix for misleading-indent/missing-brace bug. r=nical 2016-09-19 10:41:27 +01:00
David Anderson 842b64bbd1 Fix incorrect assert in VsyncBridgeChild. (bug 1303452, r=gwright) 2016-09-18 22:13:53 -07:00
Manish Goregaokar 63e75ca24b Bug 1302993 - Mark more expectations for stylo tests, make reftest-stylo green; r=heycam
MozReview-Commit-ID: 9rKqASXgKZH

--HG--
extra : rebase_source : ea4d2cdc5623673827676e52d255c8b6fa34f7dd
2016-09-12 19:18:10 +05:30
Tanuja Sawant 50e09326b3 Bug 1285940 - Remove code to disambiguate overloads that is no longer necessary. r=botond
MozReview-Commit-ID: 5fBkxmGP1Cr

--HG--
extra : amend_source : b6c0917ef257f39ee707836d46d60b5d00364bad
2016-09-17 13:38:11 +05:30
Bill McCloskey 50c44c717c Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-09-16 20:35:11 -07:00
Xidorn Quan 6cedec7667 Bug 1299741 part 3 - Add LinearBlendColors function for linear blending two colors. r=mstange
MozReview-Commit-ID: KVzV2DxXRqu

--HG--
extra : rebase_source : de1003c5546f77dc251d1dc1c3634ac79b73481f
2016-09-02 17:13:11 +10:00
Xidorn Quan 3e7bcf1437 Bug 1299741 part 2 - Move ClampColor to nsColor.h. r=mstange
MozReview-Commit-ID: 6qbVhOA3DE4

--HG--
extra : rebase_source : a5ee990caffef332cfd0bfa6753dff392e48166d
2016-09-02 14:59:28 +10:00
Carsten "Tomcat" Book 53b6abdec9 Merge mozilla-central to autoland 2016-09-19 12:26:19 +02:00
Alexandre Lissy 18acbedbf0 Bug 1303522 - Include Skia libc++ workaround (https://codereview.chromium.org/2134693002) r=lsalzman
MozReview-Commit-ID: KYRuKaaH2Iu

--HG--
extra : rebase_source : a0738dcfe863bedd3361fb60e1d10f03cfcd8eb2
2016-09-17 14:25:55 +02:00
David Anderson f2cfe86ef2 Recreate PLayerTransactions for TabChildren when the compositor restarts. (bug 1300936 part 4, r=mattwoodrow, r=billm)
--HG--
extra : rebase_source : ea92ecc5738e830a86f3b323d262f3537afe4534
2016-09-20 01:19:32 -07:00
David Anderson 81234feb8d Recreate content compositor endpoints when the GPU process dies. (bug 1300936 part 3, r=mattwoodrow,billm)
--HG--
extra : rebase_source : 054937d0adf92ab90c0a630034808e5069b6a956
2016-09-20 01:18:50 -07:00
David Anderson a03cd76c24 Recreate widget compositors when the GPU process dies. (bug 1300936 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 8b6770bcad64a21001efd5d75f0502672282fcab
2016-09-20 01:16:03 -07:00
David Anderson 27c5a863e6 Send content compositor bridges atomically rather than individually. (bug 1300936 part 1, r=billm)
--HG--
extra : rebase_source : 3d642f674ecb21c4a1c95ad9312c7afd87c5931a
2016-09-20 01:15:49 -07:00
Jamie Nicol 78b8ab3a9c Bug 1130739 - Disable OES_EGL_image_external on Mali 450. r=eflores
MozReview-Commit-ID: 2xx4zRYWlNu

--HG--
extra : rebase_source : d4c9e091b0ecd384b118f9e45a966e3887fbbc02
2016-09-21 11:12:52 +01:00
Kartikaya Gupta 7e17a92193 Bug 1256128 - Update test to handle a tricky race condition where the input event processing is delayed a little. r=botond
MozReview-Commit-ID: H7YOhSLYkpF

--HG--
extra : rebase_source : 1baa334697250eddfd1d67303d9ecd81edc4e991
2016-09-20 09:05:38 -04:00
Randall Barker 7f569e53a9 Bug 1294707 - Part 2, Disable mouse event mochi tests on Android now that Fennec no longer supports native mouse events r=kats 2016-09-16 14:37:41 -07:00
Kartikaya Gupta 029140f6bf Back out bug 1296665 (cset b071166a07bc) for causing bug 1303434. rs=mstange 2016-09-16 17:32:36 -04:00
Markus Stange 99c3c5c5dd Bug 1300933 - Remove unnecessary forward declaration of mozilla::gfxs::DrawTarget. r=nical
MozReview-Commit-ID: 4WoYyQWyu53
2016-09-06 20:59:38 -04:00
Mason Chang 196df029f8 Bug 1299903. Force GDI Classic rendering for specific fonts with skia on windows. r=lsalzman 2016-09-16 12:25:42 -07:00
Mason Chang 053689b4b2 Bug 1301524 - Add a preference to disable AA on text. r=lsalzman 2016-09-16 12:11:35 -07:00
Sebastian Hengst 548f7778a1 Backed out changeset e0d755ab4cbd (bug 1302380) for timeouts reftest with e10s invariable-declaration-XX.html on Linux 32 bit. r=backout 2016-09-16 18:55:44 +02:00
Nicolas Silva 79bb9f5c0e Bug 1284837 - Disallow implicit conversions from float to integer when creating. r=botond 2016-09-16 17:49:39 +02:00
Mason Chang c2791e58ec Bug 1301920. Call MarkChanged before getting bitmap for surface in skia. r=lsalzman 2016-09-16 08:03:48 -07:00
Andi-Bogdan Postelnicu 1ae2d59400 Bug 1301333 - mark ImageBridgeThread::Init as initialisation function for ImageBridgeThread. r=jrmuizel
MozReview-Commit-ID: 4mveFlHumVE
2016-09-16 17:09:56 +03:00
Haik Aftandilian d46766b464 Bug 1228022 - part 2 - Add support for reading Mac OS Roman encoded names from SFNTNameTables; r=jfkthame
When reading a U16 font name from the SFNTNameTable, a name entry
with platformID == 1 (Macintosh) and platformSpecificID
(aka encodingID) == 0 (Roman) is read as Mac Roman and converted
to U16.

This patch refactors the matchers created in CreateCanonicalU16Matchers
to return name encoding type instead of a boolean. The encoding
type can then be used to call the appropriate decoding function.

CreateCanonicalU16Matchers is also changed so that it doesn't
enqueue unnecessary matchers on OS X. On OS X, if the nametable
record's platformID field is PLATFORM_ID, IsUTF16Encoding() will
always return false so matchers requiring both of those conditions
will never match.

There are several other platformSpecificID's in Mac SFNTameTables
such as Japanese, Traditional Chinese, and Korean. Fonts with names
in those encodings won't have their names properly encoded, but
that should be OK as SFNTData::GetUniqueKey falls back to another
scheme for hashing fonts if the GetU16FullName call fails.

Tests on El Capitan and Sierra revealed Mac's use Microsoft/Unicode
SFNTNameTable names as well as Mac/Roman.

MozReview-Commit-ID: F8fyDVDwHs7

--HG--
extra : transplant_source : %F6%3F%5B%E9y%FD%93%8C%26s%D1n%FC%AEYp%5C%3D%A6j
2016-09-09 13:55:21 -07:00
Haik Aftandilian e4b0bb24b7 Bug 1228022 - part 1 - Support replay of Mac print stream, adds NativeFontResourceMac, ScaledFontMac::GetCairoFontFace; r=jfkthame
Adds the necessary plumbing to allow Mac font creation and
referencing during replay of a remote print stream.

MozReview-Commit-ID: 18jpeImPwCI

--HG--
extra : transplant_source : %AE%3A%13%7B%E2VzMM%0F%AD%BF%A0%EC%BD%40%5E%281n
2016-09-15 14:13:57 -07:00
Nicolas Silva f4d4ceeeed Bug 1302380 - Report canvas memory usage through the buffer provider. r=gw280 2016-09-16 10:13:19 +02:00
David Anderson 3836da7617 Remove PCompositable::DestroySync. (bug 1301780 part 2, r=nical) 2016-09-15 23:57:32 -07:00
David Anderson 5625cb3c96 Remove FallbackDestroyActors. (bug 1301780 part 1, r=nical) 2016-09-15 23:57:17 -07:00
David Anderson 3cab7db05c Use gfxCriticalError in CompositorBridgeChild::ProcessingError. (bug 1302413, r=milan) 2016-09-15 23:55:24 -07:00
Wes Kocher 14c8653f72 Merge inbound to central, a=merge 2016-09-15 16:28:10 -07:00
Wes Kocher 9b41318da3 Backed out changeset 1fef8a245875 (bug 1300338) for windows 8 reftest failures a=backout CLOSED TREE
--HG--
extra : amend_source : c838660fd6f11dda3ade05adda33b1beb9ea1590
2016-09-15 11:24:03 -07:00
Bas Schouten 4e18ab329e Bug 1300338: Do not attempt to preserve layer content when we're going to override it in a blend operation anyway. r=jrmuizel
MozReview-Commit-ID: DIEyrK89jtd

--HG--
extra : rebase_source : 0201b307ccc25f7d9ec40dd426effdaca586bb3b
2016-09-12 18:41:10 +02:00
Botond Ballo 31b240d553 Bug 1288210 - In AlignFixedAndStickyLayers, propagate the unconsumed portion of the adjustment to descendant layers. r=mstange
MozReview-Commit-ID: DOOCRA0RHtr

--HG--
extra : rebase_source : 3849309057c8dd6807df0af567edaa8e34cde04a
2016-09-23 19:32:57 -04:00
Botond Ballo 0bc0bc2b88 Bug 1288210 - Don't use ForEachNode in AlignFixedAndStickyLayers. r=mstange
It would make the next change awkard.

This also temporarily removes the current, incomplete, handling of an
unconsumed translation, but this will be added back (and made complete)
in the next commit.

MozReview-Commit-ID: 2tPOjEMRKfj

--HG--
extra : rebase_source : 55f35596fa9ff29563ab8434d8f1fd427b2c917d
2016-09-23 19:32:09 -04:00
Botond Ballo ec3f9a2275 Bug 1288210 - Update the comment above AlignFixedAndStickyLayers(). r=mstange
MozReview-Commit-ID: ri9bJZLHYB

--HG--
extra : rebase_source : f2d084a8110944212814344fd9174b6a6efdbbe3
2016-09-26 16:28:24 -04:00
Botond Ballo a9d2b5cbba Bug 1288210 - Simplify AlignFixedAndStickyLayers by not considering the local transform. r=kats,mstange
There shouldn't be a local transform because we create container layers
for fixed layers, so any transform would be on a descendant layer instead.

MozReview-Commit-ID: Kmya9vHZx1n

--HG--
extra : rebase_source : 88f31ae44e7baeff546624ba0e058d33ba6dc72f
2016-09-28 13:33:38 -04:00
Botond Ballo 9bad29cf7d Bug 1288210 - Simplify AlignFixedAndStickyLayers by not considering the ancestor transform. r=kats,mstange
There shouldn't be an ancestor transform, because transforms create
containing blocks for fixed-position descendants.

MozReview-Commit-ID: IVp1djLgIV9

--HG--
extra : rebase_source : d3a07e2bb0a727de25817d0d9ca18bdf92d6c6bf
2016-09-23 19:52:15 -04:00
Botond Ballo 6e45cf5c96 Bug 1288210 - Fixed a bug in how the ancestor transform is computed in AlignFixedAndStickyLayers. r=mstange
MozReview-Commit-ID: 8TL7PNpYv6R

--HG--
extra : rebase_source : 9f86bef66ca93e729c6c5a6f0e75d590bce03366
2016-09-26 17:19:34 -04:00
Botond Ballo 16c6388fe9 Bug 1288210 - Improve the use of strongly typed units in AsyncCompositionManager. r=mstange
MozReview-Commit-ID: 1EfGg0MNSBm

--HG--
extra : rebase_source : 50cdacad5c5e8b30bddf253584711a5668d23c8a
2016-09-21 17:33:29 -04:00
Carsten "Tomcat" Book 762cd18602 Merge mozilla-central to autoland 2016-09-28 16:52:13 +02:00
Bas Schouten 8c73fcc8e1 Bug 1303534: Make sure to pop all clips before grappig the image for the top-level 'layer'. r=jrmuizel
MozReview-Commit-ID: 2nHV0v7MInD

--HG--
extra : rebase_source : a0c7dcc55840020380afe4f0817b3b06f20bef77
2016-09-27 17:11:39 +02:00
Matt Woodrow d7d08ce68a Bug 1305326 - Use D3DChecks::DoesAlphaTextureSharingWork again. r=dvander
--HG--
extra : rebase_source : 0cf4a5574ebc4727e4394c95532e3279713c8284
2016-09-28 13:29:46 +13:00
Matt Woodrow ca2babed92 Bug 1292923 - Don't upload to textures during creation on Intel cards as it frequently crashes. r=dvander
--HG--
extra : rebase_source : aa4926ee6de3263736b9a16f10fe9fdb7333cf5d
2016-09-28 13:28:47 +13:00
Jeff Gilbert 8e0a37ee0b Bug 1306171 - Expect core profiles to fill in alpha for RGB->RGBA reads properly. - r=mtseng 2016-09-29 13:51:02 -07:00
Kartikaya Gupta cf44e08da9 Bug 1302736 - Fire click events with a clickCount of 2 when the user does a double-tap gesture with double taps not allowed. r=botond
MozReview-Commit-ID: 5qxHMoHXDXh
2016-09-29 10:05:25 -04:00
Andi-Bogdan Postelnicu 7af9a3ed9e Bug 1278242 - ignore initialization check for members from SurfaceDescriptorX11. r=jrmuizel
MozReview-Commit-ID: G262l8C2mCl

--HG--
extra : rebase_source : 65a1a1012ba461d54b846ddb8072167f9bf81c22
2016-06-06 16:25:28 +03:00
Alexandre Lissy f6ee6d53f2 Bug 1302641 - Update ImageBridgeChild::GetSingleton() use after 1298938 r=nical
MozReview-Commit-ID: Cs7xUcPnPoz
2016-09-14 19:01:21 +02:00
Nathan Froyd 16ae3f9d1e Bug 1298134 - fix member initialization order in VRDisplayOculus; r=kip 2016-09-14 19:28:26 -04:00
Nathan Froyd 07545fef15 Bug 1298132 - remove unused variables in gfxVROculus.cpp; r=kip 2016-09-14 19:28:26 -04:00
Kartikaya Gupta 463cd06d8d Bug 1302493 - Update the in-tree APZ documentation to reflect various changes since it was last updated. r=botond
MozReview-Commit-ID: Atu0RMSctq2
2016-09-14 07:54:46 -04:00
Kartikaya Gupta ff457cf4f7 Bug 1269067 - Add a gtest to ensure that mouse drag blocks and wheel blocks don't interrupt each other. r=botond
MozReview-Commit-ID: F7FlcaTl4jl
2016-09-14 07:54:37 -04:00
Kartikaya Gupta 51b88e5657 Bug 1289432 - Miscellaneous tweaks to address review comments. rs=botond
MozReview-Commit-ID: B57VOs7rdSH
2016-09-14 07:54:37 -04:00
Kartikaya Gupta dd5b4ca612 Bug 1289432 - Miscellaneous function renaming and documentation touchups. r=botond
MozReview-Commit-ID: IEUSxcIb0fN
2016-09-14 07:54:37 -04:00
Kartikaya Gupta fd5138db2a Bug 1289432 - Migrate remaining InputQueue code to use the new mQueuedInput structure instead of the block-based queue. r=botond
MozReview-Commit-ID: 41M1QGp8kcX
2016-09-14 07:54:37 -04:00
Kartikaya Gupta 9e574c3e0d Bug 1289432 - Update a couple more functions to stop fishing around inside mInputBlockQueue. r=botond
MozReview-Commit-ID: TsIGZK43wb
2016-09-14 07:54:37 -04:00
Kartikaya Gupta 5b33e5009a Bug 1289432 - Stop relying on the mEvents array inside the SetConfirmedTargetApzc implementations. r=botond
MozReview-Commit-ID: BG7BmQPa6g9
2016-09-14 07:54:37 -04:00
Kartikaya Gupta e9b2ac2229 Bug 1289432 - Drop the DispatchImmediate codepath. r=botond
Instead of having this special shortcut case that goes through MaybeHandleCurrentBlock
and DispatchImmediate, we can just add the input to the queue normally and call
ProcessInputBlocks() which effectively does the same thing. Doing it this way
also guarantees that mQueuedInputs is non-empty and mQueuedInputs[0] is the
input currently being processed. This is useful for future patches because it
will allow us to maintain the guarantee that the input block for the input
currently being processed can be readily accessed via GetCurrentInputBlock().

MozReview-Commit-ID: JuVbpsFLURo
2016-09-14 07:54:36 -04:00
Kartikaya Gupta f8d4e33b0b Bug 1289432 - Allow the CurrentBlock() and CurrentXXXBlock() functions to return null, and guard/assert at the callsites. r=botond
MozReview-Commit-ID: 77LWZBtAB9Y
2016-09-14 07:54:36 -04:00
Kartikaya Gupta 43f18cb292 Bug 1289432 - Update checks for unprocessed events to use mQueuedInputs instead of checking the block is at the head. r=botond
MozReview-Commit-ID: GEHDHhkLPKe
2016-09-14 07:54:36 -04:00
Kartikaya Gupta e494dee6f9 Bug 1289432 - Switch over to using the mActiveXXXBlock in some places instead of fishing around in mInputBlockQueue. r=botond
Note that this patch has a subtle functional change because the mActiveXXXBlock
variables can remain non-null even if there are no blocks in mInputBlockQueue.
In fact, this patch contains the secret sauce that allows the input queue to
handle interleaved input events, because this ensures that the interleaved events
end up getting associated with the pre-existing active block rather than creating
a new one.

MozReview-Commit-ID: 7GkbSe9IaC4
2016-09-14 07:54:36 -04:00
Kartikaya Gupta 19ed146d8d Bug 1289432 - Start populating the mQueuedInput array with queued input objects. r=botond
Most of the changes to InputBlockState.* are temporary and will be removed in a
future patch, once the transition to using mQueuedInputs is complete. However,
the code is useful as an intermediate step to verify that mQueuedInputs is
maintaining events in the same order and with the same lifetime as the old block-
based queue.

MozReview-Commit-ID: I8lVhMiT4hg
2016-09-14 07:54:36 -04:00
Kartikaya Gupta 05d91128f8 Bug 1289432 - Introduce a skeleton QueuedInput class. r=botond
Note that this patch makes the InputData hierarchy polymorphic.

MozReview-Commit-ID: HrZ2KhHeDoy
2016-09-14 07:54:36 -04:00
Kartikaya Gupta 4b8e63b75c Bug 1289432 - Have the InputQueue keep RefPtrs to the active block of each input type. r=botond
MozReview-Commit-ID: 36MatfdCVS8
2016-09-14 07:54:36 -04:00
Kartikaya Gupta eebba5eff4 Bug 1289432 - Use RefPtr instead of UniquePtr to hold the block state objects, since there will be multiple references to them soon. r=botond
MozReview-Commit-ID: BhWf1omgfoC
2016-09-14 07:54:36 -04:00
Edwin Flores 794b92fe7b Bug 1296996 - Use ProducerRead{Acquire/Release} in ReadBuffer::Create - r=jgilbert 2016-09-14 11:02:37 +01:00
Benoit Girard fab198cffc Bug 1288746 - Handle missing EGL failure IDs. r=jmuizel
MozReview-Commit-ID: Kk5vFNMdhjV

--HG--
extra : rebase_source : 8a8851b91fa045c8cb13e1aee2c8c7c62d2b0a4e
2016-09-13 14:17:29 -04:00
Phil Ringnalda 7fc271e5f5 Backed out changeset 663cde4dd044 (bug 1287004) for crashes [@ XGetWindowAttributes]
CLOSED TREE
2016-09-13 21:06:19 -07:00
Bill McCloskey a430c0ac5b Bug 1287004 - Give PuppetWidgets in parent process a compositor bridge (r=mattwoodrow) 2016-09-13 20:06:44 -07:00
George Wright 2f9a23cf41 Bug 1297565 - Fine tune and update our assertions based on old assumptions which may no longer be valid with a GPU process r=dvander 2016-09-13 22:58:54 -04:00
David Anderson b5c10b4d4e Ensure IPDL owns a reference to ImageBridgeChild. (bug 1298938 part 6, r=billm)
--HG--
extra : rebase_source : 958b9b9cb6704d5b1d5096f63ef31fb0a8828009
2016-09-13 16:30:57 -07:00
David Anderson 07336b7d13 Protect ImageBridgeChild's singleton with a StaticMutex. (bug 1298938 part 5, r=mattwoodrow)
--HG--
extra : rebase_source : 974ad32cfaf3ba6d1af75d8857f0a35da5aa3641
2016-09-13 16:30:57 -07:00
David Anderson 62129d7cb4 Remove racy ImageBridgeChild shutdown/creation checks. (bug 1298938 part 4, r=nical)
--HG--
extra : rebase_source : 0419df6221d59c4e9b085015d8483267fb3d446f
2016-09-13 16:30:57 -07:00
David Anderson f80736e0c8 Shutdown XPCOM-dependent resources in ImageBridgeChild at the appropriate time. (bug 1298938 part 3.1, r=mattwoodrow)
--HG--
extra : rebase_source : 9579e1ca6ec1af2fac7cd0fc4574b849cc8b8e12
2016-09-13 16:30:57 -07:00
David Anderson 3da3b0f45c Simplify ImageBridgeChild asynchronous shutdown. (bug 1298938 part 3, r=nical)
--HG--
extra : rebase_source : 04516571d48f85a94d88a8eb424f8e41e04483ca
2016-09-13 16:30:56 -07:00
David Anderson d1ef6f2696 Simplify ImageBridgeChild asynchronous initialization. (bug 1298938 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 1bdb57079ca7f3b4c2be6d1bcd5dd3f0ee0c92c1
2016-09-13 16:30:56 -07:00
David Anderson 82339b2d66 Route dispatches in ImageBridgeChild through |this|, not the singleton. (bug 1298938 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : bfadf1b91ad88503d4c37a6b4ac6dcc32cd78ca6
2016-09-13 16:30:56 -07:00
Jeff Muizelaar 05a47f9aef Bug 1298829. Move non-operator OVER handling to callback drawables. r=bas
This cleans up the code and makes us use an extra surface less.
2016-09-13 11:05:58 -04:00
Sotaro Ikeda 27cb0a7981 Bug 1300656 - Optimize gfxUtils::ConvertBGRAtoRGBA() r=jrmuizel 2016-09-12 22:19:29 -07:00
Hiroyuki Ikezoe f98523cf02 Bug 1216843 - Part 2: Implement effect iteration composition. r=birtles, r=smaug
MozReview-Commit-ID: 6u7WtXwL3y3
2016-09-13 11:48:44 +09:00
Kartikaya Gupta 310bc9b9db Bug 1302128 - Fix a test so that it actually exercises the APZ layerization codepath it intends to exericse. r=botond
MozReview-Commit-ID: 81iyzNtVFuv

--HG--
extra : rebase_source : ebb63cd1f8fdf10aa45285eeec75895d6c432548
2016-09-12 11:48:47 -04:00
Timothy Nikkel c630475661 Bug 1284350. Backed out changeset bb3bf463c0ec (Bug 1261554 (Part 3) - Visualize Visibility::IN_DISPLAYPORT regions in the APZ minimap visibility debugger. r=botond) 2016-09-12 00:19:08 -05:00
JerryShih 6781bead2d Bug 1160157 - remove the painting aborting for ClientPaintedLayer in device-remove/reset status. r=dvander
Since we already have the device-remove checking in ClientLayerManager, this checking is redundant.
2016-09-24 01:40:00 +02:00
JerryShih 215ea62c6a Bug 1160157 - skip content painting when the device is in device-reset/remove status. r=dvander 2016-09-24 01:40:00 +02:00
George Wright f8d5175299 Bug 1309988 - Change InputFrameID to unsigned r=kearwood 2016-10-20 15:28:03 -04:00
Jeff Muizelaar 9e14e630eb Bug 1292443 - Use unsigned integer arithmetic to avoid UB. r=dholbert 2016-10-20 21:15:27 +02:00
Carsten "Tomcat" Book c81bda3e2d Merge mozilla-central to autoland 2016-09-09 12:19:59 +02:00
Carsten "Tomcat" Book 0f2c669a48 merge mozilla-inbound to mozilla-central a=merge 2016-09-09 12:02:43 +02:00
Shing Lyu db11558e50 Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00
Manish Goregaokar aad318e17a Bug 1300337 - Replace None_ variants from nsStyleConsts.h with None; r=heycam,TYLin
MozReview-Commit-ID: CxHzbEzjLxT

--HG--
extra : rebase_source : 232f90b8b107f7fb49f47a29a4e493660b8a7d87
2016-09-04 00:16:58 +05:30
Wes Kocher c067786818 Merge m-c to inbound, a=merge CLOSED TREE 2016-09-08 15:28:31 -07:00
Wes Kocher 14246ed95a Backed out 7 changesets (bug 1298938) for mass leaks a=bustage CLOSED TREE
Backed out changeset d710b5ac1e13 (bug 1298938)
Backed out changeset df832e32e7aa (bug 1298938)
Backed out changeset 3f6883401be4 (bug 1298938)
Backed out changeset e43fc0029b90 (bug 1298938)
Backed out changeset 6dd0b4b22b23 (bug 1298938)
Backed out changeset 81e994db6b8c (bug 1298938)
Backed out changeset a757098353c6 (bug 1298938)
2016-09-08 13:28:14 -07:00
Wes Kocher b916384275 Merge inbound to m-c a=merge 2016-09-08 15:21:19 -07:00
David Anderson 525494dda4 Ensure IPDL owns a reference to ImageBridgeChild. (bug 1298938 part 6, r=billm)
--HG--
extra : rebase_source : dc741004038c3ee4547d00959a35113f4e203ffc
2016-09-08 11:29:32 -07:00
David Anderson dfe373c79e Protect ImageBridgeChild's singleton with a StaticMutex. (bug 1298938 part 5, r=mattwoodrow)
--HG--
extra : rebase_source : ca2adf8e3a11e35633fdafd8a824e6528a3b7182
2016-09-08 11:29:32 -07:00
David Anderson 91559fcffe Remove racy ImageBridgeChild shutdown/creation checks. (bug 1298938 part 4, r=nical)
--HG--
extra : rebase_source : 47d1a0b3da521d81da9ffea7e259104b508b7415
2016-09-08 11:29:31 -07:00
David Anderson 435ec16468 Shutdown XPCOM-dependent resources in ImageBridgeChild at the appropriate time. (bug 1298938 part 3.1, r=mattwoodrow)
--HG--
extra : rebase_source : 1ea89a87362f86b7730f6a745dbcacb634806e07
2016-09-08 11:28:05 -07:00
David Anderson f35fc93b1c Simplify ImageBridgeChild asynchronous shutdown. (bug 1298938 part 3, r=nical)
--HG--
extra : rebase_source : 841159573882b9341ca4cca575d27c8ff9e80650
2016-09-08 11:27:35 -07:00
David Anderson c6665884b8 Simplify ImageBridgeChild asynchronous initialization. (bug 1298938 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 9ccc253894628c783bb74f96f9df5eae9a0469c0
2016-09-08 11:27:31 -07:00
David Anderson 0ea17f8b9f Route dispatches in ImageBridgeChild through |this|, not the singleton. (bug 1298938 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 13efa7415ef00ba9dc3ebcc4386b23a7b7d9a7f7
2016-09-08 11:27:26 -07:00
Jeff Gilbert 06b3ddf5fd Bug 1300932 - Enable draw_buffers on ES3, but not WEBGL_draw_buffers. - r=jerry
MozReview-Commit-ID: DMUoG23WTmr
2016-09-08 11:34:32 -07:00
Mason Chang f76f0efdc8 Bug 1300025. Fix build bustage on non-windows. r=me. CLOSED TREE 2016-09-08 09:55:42 -07:00
Mason Chang b4407fab22 Bug 1300025. Use embedded bitmaps in CJK fonts with skia on Windows. r=lsalzman 2016-09-08 09:34:10 -07:00
Nicolas Silva 56e5119c61 Bug 1301027 - Remove the matrix * point operator and replace it with TransformPoint methods. r=Bas 2016-09-08 18:26:03 +02:00
Bas Schouten 4d5484cc37 Bug 1297427: Discount border dots with negative radii. r=jrmuizel
MozReview-Commit-ID: 1CONhbL8ZAb

--HG--
extra : rebase_source : 07766295f9b7e238882f8711720bb1ce48977ade
2016-09-08 14:00:54 +02:00
James Willcox 3b0262c197 Bug 1270241 - Remove redundant define MOZ_USING_ANDROID_JAVA_WIDGETS. r=kats
MozReview-Commit-ID: fkEeA5EemK
2016-09-08 10:03:34 -04:00
Wes Kocher 819bc41348 Merge m-c to autoland, a=merge 2016-09-08 15:29:04 -07:00
Kartikaya Gupta d83081b2a6 Bug 1301461 - Minor fix for gtest output prettiness. r=milan
MozReview-Commit-ID: BWs9AKDc5sE

--HG--
extra : rebase_source : 4313318b2934bb329fa24df50fb0b91c4de5dd0d
2016-09-08 13:41:43 -04:00
Tooru Fujisawa d4bbac96b5 Bug 1297427 - Use calculate curve origin instead of reusing center curve origin in DottedCornerFinder. r=bas 2016-09-08 10:14:14 +09:00
Benoit Girard 54e8df5f17 Bug 1251615 - Disallow Copy/Assignment to LayerProperties. r=mstange
MozReview-Commit-ID: KsT3FVXHwQK

--HG--
extra : rebase_source : 76c029baf5045d24f333853079e9af56bc7d8cf8
2016-09-07 15:21:20 -04:00
Lee Salzman 5abbe17848 Bug 1301136 - make Skia VerifyRGBXFormat assertions give more useful information. r=mchang
MozReview-Commit-ID: 2En9Unt2LMM
2016-09-07 14:42:15 -04:00
Carsten "Tomcat" Book 656d6db419 Merge mozilla-central to mozilla-inbound 2016-09-07 17:21:27 +02:00