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