Commit Graph

8451 Commits

Author SHA1 Message Date
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
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
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 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
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
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
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
Sotaro Ikeda
5a134d6b42 Bug 1210357 - Handle VP9 colorspace BT.709 r=mattwoodrow,bas.schouten 2016-10-18 10:09:00 -07: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
Carsten "Tomcat" Book
d6850a3a86 merge mozilla-inbound to mozilla-central a=merge 2016-10-17 11:19:02 +02: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
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
Wes Kocher
42083975b0 Merge inbound to central, a=merge 2016-10-14 14:40:49 -07: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
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
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
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
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
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
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