Commit Graph

15818 Commits

Author SHA1 Message Date
Kartikaya Gupta
1b7df272e2 Bug 1229039 - If a PanGesture input block gets interrupted, just start a new block instead of not sending the rest of the events through the APZ. r=mstange 2015-12-17 10:05:47 -05:00
Kartikaya Gupta
61d91466e4 Bug 1229039 - Miscellaneous logging fixes/updates. r=botond 2015-12-17 10:05:12 -05:00
Nicholas Nethercote
c32445145d Bug 1231256 (part 5) - Remove dead FromCSSPerspectiveInfo() function. r=vlad. 2015-12-07 15:20:02 -08:00
Nathan Froyd
faa66fbfc6 Bug 1232772 - fix typo causing Windows build bustage; r=me 2015-12-16 17:12:45 -05:00
Botond Ballo
080bb85c29 Bug 1231228 - Gtest. r=kats 2015-12-16 10:49:42 -05:00
Botond Ballo
9df8275310 Bug 1231228 - Correctly check for whether an APZC along the handoff chain is panned into overscroll. r=kats 2015-12-14 19:55:37 -05:00
Nathan Froyd
f0773715c5 Bug 1233069 - add override declarations to Windows graphics headers; r=Bas
This change silences a number of -Winconsistent-missing-override
warnings on clang-cl.
2015-12-16 10:41:21 -05:00
Mason Chang
3223ccb5f2 Bug 1230357. Enable subpixel text on skia content backends. r=lsalzman 2015-12-16 12:43:49 -08:00
Jeff Muizelaar
b60330f131 Bug 1232902. Update ANGLE to chromium/2592 2015-12-16 10:13:56 -05:00
Carsten "Tomcat" Book
c452724ae0 Backed out changeset 1cbfa21cf2b5 (bug 1147673) for mulet r5 test failures on a CLOSED TREE 2015-12-16 11:53:11 +01:00
Carsten "Tomcat" Book
b42e568ef5 Backed out changeset 9e1f2694536c (bug 1147673) 2015-12-16 11:52:41 +01:00
Botond Ballo
e4c85d2cae Bug 1147673 - Determine more accurately whether an async transform affects a layer's clip rect. r=kats 2015-10-02 18:35:21 -04:00
Markus Stange
971b3debcd Bug 1147673 - Unadjust clip before intersecting it with the scroll clip. r=botond 2015-10-09 14:30:44 +02:00
Nicholas Nethercote
d56b59cf31 Bug 1232576 (part 2) - Rename gfxContext::GetCairo() as GetRefCairo() and make it static. r=jfkthame.
This means its callers now need a DrawTarget instead of a gfxContext.
2015-12-14 22:26:23 -08:00
Nicholas Nethercote
f0f8f6f4ec Bug 1232576 (part 1) - Move the reference |cairo_t*| from gfxContext to DrawTarget (as user data). r=jfkthame. 2015-12-14 22:23:51 -08:00
Jeff Muizelaar
70da0f5fbb Bug 1232668. Allow using kTex2DBlit_FragShaderSource on non-ES targets.
This avoids compile errors when using Mesa.
2015-12-15 12:48:15 -05:00
Kartikaya Gupta
e8fcd59b57 Bug 1231915 - Ignore the APZ pref if MOZ_ANDROID_APZ is enabled, since the pref doesn't cover all the relevant code. r=rbarker 2015-12-15 09:17:41 -05:00
Nicholas Nethercote
b73a66902a Bug 1231256 (part 4) - Remove dead SetContext() declaration. r=jfkthame. 2015-12-07 15:19:56 -08:00
Kartikaya Gupta
6c979374d5 Bug 1229052 - Log a warning when we detect a scroll-linked effect based on the scroll event. r=roc 2015-12-14 14:47:24 -05:00
Kartikaya Gupta
9a7aeabc26 Bug 1232484 - Remove 'using namespace gfx' and missing includes that were papered over by unified builds but can cause breakage. r=BenWa 2015-12-14 15:09:17 -05:00
Botond Ballo
906b014148 Bug 1170325 - Undo an unnecessary signature change to AsyncPanZoomAnimation::TakeDeferredTasks(). r=Waldo
Also change the implementation to use Move() instead of swap().
2015-12-14 18:38:25 -05:00
Botond Ballo
5d743cea98 Bug 1230552 - Minor follow-up to add an assertion. rs=kats 2015-12-14 18:10:14 -05:00
Jeff Muizelaar
92eb609ff5 Bug 1232480. Use 'precision' instead of 'prevision'
A fun little typo.
2015-12-14 18:02:53 -05:00
Nicholas Nethercote
842d167ba4 Bug 1231864 (part 2) - Clean up gfxWindowsNativeDrawing::BeginNativeDrawing(). r=mattwoodrow.
This patch inlines the CurrentSurface() and GetDCWithClip() calls in
BeginNativeDrawing(). This allows them to share a single |cairo_t*| and gets
rid of the GetCairo() call in GetDCWithClip(), which was one of those confusing
ones that only made sense if its a Cairo backend.

