Commit Graph

7504 Commits

Author SHA1 Message Date
Kartikaya Gupta
5419be90e8 Bug 1257641 - Remove now-unused code for the lightweight scroll offset update message. r=botond
MozReview-Commit-ID: EXGIDgO13v7
2016-04-13 10:21:13 -04:00
Kartikaya Gupta
a333c6e537 Bug 1257641 - Use empty transactions to carry scroll offset updates to APZ that don't require a repaint. r=mattwoodrow,mstange,botond
MozReview-Commit-ID: KNeGSKldmp7
2016-04-13 10:21:13 -04:00
Kartikaya Gupta
e4f0d8e002 Bug 1257641 - Replace the mUpdateScrollOffset bool with an enum, needed in the next patch. r=botond
MozReview-Commit-ID: AtmpQTAUH8L
2016-04-13 10:21:13 -04:00
Nicolas Silva
62e68018b0 Bug 1261347 - Make some noise when things are deallocated late during shutdown. r=edwin 2016-04-13 15:50:08 +02:00
Nicolas Silva
3f646c7c5b Bug 1261347 - Consolidate the destruction of CompositableClient/TextureClient objects. r=edwin 2016-04-13 15:50:04 +02:00
Sotaro Ikeda
91dd2137b1 Bug 1264142 - Add ImageLayerComposite::GetFullyRenderedRegion() r=mattwoodrow 2016-04-12 23:49:40 -07:00
Sotaro Ikeda
c417e9ad15 Bug 1254029 - Do not wait in ImageBridgeChild::FlushAllImages() except gonk r=nical 2016-04-12 17:22:04 -07:00
Kartikaya Gupta
3313cbf0b0 Bug 1261373 - Record how long it takes for content response notifications to be delivered to APZ. r=botond f=bsmedberg
MozReview-Commit-ID: 74sGJ0JRLai
2016-04-12 16:17:20 -04:00
Kartikaya Gupta
8db4e096c5 Bug 1262432 - Remove assertion that may be legitimately false sometimes. r=tnikkel
MozReview-Commit-ID: HiGUlpypb75

--HG--
extra : rebase_source : 98604609b2080ac15c31443d95c9ef25e02e1865
2016-04-12 15:19:47 -04:00
Milan Sreckovic
e0b2b9e425 Bug 1259513: Make gfxContext constructor private, use a utility function that can return nullptr. r=bas,lsalzman
MozReview-Commit-ID: rHhLEDZEQt

--HG--
extra : rebase_source : 4988f3f488c19dd35a9979e96f78a5511ee8f3d2
2016-04-12 15:18:11 -04:00
Andrew McCreight
2175118c7d Bug 1255634 - APZ should scroll by more than a page with large values of mousewheel.default.delta_multiplier_{x,y}. r=masayuki,kats
The constants in doTestWholeScroll() have to be reduced because
otherwise some subtests end up returning results that are off by a few
pixels with e10s, presumably due to differences in floating point
precision in APZ compared to non-APZ.

MozReview-Commit-ID: BxmqHrcN8IL
2016-04-12 00:06:49 -04:00
JerryShih
53f6a7d204 Bug 1252237 - Remove the TextureHost shmem mapping failed assert. r=milan 2016-04-11 10:23:00 -04:00
Botond Ballo
460fb32c11 Bug 1249040 - Allow wheel scrolls to accumulate in the presence of scroll snapping. r=kats
MozReview-Commit-ID: EUyGvkoyu8I

--HG--
extra : rebase_source : b9f9bbb7a11a976ff696c28b026d292a8f90d0e1
2016-04-07 17:41:55 -04:00
Nicolas Silva
8c83eea5af Bug 1263515 - Destroy the compositor earlier in RecvWillStop when it still has a valid widget. r=jnicol 2016-04-11 18:18:24 +02:00
Sotaro Ikeda
0c6a8d0ef6 Bug 1262601 - Handle video content as opaque in PostProcessLayers() r=mattwoodrow 2016-04-10 19:51:21 -07:00
Sotaro Ikeda
19a885dbd3 Bug 1262759 - Remove unused code from SourceSurfaceImage::GetTextureClient() r=nical 2016-04-07 18:14:15 -07:00
Botond Ballo
5ae9dd4d7e Bug 1259296 - Make sure APZ smooth scroll animations end at their exact destination scroll offset. r=kats
This avoids getting "stuck" at a scroll snap point with wheel scrolling.

