Commit Graph

20861 Commits

Author SHA1 Message Date
Kartikaya Gupta
3491c08811 Bug 1229039 - Miscellaneous logging fixes/updates. r=botond
--HG--
extra : commitid : 2U8HdyLyvhc
2015-12-17 10:05:12 -05:00
Nicholas Nethercote
d460857c94 Bug 1231256 (part 5) - Remove dead FromCSSPerspectiveInfo() function. r=vlad.
--HG--
extra : rebase_source : 495ec764ff035ec24a7c554469cb3837d8027570
2015-12-07 15:20:02 -08:00
Nathan Froyd
60d8ca5bfc Bug 1232772 - fix typo causing Windows build bustage; r=me 2015-12-16 17:12:45 -05:00
Botond Ballo
4807f41392 Bug 1231228 - Gtest. r=kats
--HG--
extra : rebase_source : 6e3c096fa3c36fb4febf46afe0166b691707ecfa
2015-12-16 10:49:42 -05:00
Botond Ballo
53db1e46bd Bug 1231228 - Correctly check for whether an APZC along the handoff chain is panned into overscroll. r=kats
--HG--
extra : rebase_source : 5cf886e4380e1f47c0adc397bd7f1440ca079342
2015-12-14 19:55:37 -05:00
Nathan Froyd
4094e18ff5 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
4cd6379278 Bug 1230357. Enable subpixel text on skia content backends. r=lsalzman 2015-12-16 12:43:49 -08:00
Jeff Muizelaar
13e85d0c92 Bug 1232902. Update ANGLE to chromium/2592 2015-12-16 10:13:56 -05:00
Carsten "Tomcat" Book
537f8683a1 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
e833356e71 Backed out changeset 9e1f2694536c (bug 1147673) 2015-12-16 11:52:41 +01:00
Botond Ballo
2d178ca987 Bug 1147673 - Determine more accurately whether an async transform affects a layer's clip rect. r=kats
--HG--
extra : commitid : F4iMY0eM8d5
extra : rebase_source : c43c431179980ee611c77b05b50b515776c22374
extra : histedit_source : 95e175838feea81486905a3af94f1928c5ef5e25
2015-10-02 18:35:21 -04:00
Markus Stange
8fdc7a632d Bug 1147673 - Unadjust clip before intersecting it with the scroll clip. r=botond
--HG--
extra : commitid : 5p2hV51eK8m
extra : rebase_source : 1c3cd6b1d3d875b105dcb7b08481761281e700df
extra : histedit_source : 4689eccff58db10a341813ce25403374cc13a4d0
2015-10-09 14:30:44 +02:00
Nicholas Nethercote
a4dc4a929c 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.

--HG--
extra : rebase_source : 909cbf179cfbffa47fb70f417b2f50b641534a02
2015-12-14 22:26:23 -08:00
Nicholas Nethercote
922099a41a Bug 1232576 (part 1) - Move the reference |cairo_t*| from gfxContext to DrawTarget (as user data). r=jfkthame.
--HG--
extra : rebase_source : 5f4be8b9cb4a24527ee95468239ff6ff26d4a279
2015-12-14 22:23:51 -08:00
Jeff Muizelaar
948ebf9004 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
f5746f61bb Bug 1231915 - Ignore the APZ pref if MOZ_ANDROID_APZ is enabled, since the pref doesn't cover all the relevant code. r=rbarker
--HG--
extra : commitid : FZ846EwVxHJ
2015-12-15 09:17:41 -05:00
Nicholas Nethercote
0a1ca6ebfe Bug 1231256 (part 4) - Remove dead SetContext() declaration. r=jfkthame.
--HG--
extra : rebase_source : f06b122d91c426e655414b27ec4b2e3c2c1ca587
2015-12-07 15:19:56 -08:00
Kartikaya Gupta
0dcf99f8a4 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
c62107a38b 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
0bbef860d9 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
beeb941dc6 Bug 1230552 - Minor follow-up to add an assertion. rs=kats 2015-12-14 18:10:14 -05:00
Jeff Muizelaar
c789c7e526 Bug 1232480. Use 'precision' instead of 'prevision'
A fun little typo.
2015-12-14 18:02:53 -05:00
Nicholas Nethercote
5434a4fec1 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
7df55cf9f2 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
e09094f3cd 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
e8098f6ff2 Bug 1230552 - Extend the immediate scroll handoff pref to apply to flings. r=kats
--HG--
extra : commitid : A4UZJ8vLfjW
extra : rebase_source : f46922f1b13ec8fded72e5eb09045a8fe6e2dc03
2015-12-12 14:31:25 -05:00
Botond Ballo
ab1b789f18 Bug 1230552 - Introduce a structure to group fling handoff state. r=kats
This patch also cleans up APZCTreeManager::DispatchFling() a bit.

