Commit Graph

39 Commits

Author SHA1 Message Date
Kartikaya Gupta
f2fbe0fce5 Bug 1225950 - Remove unnecessary parameter from SetNeedsComposite. r=mchang
--HG--
extra : commitid : LRFcG5vPtfq
2015-11-18 18:49:58 -05:00
Nicholas Nethercote
8da254d570 Bug 1204518 - Fix warnings in widget/gonk/. r=mwu.
Warnings fixed include the following.

- Several cases where macros (|LOG| and |ALOGE|) were redefined. I just did a
  simple #undef to fix these.

- In GonkMemoryPressureMonitoring.cpp, "the address of NuwaMarkCurrentThread
  will never be NULL".

- In OrientationObserver.cpp, several signed/unsigned comparison warnings.

- Several warnings about variables that are unused or set but not used:
  in InputDispatcher.cpp, InputReader.cpp.

  Also in SpriteController, where several loops were all but empty if
  HAVE_ANDROID_OS is undefined; for these I moved the HAVE_ANDROID_OS check
  outside the loop.

The patch also disallows the introduction of new warnings by removing the
ALLOW_COMPILER_WARNINGS flag.

--HG--
extra : rebase_source : 6dc19235cf992b929d1308fd98baa03e16701874
2015-09-14 18:08:56 -07:00
Samael Wang
01ad2b8f56 Bug 1177335 - Skip resampling if the time difference of touches is less than 2ms. 2015-08-19 13:02:21 +08:00
Mason Chang
96798fb9ef Bug 1193842 - Delete touch resampling preference and non resampling paths. r=kats
--HG--
extra : histedit_source : e8624dd77d2993cf52f1f5970cf0eed6b1555b44
2015-08-13 08:23:14 -07:00
Sotaro Ikeda
fb70b24e9f Bug 1156981 - Split CompositorParent's scheduling of composition to CompositorScheduler r=mchang 2015-04-30 11:35:13 -07:00
Jonathan Watt
ffd584f511 Bug 1147491, part 2 - Disable use of BaseTimeDuration::operator/ with floating point values. r=ehsan 2015-04-02 14:03:40 +01:00
Kartikaya Gupta
fe6a9b9809 Bug 1149412 - Remove bad assertion. r=mchang 2015-03-31 11:12:01 -04:00
Kartikaya Gupta
be79ca3ef8 Bug 1146987 - Deal with cases where we get a batch of interleaved move and non-move events on the libui thread before anything is processed, with resampling disabled. r=mchang 2015-03-30 14:09:26 -04:00
Kartikaya Gupta
8449555fb0 Bug 1140578 - Prevent resampling moves across non-move touch events. r=mchang 2015-03-09 12:46:04 -04:00
Kartikaya Gupta
e288f1cc73 Bug 1140578 - Add a explicit flag to track if we have pending touch moves to process. r=mchang 2015-03-09 12:46:04 -04:00
Kartikaya Gupta
c856037b1d Bug 1140578 - Simplify some code. r=mchang 2015-03-09 12:46:04 -04:00
Kartikaya Gupta
87bc24079b Bug 1140578 - Remove some redundant code and an unused return value. r=mchang 2015-03-09 12:46:04 -04:00
Mason Chang
d81b5a205d Bug 1129133 - Clean up GeckoTouchDispatcher so that it's a real singleton. r=kats,mwu 2015-02-24 12:52:16 -08:00
Kartikaya Gupta
ddc075e4eb Bug 930939 - Switch the B2G controller thread from the main thread to the compositor thread. r=botond,mwu 2015-02-10 08:24:23 -05:00
Carsten "Tomcat" Book
ba2f5fcd61 merge mozilla-inbound to mozilla-central a=merge 2015-02-05 14:47:16 +01:00
Mason Chang
60c719a5b5 Bug 1129210. Always enable vsync when touch events occur. r=kats 2015-02-04 22:10:56 -08:00
Mason Chang
231a1fb35b Bug 1129632. Resample touch events based on the current touch. r=mwu 2015-02-04 17:06:09 -08:00
Mason Chang
424409c421 Bug 1128691. Part 2: Consolidate touch resampilng pref checks. r=kats 2015-02-04 13:08:40 -08:00
Kartikaya Gupta
990f1807e9 Bug 1121353 - Implement SynthesizeNativeTouchPoint in the gonk widget to allow injecting touch events into APZ. r=mwu 2015-01-20 00:38:00 +01:00
Kartikaya Gupta
846e3755ae Bug 920036 - Send touch inputs through the APZ before sending them to the gecko thread. r=mwu,dvander,smaug 2015-01-15 10:37:54 -05:00
Kartikaya Gupta
cdac1b867f Back out bug 1119497 and one patch from bug 920036 for causing bug 1121033. r=me 2015-01-13 21:16:51 -05:00
Kartikaya Gupta
e2d152069e Bug 920036 - Send touch inputs through the APZ before sending them to the gecko thread. r=mwu,dvander,smaug 2015-01-10 13:54:24 -05:00
Kartikaya Gupta
bb68b7de05 Bug 920036 - Move ToWidgetMouseEvent into MultiTouchInput. r=mwu 2015-01-10 13:54:24 -05:00
Mason Chang
3027d1493e Bug 1101974. Part 6. Create VsyncSource on b2g. r=kats 2014-12-18 08:30:06 -08:00
Mason Chang
522eb9c976 Bug 1085512 - Improve touch resampling heuristics. r=mwu 2014-11-11 15:39:00 +01:00
Michael Wu
23699318aa Bug 1094525 - Simplify touch resampling code in GeckoTouchDispatcher, r=kats 2014-11-10 12:02:00 +01:00
Mason Chang
fb2714672f bug 1083530. Part 2 Refactor GeckoTouchDispacher to use mozilla::Timestamp instead of nsecs_t. r=mwu 2014-10-29 13:37:06 -07:00
Mason Chang
2ef423b73d Bug 1048667. Skeleton vsync framework and vsync aligned compositor. r=benwa,roc 2014-10-21 15:40:54 -07:00
Mason Chang
390d93ee3d Bug 1069037 - Prevent touch events from piling up on the main thread. r=mwu 2014-10-16 14:02:00 +02:00
Michael Wu
3efc9ae2a8 Bug 1073704 - Clear move queue at the end of a gesture, r=kats 2014-09-29 13:45:41 -04:00
Michael Wu
5fde46fd7d Bug 1072645 - Use stateless event filtering in GeckoTouchDispatcher, r=kats 2014-09-25 00:55:39 -04:00
Mason Chang
8b0a694ba0 Bug 1049258 - Make it easier to collect frame uniformity results. r=benwa 2014-09-05 12:39:59 -07:00
Carsten "Tomcat" Book
491f3eab35 Backed out changeset c1cc52b986f8 (bug 1049258) for breaking non-unified windows builds 2014-09-08 15:17:23 +02:00
Mason Chang
ff44312e08 Bug 1049258 - Make it easier to collect frame uniformity results. r=benwa 2014-09-05 12:39:59 -07:00
Mason Chang
acd46de08c Bug 970751 Resample touch events. r=mwu,kats. a=kwierso 2014-08-31 15:38:00 -07:00
Mason Chang
5327fee772 backout of bug 970751 for intermittent ICS Debug. 2014-08-30 17:18:29 -07:00
Mason Chang
d6b0a95fda Bug 970751 Resample touch events. r=mwu,kats. a=kwierso 2014-08-30 14:04:15 -07:00
Wes Kocher
8e3978db94 Backed out changeset 3ab215c50844 (bug 970751) for leaks a=backout 2014-08-29 17:43:17 -07:00
Mason Chang
a66b70e1af Bug 970751 Resample touch events. r=mwu,kats. a=kwierso 2014-08-29 16:18:04 -07:00