MozReview-Commit-ID: 587UC8u1bv0

--HG--
extra : source : 3dbbf506be2c4fe2ee9b9a04d604b1869ba5e909
extra : histedit_source : cd4845c964ebc126c458d1ac46315321e7a2d0d4
2016-04-04 17:47:33 -04:00
Botond Ballo
4058840cb9 Bug 1259296 - Scroll snap in the compositor in response to wheel events. r=kats
MozReview-Commit-ID: 9fOlssstgvR

--HG--
extra : source : fbdee753c4618cbc1a7c79e3ec07b7479f93a05d
extra : histedit_source : dd42dfa282ea2e14fe5c9e028acc699746fcf8bc
2016-04-04 17:43:21 -04:00
William Chen
303bd1fd42 Bug 1259590 - Remove B2G ACL code. r=khuey 2016-04-07 09:50:01 -07:00
Nicolas Silva
3aa33acdb7 Bug 1215265 - Shut PCompositorBridge down properly. r=sotaro 2015-11-24 14:50:51 +13:00
Nicolas Silva
3c1df5d494 Bug 1215265 - Shut PImageBridge down properly. r=sotaro 2015-11-24 15:33:32 +13:00
Nicolas Silva
499c3f36d7 Bug 1261321 - Null-check when the CompositableClient when forcing its destruction at shutdown. r=jnicol 2016-04-07 14:35:58 +02:00
Nicolas Silva
f0dbe33f5c Bug 1242448 - Ensure the tile pool does not hold textures during shutdown. r=edwin 2016-04-07 14:35:55 +02:00
Sotaro Ikeda
c896de69c3 Bug 1262328 - Add Add ClientLayer::HandleMemoryPressure() r=nical 2016-04-06 18:44:05 -07:00
Morris Tseng
7b88f4cc64 Bug 1262361 - Use gfxCriticalError to collect useful info when device reset. r=milan
--HG--
extra : commitid : 9I7omIeFezY
2016-04-07 09:37:21 +08:00
Randall Barker
d2124b8263 Bug 1257959 - Dynamic toolbar transition seems to slow down flings r=kats 2016-04-06 14:42:01 -07:00
Wes Kocher
da864e5d84 Backed out changeset 65e9d46daf3e (bug 1255823) for various failures that end up crashing in [@ mozilla::layers::PAPZParent::DestroySubtree]
MozReview-Commit-ID: 31J6pCNfW2D
2016-04-06 13:09:41 -07:00
Kartikaya Gupta
3f15bc58f2 Bug 1255823 - Add a two-step destruction process to PAPZ. r=dvander
MozReview-Commit-ID: 5HB1DVO4qeK
2016-04-06 12:09:55 -04:00
Matt Woodrow
ba8efb79a8 Bug 1258313 - Allow snapping of 'pseudo' 3d transforms. r=jrmuizel
--HG--
extra : rebase_source : df64389373ed7e880642dd39c9afd44a92db2423
2016-04-06 15:29:32 +12:00
Kartikaya Gupta
68c2287471 Bug 1256532 - Show the critical displayport in the APZ minimap as well. r=BenWa
MozReview-Commit-ID: HSCJ8G8tpiR
2016-04-05 17:30:00 -04:00
Markus Stange
60ef932ecf Bug 1260335 - On perspective ContainerLayers, the clip deferred from their child layer needs to be affected by the perspective layer's async transforms. r=botond
MozReview-Commit-ID: EEgsdFXGI1E

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