The patch also inverts the sense of mDeviceOffset, and changes its type from
gfxPoint to Point.
2015-12-14 15:00:08 -08:00
Nicholas Nethercote
34b063cfa8 Bug 1231864 (part 1) - Remove useless GetCairo() call in gfxWindowsNativeDrawing::BeginNativeDrawing(). r=mattwoodrow.
GetCairo() never returns null so testing its result like this is pointless.
2015-12-14 14:59:33 -08:00
Botond Ballo
38561cb34b Bug 1230552 - Fuzz a floating-point comparison to avoid an intermittent test failure. r=bustage 2015-12-14 17:46:55 -05:00
Botond Ballo
764af55d33 Bug 1230552 - Extend the immediate scroll handoff pref to apply to flings. r=kats 2015-12-12 14:31:25 -05:00
Botond Ballo
22c95d8c4a Bug 1230552 - Introduce a structure to group fling handoff state. r=kats
This patch also cleans up APZCTreeManager::DispatchFling() a bit.
2015-12-12 14:31:20 -05:00
Botond Ballo
f0c8cde4e0 Bug 1230552 - Make immediate scroll handoff for panning prefable. r=kats
Immediate handoff is the current behaviour. The alternative is to
only allow a single input block to scroll a single APZC.
2015-12-14 14:47:56 -05:00
Botond Ballo
fb864477b3 Bug 1230552 - Introduce a helper AsyncPanZoomController::CurrentInputBlock(). r=kats 2015-12-12 13:03:52 -05:00
Botond Ballo
264d5e07bd Bug 1230552 - Const-correctness improvements. r=kats 2015-12-11 17:42:50 -05:00
Botond Ballo
1796dbd9db Bug 1230552 - Update some out-of-date comments and remove an old #undef. r=kats 2015-12-11 17:49:45 -05:00
Kartikaya Gupta
25b280fd3d Back out 5 csets from bug 1229052 on a CLOSED TREE for failing to fix the nonunified build error even after many attempts. r=backout 2015-12-14 15:52:31 -05:00
Kartikaya Gupta
2f22b09552 Bug 1229052 - Another follow-up to fix pre-existing non-unified build bustage that got exposed by new file addition. r=me 2015-12-14 15:09:17 -05:00
Kartikaya Gupta
fcb5da3dff Bug 1229052 - Follow-up to fix static analysis build bustage. r=me 2015-12-14 15:02:56 -05:00
Kartikaya Gupta
ebbfd965d0 Bug 1229052 - Log a warning when we detect a scroll-linked effect based on the scroll event. r=roc 2015-12-14 14:47:24 -05:00
Bogdan Postelnicu
4a009205f0 Bug 1230913 - modified assert in order to prevent null pointer dereference. r=roc 2015-12-14 00:01:00 +01:00
Kartikaya Gupta
69e23d32c6 Bug 1232094 - Make some APZ prefs live. r=botond 2015-12-14 09:29:02 -05:00
Bogdan Postelnicu
51776907d2 Bug 1230911 - modified asseert in order to prevent null pointer dereference. r=roc 2015-12-13 23:59:00 +01:00
Nicholas Nethercote
0a433c0b9c Bug 1231889 - Moz2Dify gfxWindowsNativeDrawing::PaintToContext(). r=mattwoodrow. 2015-12-13 14:26:14 -08:00
Phil Ringnalda
cd1056af91 Bug 1226751 - Skip gfx/tests/crashtests/358732-1.xhtml for causing assertion failures in later (much later) tests 2015-12-12 11:32:05 -08:00
Botond Ballo
b1d9d5cd42 Bug 1231972 - Document how the apz.fling_friction pref is used. r=kats. DONTBUILD for comment change 2015-12-11 11:50:52 -05:00
Kartikaya Gupta
3ff0cd97cf Bug 1230611 - Make gfxWindowsPlatform::SupportsApzTouchInput use a pref cache to speed it up. r=dvander 2015-12-11 11:51:53 -05:00
Milan Sreckovic
1b558a6248 Bug 1219494 - Part 4. gfx/layers and gfxCrash. r=mchang 2015-12-10 13:01:00 +01:00
Milan Sreckovic
4ef857b0cd Bug 1219494 - Part 3 gfx/gl with gfxCrash. r=mchang 2015-12-10 13:01:00 +01:00
Milan Sreckovic
f846c84cec Bug 1219494 - Part 2. gfx/2d and gfxCrash. r=milan
* * *
Bug 1219494: Part 3. gfx/thebes, gfx/src and gfxCrash
2015-11-26 08:38:00 +01:00
Kartikaya Gupta
a2ba6213c3 Bug 1228597 - Clean up code paths that (un)apply a pres shell resolution. r=tn,botond
A clear separation is introduced between paths that deal with a root
document resolution (at the process boundary in e10s setups) and paths
that deal with a non-root document resolution (elsewhere in Layout code).

This allows both code paths to run on all platforms.
2015-11-30 19:13:20 -05:00
Botond Ballo
9a94f1ce0c Bug 1228597 - Remove the MOZ_SINGLE_PROCESS_APZ define. r=tn
Code previously guarded by this (added in bug 1224015) will now run
unconditionally.
2015-11-27 21:39:07 -05:00
Botond Ballo
45a288490b Bug 1231500 - Fix a typo in the APZ axis locking code where the lock angle is used when the breakout angle is intended to be used. r=kats 2015-12-09 15:23:22 -05:00
Kartikaya Gupta
3ca9535dc4 Bug 1231504 - Move some prefs from b2g.js to all.js. r=botond 2015-12-10 15:28:50 -05:00