--HG--
extra : commitid : 5z1y3kVfOOY
extra : rebase_source : c4d8dfa546d0ce43e0be71378e20d23d28f368cf
2015-12-12 14:31:20 -05:00
Botond Ballo
e3717af9b2 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.

--HG--
extra : commitid : J4iuAOn9QAo
extra : rebase_source : 3075d8334b62374697a25d358709dd18e2394836
2015-12-14 14:47:56 -05:00
Botond Ballo
9753021fd9 Bug 1230552 - Introduce a helper AsyncPanZoomController::CurrentInputBlock(). r=kats
--HG--
extra : commitid : tjvQ9vFjQG
extra : rebase_source : ca1e6210602ebade929a1c2864a1c7de48bbd84b
2015-12-12 13:03:52 -05:00
Botond Ballo
3ec5bb5d99 Bug 1230552 - Const-correctness improvements. r=kats
--HG--
extra : commitid : 2kwPNmmpN3Y
extra : rebase_source : aa55db9e49871cb9e4a6e95a8fc776ffbd0d67b6
2015-12-11 17:42:50 -05:00
Botond Ballo
1e3e735b5a Bug 1230552 - Update some out-of-date comments and remove an old #undef. r=kats
--HG--
extra : commitid : 7R2ds1KVd3o
extra : rebase_source : a7185a20194ae9c7a535cb46510e5f9885c1a434
2015-12-11 17:49:45 -05:00
Kartikaya Gupta
6b0c32286a 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
dba8b70b53 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
19cb1d22ce Bug 1229052 - Follow-up to fix static analysis build bustage. r=me 2015-12-14 15:02:56 -05:00
Kartikaya Gupta
fcb193563c 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
df2e5b8773 Bug 1230913 - modified assert in order to prevent null pointer dereference. r=roc
--HG--
extra : rebase_source : d0735da955caaa36dfd74100479b0114a140a926
2015-12-14 00:01:00 +01:00
Kartikaya Gupta
f3df212995 Bug 1232094 - Make some APZ prefs live. r=botond
--HG--
extra : commitid : H2xnoEnxo1m
2015-12-14 09:29:02 -05:00
Bogdan Postelnicu
ca7864726d Bug 1230911 - modified asseert in order to prevent null pointer dereference. r=roc
--HG--
extra : rebase_source : 04bbec02d594e0006ed127005a3cc653cb5e195f
2015-12-13 23:59:00 +01:00
Nicholas Nethercote
45631955a0 Bug 1231889 - Moz2Dify gfxWindowsNativeDrawing::PaintToContext(). r=mattwoodrow. 2015-12-13 14:26:14 -08:00
Phil Ringnalda
e8127f059d 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
b60060e864 Bug 1231972 - Document how the apz.fling_friction pref is used. r=kats. DONTBUILD for comment change
--HG--
extra : rebase_source : de68c270a64576ddf22ec6395ea0a80fcfe638e7
extra : amend_source : d24ebe08909ae39d7def62278b4c94d336fe700f
extra : source : 740993b673df97ac590b5bc481bacefc634919a6
2015-12-11 11:50:52 -05:00
Kartikaya Gupta
23a4ed497e 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
06d79c4606 Bug 1219494 - Part 4. gfx/layers and gfxCrash. r=mchang 2015-12-10 13:01:00 +01:00
Milan Sreckovic
4a422858eb Bug 1219494 - Part 3 gfx/gl with gfxCrash. r=mchang 2015-12-10 13:01:00 +01:00
Milan Sreckovic
bf9a6ffcc5 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
e0c2c8e4f0 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.

--HG--
extra : source : 22bf09630803392dba3052a3f79691475af0c5e2
2015-11-30 19:13:20 -05:00
Botond Ballo
1cb64f6960 Bug 1228597 - Remove the MOZ_SINGLE_PROCESS_APZ define. r=tn
Code previously guarded by this (added in bug 1224015) will now run
unconditionally.

--HG--
extra : source : ce0f51f55572334002ddf1878db447540d4c9b82
2015-11-27 21:39:07 -05:00
Botond Ballo
17f62ef823 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
--HG--
extra : source : e67a0ba7be6579eb808ec184b8ef0c00f804385b
2015-12-09 15:23:22 -05:00
Kartikaya Gupta
f34243dde5 Bug 1231504 - Move some prefs from b2g.js to all.js. r=botond
--HG--
extra : commitid : 9MqaJOyoogU
2015-12-10 15:28:50 -05:00
Kartikaya Gupta
7df84c3309 Bug 1228602 - Ensure that we pick up the presShell resolution from the layer if there isn't a metrics. r=botond
--HG--
extra : commitid : BXooH3Gj0wh
2015-12-09 17:29:03 -05:00