Commit Graph

7539 Commits

Author SHA1 Message Date
Botond Ballo
54e53e75c4 Bug 1257288 - Have APZ hit testing respect scroll clips. r=kats
MozReview-Commit-ID: AZU5TEMvySG

--HG--
extra : rebase_source : f435fa574a52bdf90690c1ede739f248d2f0d99f
2016-04-20 18:38:25 -04:00
Botond Ballo
ff18651ad3 Bug 1257288 - Improve the APZ gtest infrastructure to make writing multi-FrameMetrics tests easier. r=kats
MozReview-Commit-ID: L9QN0FhLwRU

--HG--
extra : rebase_source : 8b5a5fca7f26c78b53280647a88de285a2208fd8
2016-04-20 18:37:45 -04:00
Botond Ballo
a278e42605 Bug 1257288 - Fix a bug in APZCTM logging code. r=kats
MozReview-Commit-ID: 9NrCsEt8kA2

--HG--
extra : rebase_source : a2e336bf5b80b94e90ed3d9c9b0f12f1c85cd86f
2016-04-20 18:37:11 -04:00
Botond Ballo
0b5440e37a Bug 1257288 - Move IntersectMaybeRects() to gfx/2d/Rect.h. r=kats
MozReview-Commit-ID: C99GwsLN7Zg

--HG--
extra : rebase_source : e12db0995ec0f1ffc30e0f01b8c85081236b405c
2016-04-20 17:16:09 -04:00
Nicolas Silva
75c5a010e8 Bug 1265282 - Annotate reports instead of crashing when setting an incompatible compositor (D3D11). r=dvander 2016-04-21 18:12:19 +02:00
Seth Fowler
4b0251d526 Bug 1261554 (Part 3) - Visualize Visibility::IN_DISPLAYPORT regions in the APZ minimap visibility debugger. r=botond 2016-04-21 01:22:10 -07:00
Botond Ballo
1be1083028 Bug 1265515 - Update nsAutoPtr.h includes in gfx/layers/apz to RefPtr.h. r=kats
MozReview-Commit-ID: IcTMATcm0Wm

--HG--
extra : rebase_source : 324b527b21b24b88f7b9ca7c5556a93b55915009
extra : source : e897927f1ca89a175e4014264d3dea93353ec891
2016-04-18 16:01:53 -04:00
Botond Ballo
188c04fbd0 Bug 1266154 - Don't start a scroll snap animation if we're already at the destination. r=kats
MozReview-Commit-ID: EP7s414NQ4K

--HG--
extra : rebase_source : 3f57b46f1e23c69f1efd7039fada2b8c60cd7f4b
extra : amend_source : 580e1a95597e6c9fe56e3b655f52c7817e391df2
2016-04-18 20:05:17 -04:00
Kartikaya Gupta
07dc705da1 Bug 1265513 - Do a fuzzy match when checking to see if a scroll will result in overscroll. r=botond
MozReview-Commit-ID: 3fFZHXWMnWv
2016-04-20 15:36:13 -04:00
Kartikaya Gupta
5024e050fd Bug 1265806 - Update scrollbar finding code to deal with layer trees on both OS X and Windows properly. r=rbarker
MozReview-Commit-ID: GBC5Y9lLAoL
2016-04-20 14:44:18 -04:00
Botond Ballo
9ccd2b5e76 Bug 1260018 - Route drag events to APZ, so it can accurately detect the end of a drag. r=kats 2016-04-18 14:24:28 -04:00
Jeff Muizelaar
b376008551 Bug 1265960 - Remove gfxReusable* r=Bas
These aren't used anymore.
2016-04-20 11:39:15 -04:00
Masayuki Nakano
cbe8f5268a Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
MozReview-Commit-ID: ESWM5ZyBpSR

--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Kartikaya Gupta
726b05f89b Bug 1231396 - Add a pref to record and print out the number of pixels painted. r=mstange
MozReview-Commit-ID: 2qqnL6rqjcL
2016-04-19 17:07:57 -04:00
Sotaro Ikeda
3b81e9dd7d Bug 1262278 - Rename PlanarYCbCrImage::SetData and PlanarYCbCrImage::SetDataNoCopy r=nical 2016-04-18 20:12:41 -07:00
Kartikaya Gupta
322ec2cbd4 Bug 1255823 - Add a two-step destruction process to PAPZ. r=dvander
MozReview-Commit-ID: FuiwoIAZUKj
2016-04-18 17:25:25 -04:00
Kartikaya Gupta
fa9887a493 Bug 1265424 - Ensure that HasReceivedAllContentNotifications doesn't start returning true if the target APZC was confirmed by timeout. r=botond
MozReview-Commit-ID: FrWn0rw4Qtq
2016-04-18 16:04:30 -04:00
Kartikaya Gupta
38176020f4 Bug 1265424 - Record if the target was confirmed via a timeout or not. r=botond
MozReview-Commit-ID: BMiJsKlh2HB
2016-04-18 16:04:25 -04:00
Markus Stange
40e0b92cb8 Bug 1236043 - Use TiledRegion for the invalid region of a layer. r=jrmuizel
MozReview-Commit-ID: BNUyUPbrnU1