--HG--
extra : rebase_source : 6588e687da119db175d5cc2bdf8572f7725b5474
extra : histedit_source : 09c4b9506b86a1986902d62e3cd0079f098f68df
2016-03-30 15:34:03 -04:00
Sotaro Ikeda
0dcd939cf9 Bug 1259541 - Reduce clearing backbuffer in nsBaseWidget::CreateBackBufferDrawTarget() r=mattwoodrow 2016-04-04 18:25:04 -07:00
Nicolas Silva
9a91eca96b Bug 1243466 - Don't crash if DeallocPImageContainerChild is called prematurely. r=sotaro 2016-04-04 10:03:37 +02:00
Kartikaya Gupta
b5b9ac8266 Bug 1246290 - Add a simple gtest to exercise the force-disabled-APZ codepaths. r=botond
MozReview-Commit-ID: AN5HOPgj1Tr
2016-04-03 13:13:59 -04:00
Kartikaya Gupta
e939861411 Bug 1246290 - Add a pref to allow disabling APZ on documents which have scroll-linked effects. r=botond
MozReview-Commit-ID: HQkHUiEWaWc
2016-04-03 13:13:59 -04:00
Kartikaya Gupta
5238d9ba37 Bug 1246290 - Add the ability for APZCs to not expose async transforms. r=botond
The call site is responsible for indicating whether or not the APZC should respect
the force-disable flag in the APZCs. This is because we only want to respect that
flag when doing visual transforms (similar to how scrollinfo layers work) and not
when doing transforms on input events.

MozReview-Commit-ID: Dqgz6fqJGXG
2016-04-03 13:13:58 -04:00
Kartikaya Gupta
967f8c8fb1 Bug 1246290 - Add a bit to FrameMetrics to indicate if APZ-scrolling should be disabled on that APZC. r=botond
MozReview-Commit-ID: 5NeFP31Y0Qg
2016-04-03 13:13:58 -04:00
Kartikaya Gupta
36b6d35999 Bug 1246290 - Refactoring to get rid of SampleContentTransformForFrame from AsyncPanZoomController. r=botond
MozReview-Commit-ID: Kh6ptJ7tQms
2016-04-03 13:13:58 -04:00
Masayuki Nakano
57445d0047 Bug 1259668 Rename WidgetTouchEvent::touches to WidgetTouchEvent::mTouches r=smaug
MozReview-Commit-ID: FLbows8davI

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

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

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

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

--HG--
extra : rebase_source : 95cc626bb6260fc11efa71db4e1e66a01d770508
2016-03-16 20:58:08 -04:00
Botond Ballo
895380f52c Bug 1219296 - Ship scroll snap information to the compositor. r=kats
MozReview-Commit-ID: 2aCaAEC5Csu

--HG--
extra : rebase_source : 840fa9478c32932c40cf3f9222d14da567f9d41b
2016-03-11 22:04:53 -05:00
Botond Ballo
77cebd9dd2 Bug 1219296 - Make ScrollMetadata::sNullMetadata a StaticAutoPtr so that ScrollMetadata can admit nsTArray members. r=kats
MozReview-Commit-ID: LOZdnAhL5xH

--HG--
extra : rebase_source : 39b619a7945e9f3c867dbe67e700e8b83d7c3699
2016-03-30 17:04:10 -04:00
Botond Ballo
4690842281 Bug 1219296 - Factor out scroll snap information into a form that's usable by the compositor. r=kats
MozReview-Commit-ID: DTvu7UsKsBg

--HG--
extra : rebase_source : 71831d884d128bc9e50aac55c7a8302f7ffe74f8
2016-03-18 20:07:27 -04:00
Botond Ballo
a74ec8c79b Bug 1219296 - Split fields not needed for repaints out from FrameMetrics. r=kats
MozReview-Commit-ID: DymHOSI6yYK

--HG--
extra : rebase_source : 1996bcb7f005c02b94031fe1c73d5136814b0296
2016-03-28 19:14:52 -04:00