--HG--
extra : rebase_source : 80342a281d6fd30ba8d12b77b3af4aec60376294
2016-04-18 13:49:14 -04:00
Wes Kocher
1740fab4fd Backed out changeset 6d973d2f1bae (bug 1255823) for leaks on at least Linux 64 tests CLOSED TREE
MozReview-Commit-ID: 4PsUF6wIJ7y
2016-04-18 10:39:33 -07:00
Kartikaya Gupta
6897e7e090 Bug 1248078 - Remove the dedicated scroll acknowledgement message. r=botond
MozReview-Commit-ID: 6QGFiZ8QGl7
2016-04-18 12:31:54 -04:00
Kartikaya Gupta
df9cc16f78 Bug 1255823 - Add a two-step destruction process to PAPZ. r=dvander
MozReview-Commit-ID: E6dyipItPSm
2016-04-18 10:15:00 -04:00
Masayuki Nakano
07b6f24132 Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
MozReview-Commit-ID: 167PQWJDEHW

--HG--
extra : rebase_source : 6cd44095b9f33e03190972f043087786cbd772f2
2016-04-14 17:03:14 +09:00
Kartikaya Gupta
ec856624f4 Bug 1237343 - Replace uses of mozilla::Vector with nsTArray. r=botond
MozReview-Commit-ID: BBLWj3GJ3dE

--HG--
extra : rebase_source : 2c52ac944da8c1e3c6d4bb768bc3a672f3e80918
2016-04-15 06:41:25 -04:00
Mike Conley
1cff2809c8 Bug 1264409 - Make last transaction ID available via nsIDOMWindowUtils, and pass transaction ID through MozAfterPaint. r=mattwoodrow,mrbkap
MozReview-Commit-ID: 7wCYif8F6ws

--HG--
extra : rebase_source : 5a87a558dbb7955c04842b6f8b71adb15ecd3370
2016-04-13 16:59:15 -04:00
Milan Sreckovic
9f800c9f45 Bug 1262681 - Draw target also has to be valid for us to demand a snapshot. r=bas 2016-04-13 09:56:00 +02:00
Kartikaya Gupta
0b2d4ef75f Bug 1258851 - Update HitTestingTreeNode::IsScrollbarNode to include the scrollbar track layers. r=rbarker
MozReview-Commit-ID: CmyeeEPPYAq

--HG--
extra : rebase_source : f6b01531e45881409b6c4796a8b5ecff135217d4
2016-04-14 16:42:24 -04:00
Kartikaya Gupta
987d948e55 Bug 1258851 - Propagate the isScrollbarContainer layer flag to the compositor. r=mattwoodrow
MozReview-Commit-ID: F0U0mNTI9i

--HG--
extra : rebase_source : 43edddd678e7c6d77ddb016c8c2313f1f491a16c
2016-04-14 16:42:18 -04:00
Sotaro Ikeda
6da1034b03 Bug 1263053 - Enable tiling on BasicCompositor r=nical 2016-04-14 20:08:05 -07:00
Nicolas Silva
2662119963 Bug 1258768 - Remove the remaining unsafe compositor casts. r=dvander 2016-04-14 12:38:42 +02:00
Nicolas Silva
fbb16ba823 Bug 1258768 - Check compositor backends before casting. r=dvander 2016-04-14 12:38:38 +02:00
David Anderson
ef94ddb6f5 Remove drawWidgetAsOnScreen. (bug 1264393, r=mattwoodrow, webidl r=khuey)
--HG--
extra : rebase_source : c885b1db5ede6caa8b1e141d6d76769bac82b16c
2016-04-13 19:24:42 -04:00
Wes Kocher
f3df247887 Backed out 2 changesets (bug 1261347) for test_browserElement_oop_getWebManifest.html ASAN failures
Backed out changeset 4b36ba619815 (bug 1261347)
Backed out changeset 685e89b31d6b (bug 1261347)

MozReview-Commit-ID: GTd1qTIR3ni
2016-04-13 10:55:08 -07:00
Kartikaya Gupta
6261aa39a0 Bug 1257641 - Add a test for APZ paint-skipping and event transformations after a skipped paint. r=botond
MozReview-Commit-ID: GdAT4VbZ71d
2016-04-13 10:21:14 -04:00
Kartikaya Gupta
0d937a92c1 Bug 1257641 - Allow enabling/disabling of displayport suppression for tests. r=botond
MozReview-Commit-ID: 7p2RIyPyzkH
2016-04-13 10:21:13 -04:00
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