Граф коммитов

603 Коммитов

Автор SHA1 Сообщение Дата
Botond Ballo f6316bb39c Bug 1200063 - Rename MakeAPZCInstance to NewAPZCInstance for consistency. r=kats
--HG--
extra : source : acc5f6c432b709cf3519508579ae7076c6836a1f
2015-09-16 19:10:24 -04:00
Botond Ballo 3ec0663f3b Bug 1200063 - Share a paint throttler between APZCs in the same layers id. r=kats
In this process, TaskThrottler is made reference-counted.

--HG--
extra : source : 68295d4d1616e257732b8f2e8dd46c24debc8626
extra : intermediate-source : 2cd0c4caec06689c5325e23006d2cb14d40c5b5c
2015-09-16 14:45:07 -04:00
Botond Ballo d84490b7db Bug 1200063 - Make APZCTreeManager the place where GetFrameTime() can be overridden. r=kats
--HG--
extra : source : b9e4b80438234e98f9304a6e29f0f4b9b8eb58a8
extra : intermediate-source : 3c88311ea92fef66479c08cd6b160de82d393249
2015-09-16 14:58:16 -04:00
Nicholas Nethercote 6f036921dc Bug 1203427 (part 1) - Add nsExpirationTracker::mName. r=froydnj.
There are many sub-classes of nsExpirationTracker. In order to distinguish them
nicely in the logging of timer firings, it's necessary to manually name each
one. (This wouldn't be necessary if there was a way to stringify template
parameters, but there isn't.)

--HG--
extra : rebase_source : 89b99e9dbb2a806bd21145d04a5e023794643b61
2015-09-09 21:07:07 -07:00
John Daggett 06366cd453 Bug 1203809 - pass textperf obj into gfxFontGroup constructor. r=m_kato
--HG--
extra : rebase_source : c9e9f4765b710937b046941a15e82eaf83c86b03
2015-09-11 13:24:33 +09:00
Nicholas Nethercote 2c42ac7941 Bug 1203379 - Fix indentation of gfxWordCacheTest.cpp. r=jrmuizel.
This file has an intriguing mix of 1, 2, 3 and 4 space indentation, which this
patch fixes. The patch also fixes a small number of other style violations,
such as long lines.

--HG--
extra : rebase_source : 5a4668ddc2441c190a393f3a8519ad451918c4f0
2015-09-09 20:51:33 -07:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Ryan VanderMeulen 4dd652887b Backed out 7 changesets (bug 1083101) for static analysis bustage and debug gtest asserts.
Backed out changeset a277ab555649 (bug 1083101)
Backed out changeset 831ad34078f3 (bug 1083101)
Backed out changeset 42d622972b02 (bug 1083101)
Backed out changeset ff4b35d2f501 (bug 1083101)
Backed out changeset 00e568d08a1f (bug 1083101)
Backed out changeset d9448dc26a8a (bug 1083101)
Backed out changeset 8c943cd72144 (bug 1083101)

CLOSED TREE
2015-08-27 10:47:55 -04:00
Nicolas Silva 70f660d10a Bug 1083101 - Win32 implementation of Moz2D's task scheduler. r=jrmuizel 2015-08-27 14:47:16 +02:00
Nicolas Silva 1cfc57a5dc Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel 2015-08-27 14:47:12 +02:00
Nicolas Silva f6fc89b1d7 Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel 2015-08-27 14:47:07 +02:00
Kartikaya Gupta c736111bee Bug 1198900 - Add a gtest to ensure we don't crash when prevent-defaulting a wheel event. r=botond, a=topcrash 2015-08-26 15:08:00 -04:00
Mason Chang 1c24730f8d Bug 1197898 - Delete vsync refresh driver preference. r=kats 2015-08-25 09:01:40 -04:00
Kartikaya Gupta b9032e3705 Bug 1194876 - Add test. r=botond
--HG--
extra : commitid : Cg9fRSjAKgj
2015-08-25 07:50:01 -04:00
Mason Chang 696de26763 Bug 1197201. Delete hardware vsync and vsync compositor prefs. r=kats 2015-08-24 11:27:23 -04:00
Milan Sreckovic 2431defff4 Bug 1188105: Parse bad driver versions. r=botond
--HG--
extra : rebase_source : 36d4c5636604bd0ff860859cbc571644eacdf165
2015-08-19 15:14:59 -07:00
Matt Woodrow 741dbc133e Bug 1191040 - Ensure that we only compute the tile size once. r=BenWa
--HG--
extra : rebase_source : 1f3024d724384955220b95db5d347d12df4d22a8
2015-08-07 15:37:56 -04:00
Ryan VanderMeulen 55a80b1971 Backed out changeset 4e63305fe592 (bug 1191040) for Linux gtest crashes.
CLOSED TREE
2015-08-07 16:24:59 -04:00
Matt Woodrow 1e2e762f3c Bug 1191040 - Ensure that we only compute the tile size once. r=BenWa
--HG--
extra : rebase_source : ffe1817416bc678c4ea8a0a42d809afd4d3db86d
2015-08-07 15:37:56 -04:00
Matt Woodrow d2d5e5b9a3 Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert 2015-07-29 16:35:55 -04:00
Matt Woodrow 3391470c4d Bug 1150944 - Fix gfxPrefs unit test to not rely on skia-gl pref. r=mstange 2015-07-29 16:35:55 -04:00
Wes Kocher ec1078c65a Backed out 6 changesets (bug 1150944, bug 1034370) for build failures in WebGLContext.cpp CLOSED TREE
Backed out changeset e2a6160242e5 (bug 1150944)
Backed out changeset 1c510537d20b (bug 1150944)
Backed out changeset 7ae813666ed5 (bug 1150944)
Backed out changeset 2f29ac2e31cd (bug 1150944)
Backed out changeset bf7681b1567e (bug 1150944)
Backed out changeset 79c6b8d014d2 (bug 1034370)
2015-07-29 14:16:17 -07:00
Matt Woodrow 501c8bec02 Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert 2015-07-29 16:35:55 -04:00
Matt Woodrow a4cac5b663 Bug 1150944 - Fix gfxPrefs unit test to not rely on skia-gl pref. r=mstange 2015-07-29 16:35:55 -04:00
Bobby Holley 97b9240b34 Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Robert O'Callahan d42119a3f1 Bug 1143575. Store composition time in Compositor. r=nical
We'll need this later so ImageHost can select the correct image to use.

Adding a TimeStamp parameter to BeginFrame is a bit annoying since BeginFrame
is overridden by every subclass. It's a bit more convenient to just call a
separate non-virtual method just before we call BeginFrame.

--HG--
extra : commitid : 3QUviDozXL
extra : rebase_source : ba6bc3d846606f3f7598f4a3b687b68746067ce3
2015-07-07 15:38:38 +12:00
Lynn Tran 6ee48e8466 Bug 1031443 - Allow panning in the pinching state even if zooming is
disabled;r=botond

--HG--
extra : source : f3199edbe30a04a93986ff6054d192e59b658482
2015-07-01 14:58:32 -04:00
Benoit Girard 509337a1a0 Bug 1132467 - Adjust qcms lut inverse binary search of non monotonic TRC. r=jrmuizel
--HG--
extra : commitid : KdtckZDOAZH
2015-06-04 19:30:52 -04:00
Ryan VanderMeulen dd75267bf8 Bug 1179287 - Skip TestTiledLayerBuffer due to Linux PGO bustage.
CLOSED TREE
2015-07-01 13:42:48 -04:00
Nicolas Silva e706f98607 Bug 1179287 - Attempt to fix a gcc warning by removing the line in the test that may have caused it. CLOSED TREE 2015-07-01 18:22:17 +02:00
Nicolas Silva c23b8a3c64 Bug 1170189 - Simplify the client-side tiling code. r=BenWa 2015-07-01 13:50:58 +02:00
Nathan Froyd 974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Kartikaya Gupta 1d81392d69 Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond 2015-06-19 08:25:41 -04:00
Jeff Muizelaar e50ab42b38 Bug 1170983 - Re-enable gfx gtests that were skipped on Windows. r=ted
We can run these now that we don't split out gkmedias.

This also changes a test to avoid MSVC codegening a divide by 0

--HG--
extra : rebase_source : 06af10f1d6779237d2cc6c1dabfd9378889893ee
2015-06-04 14:34:46 -04:00
Botond Ballo 4958aa7c1b Bug 1158424 - Rename FrameMetrics::mIsRoot to mIsRootContent. r=kats
--HG--
extra : rebase_source : a082680d842dd182d899f637200ce911cc3c480d
extra : source : 8b67f0b8dc96cebe9a58356708b23bebd8532134
2015-06-08 16:01:26 -04:00
Botond Ballo ab3226e2dc Bug 1169690 - Gtests. r=kats
--HG--
extra : source : 4561a52ca917088abe6c65b02e8b1585d5bb095a
2015-06-03 19:38:50 -04:00
Kartikaya Gupta d686ee56fb Bug 1169695 - Remove as many manual calls to spin the task queue as possible. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta 7d039d70cb Bug 1169695 - Ensure timed tasks are dispatched appropriately when advancing the time. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta d67fa2cccc Bug 1169695 - Store task run-at times in the task queue. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta 1b776f1f28 Bug 1169695 - Advance the stored time when sampling the transform for a future frame. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta 14fa5136ee Bug 1169695 - Make the test timestamp privately held by the MockContentControllerDelayed. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta abff2dd438 Bug 1169689 - Make sure we don't end up with a spurious velocity if we're not going to be panning. r=botond
This patch also removes an unnecessary call to StartTouch, since the start pos
is not used when computing the pan delta any more.
2015-06-01 09:51:16 -04:00
Amanda Sambath 94ccfe2849 Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/tests. r=nical 2015-05-28 13:02:44 +02:00
Timothy Nikkel ae72b1ab27 Bug 1168630. Part 6. Modify the test for bug 1119497 based on the new assumption of always having a root APZC. r=botond
Part 5 adds an assert that we always return an APZC from GetAPZCAtPoint. The test for bug 1119497 fails this assumption because it does not give it's layer tree a root AZPC. In all non-test code we ensure that there is always a root APZC and many things would break without such. So we modify the test to always have a root APZC more like actual code.

The test is testing that we don't return the layer below (with an APZC) the topmost child layer (without an APZC). So checking if we hit the root APZC still makes the test test the same thing.
2015-05-31 14:44:41 -05:00
Tom Klein 21241a6bbf Bug 1063486 - Track current point in _cairo_path_bounder_curve_to r=jmuizelaar 2015-05-30 16:07:48 +01:00
Kartikaya Gupta 9fe34a5df1 Bug 1166871 - Add a test. r=botond 2015-05-29 11:04:22 -04:00
Mike Hommey ea7750bcb1 Bug 991983 - Define SOURCES as SourcePath. r=gps 2015-05-28 07:34:15 +09:00
Kartikaya Gupta b54dc47f24 Back out 2 csets for bug 1163832 for emulator crashtest failures. r=me
CLOSED TREE
2015-05-22 07:51:55 -04:00
Kartikaya Gupta 86ed888daa Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond 2015-05-22 06:42:08 -04:00
Nathan Froyd db188ea282 Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary.  It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
Milan Sreckovic b39a1b5e61 Bug 1162530 - Part 1: Add versioning to graphics blocklist. r=jmuizelaar 2015-05-15 10:42:10 -04:00
Botond Ballo 184a00be02 Bug 1159985 - Gtest. r=kats
--HG--
extra : source : 48c9d5ccd61b79caf959f6d6329977888d032fb8
2015-05-11 22:25:34 -04:00
Botond Ballo 23e426ca66 Bug 1159985 - In APZ gtests, allow panning in both directions. r=kats
--HG--
extra : source : 6869f19b8b653ee012d0d0bc7e0f7f473983820d
2015-05-11 22:06:03 -04:00
Botond Ballo 0fd5163a65 Bug 1163845 - Unify handling of time in APZ gtests. r=kats
--HG--
extra : rebase_source : f7b50c31bc39ed0a2d2d26250a0dc36355c0cf05
extra : source : 64cabb256acb8b30e4d67f78e94b8f6187e0e58d
2015-05-15 12:45:27 -04:00
Kartikaya Gupta e237a366e0 Bug 1160566 - Make FrameMetrics.mCompositionBounds private and add a getter/setter for it. r=botond 2015-05-07 14:44:03 -04:00
Thibaud Backenstrass 0e5d0b5e17 Bug 1158122 - Remove most occurences of nsIntRect in gfx/tests. r=nical 2015-05-07 11:08:01 +02:00
Botond Ballo eec478ee63 Bug 1152051 - Gtest. r=Cwiiis,kats
--HG--
extra : source : b95b31b9f8dd13a6dc325b0647c8a301f5372d60
extra : intermediate-source : 71b8bc97a60421cb46c744adb7dfb3246c1c16eb
2015-04-29 19:38:02 -04:00
Kartikaya Gupta a839cee2fc Bug 1148350 - Add a test. r=botond 2015-04-30 14:30:38 -04:00
Kartikaya Gupta dc74cd2fb0 Bug 1159398 - Set the controller thread when running APZ gtests. r=dvander 2015-04-29 07:22:27 -04:00
Ying-Ruei Liang (KK) f17daf9c2a Bug 1143522 - Convert Layer::mClipRect to ParentLayerIntRect. r=botond
Change interface of getter/setter for mClipRect,
also necessary modification for codes that use these resources.

* * *
Bundle mUseClipRect and mClipRect as Maybe<ParentLayerIntRect> mClipRect

--HG--
extra : rebase_source : ca0c60404a28b7418df88104b863760033289910
2015-04-11 22:03:00 -04:00
Botond Ballo 7009659de8 Bug 1152051 - During an overscroll animation, detect a peak even if a sample has a velocity of exaclty zero. r=Cwiiis 2015-04-08 19:59:14 -04:00
Nicolas Silva 0b1f75bea0 Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas 2015-04-07 16:08:57 +02:00
Jonathan Kew 179aafeda9 Bug 1012640 - patch 1 - Add checks for IsOriginalCharSkipped() to the gfxSkipChar unit tests. r=roc 2015-04-07 09:27:18 +01:00
Nicolas Silva 52be9f47b5 Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas 2015-03-29 16:59:15 +02:00
Nicolas Silva e3eaf89e3f Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Mason Chang ba8626d695 Bug 1146691 - Create tests to check that the RefreshDriverVsyncObservers get vsync notifications. r=kats 2015-03-24 08:50:58 -07:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Kartikaya Gupta bd98be2c55 Bug 1144831 - Remove the HandleLongTapUp callback and just use HandleSingleTap instead. r=botond 2015-03-20 14:26:52 -04:00
Kartikaya Gupta 99454216d3 Bug 1144112 - Update the FlingStop tests to check if events are flowing properly after the fast-motion blocks are done. r=botond 2015-03-19 06:33:32 -04:00
Kartikaya Gupta 30cf8d06df Bug 1144112 - Only set the default allowed touch behaviour if the event is not consumed, to have the tests better reflect reality. r=botond 2015-03-19 06:33:32 -04:00
Nicolas Silva 0082df31ab Bug 1142659 - Fix coverity warning in Layers::UserData test. r=jrmuizel 2015-03-17 15:50:06 +01:00
Botond Ballo cda50e28d3 Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats
--HG--
extra : rebase_source : bbdd433260c2e5244602275aa8516723f87d5740
extra : source : a2dbf7ec87c50f35a089470e39d6b4b448992e3d
2015-03-06 13:54:10 -05:00
Jeff Muizelaar 69363dcf7f Bug 1130978. Fix VisitEdges. r=kats
The code is broken because in the else case of VisitNextEdgeBetweenRect we
assume that r2->x1 < r1->x1. This is not always the case.

The fix is to have VisitNextEdgeBetweenRect return whether there's an overlap.
The calling code can than adjust x1 appropriately if r1 != r1_end && r2 != r2_end.
2015-03-11 01:18:30 -04:00
Kartikaya Gupta c6da1df376 Bug 1137267 - Remove unneeded flags to track touch listeners and touch caret. r=smaug,dvander,botond 2015-03-10 09:29:25 -04:00
Kartikaya Gupta cf25343ea5 Bug 1137267 - Enable event-regions automatically when APZ is enabled, and allow the APZ code to assume event-regions are enabled always. r=botond,tn 2015-03-10 09:29:19 -04:00
Kearwood (Kip) Gilbert 8d1fcc4892 Bug 945584: Part 6 - Implementation of scroll snapping (v10 Patch), r=roc, r=kats
- Implemented CSS scroll snapping (http://dev.w3.org/csswg/css-snappoints/)

--HG--
extra : rebase_source : e100b6a2cbc00321d6d1083d12a99213e34d5f9d
2015-02-19 15:53:30 -08:00
Botond Ballo 6f8bf1747c Bug 943537 - In the GeckoContentController interface, take the modifiers for tap events in 'widget modifier' format rather than 'DOM modifier' format. r=kats,mbrubeck
--HG--
extra : rebase_source : f931503087e1a13725c9a3a398d49111e060e76e
2015-03-02 16:38:07 -05:00
Kartikaya Gupta 8e267df190 Bug 1092128 - Ensure that when touch-action is enabled the gtests always provide default touch behaviours where expected. r=botond 2015-03-02 11:51:45 -05:00
Kartikaya Gupta 17dd704db3 Bug 1092128 - Ensure the tests for touch action disabled actually disable touch action. r=botond 2015-03-02 11:50:38 -05:00
Benoit Girard 64d4c32b50 Bug 1135677 - Deal with overflowing rects. r=bas
--HG--
extra : rebase_source : d5b26d8d1e35f9138ad81af0650f3817c3d43b09
2015-02-23 14:09:56 -05:00
Carsten "Tomcat" Book 999f6284ec Backed out changeset e1bb91f60697 (bug 1129871) 2015-02-17 14:32:15 +01:00
Nicolas Silva 4fea5323ad Bug 1129871 - Favor passing tiles by ref rather than copy part 2. r=BenWa 2015-02-14 12:14:59 +01:00
Jeff Gilbert d3813c406b Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish 2015-02-12 19:00:41 -08:00
Kartikaya Gupta b3954b6850 Bug 930939 - Move thread assertion code into APZThreadUtils and add more assertions. r=botond 2015-02-10 08:24:23 -05:00
Jeff Gilbert 56b00391c3 Backout 80a88a3badba for causing bug 1130086. 2015-02-06 11:37:04 -08:00
Robert O'Callahan 7a165b59ca Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
--HG--
extra : rebase_source : 517ff800c0307e69465a37da7e52605d2fcda0d1
2015-02-05 20:35:25 +13:00
Jeff Muizelaar bf6b3c59f1 Bug 1129064. Remove duplicate IsPlaceholderTile function. r=BenWa
The method version is cheaper because it doesn't need to make a copy of the
Tile.
2015-02-03 14:07:45 -05:00
Jeff Gilbert 680ae080b6 Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish 2015-02-04 16:34:55 -08:00
David Zbarsky c73ec42d2d Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Wes Kocher d7313c3320 Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE 2015-01-29 14:23:37 -08:00
Jeff Gilbert 95f269cb3f Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish 2015-01-29 00:44:19 -08:00
Mason Chang 1eccaeec01 Bug 1098701. Part 1: gtest framework and tests. r=kats 2015-01-23 11:19:54 -08:00
Daniel Holbert a5ce8d10a3 Bug 1123878: Add MOZ_OVERRIDE annotations in TestCompositor.cpp. r=BenWa 2015-01-20 13:17:27 -08:00
Surabhi Anand 98a481bdeb Bug 1120203 - Transitioning mPresShellResolution field of FrameMetrics to use getters/setters. r=kats 2015-01-16 16:15:52 -05:00
Kartikaya Gupta 277a11f599 Bug 1119497 - Rename the HitTestResult enum values in light of the new hit-test code. rs=botond 2015-01-15 10:37:54 -05:00
Kartikaya Gupta 2c4a8779e8 Bug 1119497 - Don't continue searching if we hit a layer that has no containing APZC. r=botond 2015-01-15 10:37:54 -05:00
Benoit Girard 9b8c2dc37d Bug 1068190 - Part 1: Add foundation for compositor unit tests. r=mstange 2015-01-14 17:24:09 -05:00
Kartikaya Gupta 98ceec6992 Bug 1117712 - Gtest. r=botond 2015-01-14 10:41:38 -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 1a47ec5608 Bug 1119497 - Rename the HitTestResult enum values in light of the new hit-test code. rs=botond 2015-01-10 10:55:47 -05:00
Kartikaya Gupta a64136480e Bug 1119497 - Don't continue searching if we hit a layer that has no containing APZC. r=botond 2015-01-10 10:55:47 -05:00
Botond Ballo 2a492472b4 Bug 1109873 - Gtest that demonstrates the problem with obscured regions and transforms. r=kats 2015-01-08 09:40:01 -05:00
Kartikaya Gupta 1eb610400a Bug 1109873 - Implement the expanded HitTestingTree. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta ceba82c3a0 Bug 1109873 - Allow the APZC stored in the HitTestingTreeNode to be null. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta 1bf8a513d0 Bug 1109873 - Rename UpdatePanZoomControllerTree to UpdateHitTestingTree. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta e0077ec0d4 Bug 1109873 - Move hit-testing data into HitTestingTreeNode. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta 66746c1cfb Bug 1109873 - Introduce the HitTestingTreeNode class. r=botond
This patch extracts a HitTestingTreeNode from AsyncPanZoomController. The tree
formed by these nodes is very similar in structure to the APZC tree that we had
previously. The main difference is that we can have multiple HitTestingTreeNode
instances per APZC; each HitTestingTreeNode corresponds to a different layer
with the same metrics.

This is a first step in extracting the hit-test data entirely from the
AsyncPanZoomController class and having a 1:1 mapping with the layer tree.
2015-01-08 09:40:01 -05:00
Botond Ballo 755b86ca3a Bug 1076241 - Get rid of the nontransient async transform. r=kats 2014-12-19 18:53:05 -05:00
Kushan Joshi 94821f46e8 Bug 1116008 - Make FrameMetrics::mCriticalDisplayPort private. r=kats 2014-12-30 14:07:57 -05:00
Leonid V. Fedorenchik 9085b13b1e Bug 1115327 - Changed FrameMetrics.mScrollableRect to be accessible by getter/setter methods. r=kats 2014-12-27 12:48:27 -05:00
Yan Gouts 0e7074b2bd Bug 1113774 - Transitioned FrameMetric mDisplayPort accesses to Get/Set method calls. r=kats 2014-12-23 10:35:58 -05:00
Prabhjyot Singh Sodhi 0de35ab99f Bug 1112830 - Changed mCumulativeResolution of FrameMetrics.h to private and all correspondings files using this variable using getters and setters;r=kats 2014-12-18 19:33:18 -05:00
Prabhjyot Singh Sodhi 74d83cd734 Bug 1101620 - Changed mDevPixelsPerCSSPixel of FrameMetrics.h to private and all corresponding files using this variables using getters and setters;r=kats 2014-12-17 17:14:05 -05:00
Ryan VanderMeulen 87a3f4581f Merge m-c to b2g-inbound. a=merge 2014-12-15 14:04:03 -05:00
Kartikaya Gupta 65fb04ab03 Bug 1023473 - Follow-up to convert tabs to spaces. r=me and DONTBUILD 2014-12-15 10:45:46 -05:00
Kartikaya Gupta 4130a7b1ff Bug 1109677 - Ensure that the hit region is populated for layer trees in gtests. r=botond 2014-12-14 21:37:52 -05:00
Kartikaya Gupta 8af432308c Bug 1109677 - Banish scrollinfo layers from the gtests as they are not used with event regions. r=botond 2014-12-14 21:37:51 -05:00
Kartikaya Gupta 430339dfea Bug 1109677 - Ensure tests that use SetMayHaveTouchListeners work with event-regions enabled. r=botond 2014-12-14 21:37:51 -05:00
Kartikaya Gupta 140db2dc90 Bug 1109855 - Fix building of APZC instances via the tree manager for gtests. r=botond
In testing scenarios ensure that we always create a TestAsyncPanZoomController
so that we can unconditionally cast to it and use the extra helpers on that
class.
2014-12-11 10:39:19 -05:00
David Anderson 636a716c5b Rename ContentReceivedTouch to ContentReceivedInputBlock. (bug 1013432 part 3, r=kats)
--HG--
extra : rebase_source : ee0d05d4774fac9fb34297953e90e61f1d979d5d
2014-12-09 02:35:12 -08:00
Chris Peterson 22d0c4b343 Bug 1107814 - Part 1: Mark more directories as FAIL_ON_WARNINGS for all compilers. r=gps 2014-12-04 16:24:03 -08:00
Kartikaya Gupta 6b5ac6ea72 Bug 918288 - Modify the SetTargetAPZC API to take an array of targets for multiple touch points. r=botond 2014-11-21 21:36:25 -05:00
Kartikaya Gupta c72bebf294 Bug 1090398 - Add basic gtests for the event-regions based hit-testing code. r=botond 2014-11-14 07:40:15 -05:00
Kartikaya Gupta 861e80bbaf Bug 1090398 - Require APZC target confirmation before input blocks are ready for handling. r=botond
For proper hit-testing we need to deal with situations where the initial touch
input falls on a dispatch-to-content region of an APZC, and the main thread
later tells us that it actually hit another APZC. This patch allows input blocks
to have an "unconfirmed" APZC target for the initially-found target that can
then be replaced with a different target. Input blocks without a confirmed
target are not ready for processing.
2014-11-14 07:40:15 -05:00
Benoit Girard 8935e0b46d Bug 1094442 - Part 2: Adjust tile size to the stride of the gralloc buffers. r=kats
--HG--
extra : rebase_source : d3386ee007d6429b81aa6d3ffe6c518fb67c7d6a
2014-11-12 17:55:13 -05:00
Botond Ballo 1c1e4448a5 Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats 2014-11-10 14:35:11 -05:00
Botond Ballo 751e400ea4 Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats 2014-10-20 17:12:35 -04:00
Carsten "Tomcat" Book c247fdb775 Backed out changeset 71fe4233208a (bug 1076163) 2014-11-13 11:47:35 +01:00
Carsten "Tomcat" Book 4b4108a4a9 Backed out changeset a96930f1e26b (bug 1055741) 2014-11-13 11:47:31 +01:00
Botond Ballo d766d4ca14 Bug 1055741 - Unify the 'local Screen' and 'ParentLayer' coordinate systems. r=kats
--HG--
extra : rebase_source : af7323668fb54079e121755660da2121bec3d76b
2014-11-10 14:35:11 -05:00
Botond Ballo 98ceb86b05 Bug 1076163 - Clean up the resolution-related fields and methods in FrameMetrics. r=kats 2014-10-20 17:12:35 -04:00
Kartikaya Gupta 3cacbfa9b0 Bug 1091283 - Allow using the existing gtest input helpers on APZCTreeManager as well. r=botond
Thanks to the magic of templates we can reuse the code we have for dispatching
common gestures into the AsyncPanZoomController.
2014-10-31 15:31:35 -04:00
Kartikaya Gupta 8b027fe00d Bug 1091283 - Ensure that pinch gesture events actually get processed. r=botond
Currently only pinch gesture events getting created in the GestureEventListener
code will make it to AsyncPanZoomController::HandleGestureEvent. Any pinch
gesture events that the widget code dispatches into the APZCTreeManager get
ignored, which shouldn't be happening. We don't have any production code that
exercises these code paths at the moment, but fixing it up also reduces the
APIs exposed into the testing code.
2014-10-31 15:29:36 -04:00
Botond Ballo a43be62c13 Bug 1066888 - Update gtests for overscroll physics improvements. r=kats 2014-10-31 12:05:29 -04:00
Kartikaya Gupta 48f1a79f43 Bug 1088954 - Cleanup print 64-bit integers and remove a stray printf. r=botond 2014-10-24 14:45:00 +02:00
Kartikaya Gupta 080630c133 Bug 1083395 - Move some APZC functions that are no longer needed in production down to the test subclass. r=botond 2014-10-24 13:29:35 -04:00
Kartikaya Gupta ab3387343c Bug 1083395 - Move to a single input queue owned by the APZCTM instead of many queues owned by APZC instances. r=botond 2014-10-24 13:29:34 -04:00
Kartikaya Gupta fe23988edf Bug 1083395 - Replace the touch block balance with an input block identifier. r=botond 2014-10-24 13:29:30 -04:00
Himanshu Singh 5a4e5dca23 BUG 1087478 - Transition mMayHaveTouchListener to be private. r=kats 2014-10-23 09:10:47 -04:00
Kartikaya Gupta 72ea4fdacd Bug 1013612 - Remove APZ-internal headers from being exported to non-layers code. r=botond 2014-10-16 09:23:52 -04:00
Jonathan Watt c1c0f335ce Bug 1082477, part 1 - Convert Matrix4x4::TranslatePost/ScalePost callers to Matrix4x4::PostTranslate/PostScale. r=Bas 2014-10-16 10:51:12 +01:00
Jonathan Watt c5ae349afc Bug 1077961, part 2 - Stop doing lots of unnecessary and expensive Matrix4x4 multiplication. r=Bas 2014-10-08 04:43:00 +01:00
Botond Ballo 41c222db9a Bug 1073250 - Gtest for stuck-in-apz-overscroll bug. r=kats 2014-10-03 20:35:16 -04:00
Nick Lebedev 89be467df3 Bug 947892. Add dispatching of the tap event when the tap is followed by multiple touches. r=botond 2014-10-03 09:24:56 -04:00
Kartikaya Gupta 7f4534b1c1 Bug 1043859 - Expose the APZC overscroll transform as a separate function. r=botond 2014-10-01 17:49:31 -04:00
Markus Stange 3efef60534 Bug 1073103 - SReplace 'Thebes' with 'Painted' in some more places. r=roc 2014-09-26 13:07:06 -04:00
Markus Stange 7d5a3be591 Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
--HG--
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/basic/BasicPaintedLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/basic/BasicPaintedLayer.h
rename : gfx/layers/client/ClientThebesLayer.cpp => gfx/layers/client/ClientPaintedLayer.cpp
rename : gfx/layers/client/ClientThebesLayer.h => gfx/layers/client/ClientPaintedLayer.h
rename : gfx/layers/client/ClientTiledThebesLayer.cpp => gfx/layers/client/ClientTiledPaintedLayer.cpp
rename : gfx/layers/client/ClientTiledThebesLayer.h => gfx/layers/client/ClientTiledPaintedLayer.h
rename : gfx/layers/composite/ThebesLayerComposite.cpp => gfx/layers/composite/PaintedLayerComposite.cpp
rename : gfx/layers/composite/ThebesLayerComposite.h => gfx/layers/composite/PaintedLayerComposite.h
rename : gfx/layers/d3d10/ThebesLayerD3D10.cpp => gfx/layers/d3d10/PaintedLayerD3D10.cpp
rename : gfx/layers/d3d10/ThebesLayerD3D10.h => gfx/layers/d3d10/PaintedLayerD3D10.h
rename : gfx/layers/d3d9/ThebesLayerD3D9.cpp => gfx/layers/d3d9/PaintedLayerD3D9.cpp
rename : gfx/layers/d3d9/ThebesLayerD3D9.h => gfx/layers/d3d9/PaintedLayerD3D9.h
2014-09-26 13:06:08 -04:00
Kartikaya Gupta b13de27ab1 Bug 973105 - Add a test to verify that new input blocks flush APZ repaint requests. r=botond 2014-09-25 13:46:34 -04:00
Kartikaya Gupta 279596b4fc Bug 1068268 - Properly set the next-sibling pointer of an APZC when it is a child of a multi-layer APZ. r=botond 2014-09-20 22:27:16 -04:00
Kartikaya Gupta e1347f588f Bug 1053766 - Gtests for state change notifications. r=botond 2014-09-12 11:41:28 -04:00
Botond Ballo e35b939581 Bug 1063224 - Split APZCTreeManager::GetInputTransforms() into GetScreenToApzcTransform() and GetApzcToGeckoTransform(). r=kats
--HG--
extra : source : e2c2b60db0d0865c81bfadf0100763d35011136f
2014-09-08 18:04:01 -04:00
Daniel Holbert f69c1aae22 Bug 1063847: Use 1u instead of 1 in EXPECT_EQ macro, to fix Wsign-compare build warning in TestAsyncPanZoomController.cpp. r=botond 2014-09-05 17:13:04 -07:00
Botond Ballo 97ada9b89c Bug 1062437 - Test APZC tree structure in gtest for multi-layer-apz. r=kats 2014-09-04 14:43:31 -04:00
Kartikaya Gupta 2af7f171fc Bug 1058886 - Extract a helper function to get the APZC from a simple layer. r=botond 2014-09-04 13:55:05 -04:00
Botond Ballo f31fdb8904 Bug 1061976 - Reinstate APZ gtests for overscrolling during panning. r=BenWa 2014-09-02 20:39:40 -04:00
Ehsan Akhgari 3cc9664125 Bug 1060802 - Fix some more bad implicit constructors in gfx; r=roc 2014-08-31 23:31:20 -04:00
Botond Ballo 0f34790a9a Bug 1057578 - Change the overscroll transform exposed by APZC from a ViewTransform to a Matrix4x4. r=kats 2014-08-29 14:41:49 -04:00
Kartikaya Gupta 0a357da2bf Bug 1055760 - Add some basic gtests for LayerMetricsWrapper tree-walking. r=BenWa 2014-08-27 22:13:43 -04:00
Kartikaya Gupta d591fbed2a Bug 1055760 - Update TestAsyncPanZoomController to deal with multiple FrameMetrics. r=botond 2014-08-27 22:13:43 -04:00
Kartikaya Gupta f0b76c5903 Bug 1055760 - Move the scroll handoff parent id from Layer to FrameMetrics. r=botond 2014-08-27 22:13:39 -04:00
Kartikaya Gupta 0bcb34fd1e Bug 912700 - Audit all uses of FrameMetrics::mViewport and wrap it in getter/setters. r=botond 2014-08-22 23:18:56 -04:00
Kartikaya Gupta c771e8f8d7 Bug 1056829 - Explicitly specify scroll handoff parents to avoid warnings in debug mode. r=botond 2014-08-21 13:47:42 -04:00
Botond Ballo 138c8c6eea Bug 1025436 - Gtest for flinging into overscroll. r=kats
--HG--
extra : rebase_source : 04f121408c43826ac67e71acb229cfcaad137c3e
2014-08-20 14:28:41 -04:00
Botond Ballo 72de203c22 Bug 1042974 - Gtests for scrollgrab. r=kats
--HG--
extra : rebase_source : 1de35060a59c594bde0c7c003775b32fb71b6d51
2014-08-20 13:22:36 -04:00
Botond Ballo 12b47e261e Bug 1039992 - Gtests for overscroll handoff. r=kats 2014-08-19 19:57:22 -04:00
Kartikaya Gupta 2b4dc95fac Bug 1052063 - Add some tests to ensure layers with the same scrollid get the same APZC. r=botond 2014-08-19 21:17:10 -04:00
Kartikaya Gupta 6a0b930cf4 Bug 1052063 - Expand the APZCTreeManagerTester to take care of more boilerplate. r=botond 2014-08-19 21:17:10 -04:00
Kartikaya Gupta 3b4808ddad Bug 1052063 - Do a single pass over the APZC tree to advance animations before sampling. r=botond 2014-08-19 21:17:10 -04:00
Kartikaya Gupta da28f73cfa Bug 1052063 - Reverse the order of transforms applied for layers during composition. r=botond 2014-08-19 21:17:09 -04:00
Botond Ballo 4f535a3256 Bug 1055361 - Remove gtests that test for overscrolling during panning, to reopen a CLOSED TREE. rs=kats 2014-08-19 16:09:47 -04:00
Botond Ballo 6f4fcc90af Bug 1039992 - Move the overscroll handoff chain into AsyncPanZoomController and have one per touch block or pan gesture. r=kats,bjacob,mstange
--HG--
rename : gfx/layers/apz/src/TouchBlockState.h => gfx/layers/apz/src/InputBlockState.h
extra : rebase_source : ee68595aa21b696de1a0fbb8e6c161022a88ba3d
2014-08-18 16:12:11 -04:00
Kartikaya Gupta 1fc3c3121f Bug 1051985 - Move the APZ from ContainerLayer to Layer. r=mattwoodrow,botond 2014-08-11 20:00:37 -04:00
Kartikaya Gupta 40ac29fbd1 Bug 1051985 - Move the FrameMetrics from ContainerLayer to Layer. r=mattwoodrow,BenWa 2014-08-11 20:00:36 -04:00
Nicolas Silva 5cfb339954 Bug 1025138 - Integrate DrawTargetTiled preffed off. r=mattwoodrow 2014-08-06 14:40:03 +02:00
Kartikaya Gupta a75afd077b Bug 1036985 - Change the return value of APZCTM::ReceiveInputEvent to return more useful information. r=botond 2014-08-01 16:24:50 -04:00
David Zbarsky 14c6e4a712 Bug 952977: More gfx::Matrix cleanup in APZC r=nical 2014-08-01 08:31:49 -04:00
David Zbarsky 604ca01f70 Bug 952977: More gfx::Matrix cleanup in tests r=nical 2014-08-01 08:31:48 -04:00
Nathan Froyd 12c76f15f7 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Kartikaya Gupta e008079af7 Bug 1046292 - Follow-up to fix bustage. r=me on a CLOSED TREE 2014-07-31 09:23:34 -04:00
Kartikaya Gupta ae50691d1d Bug 1046292 - Add some unit tests for TaskThrottler. r=botond 2014-07-31 09:04:34 -04:00
Wes Kocher 3c155637a3 Backed out 11 changesets (bug 952977) for reftest-no-accel failures
Backed out changeset ea2367c19da3 (bug 952977)
Backed out changeset c401c8748eb3 (bug 952977)
Backed out changeset a93e9ff1043b (bug 952977)
Backed out changeset 765b7f67163e (bug 952977)
Backed out changeset 3d8cf4f5777f (bug 952977)
Backed out changeset 8993710a3ab3 (bug 952977)
Backed out changeset 1298c39b745a (bug 952977)
Backed out changeset be0b899fbe5e (bug 952977)
Backed out changeset f69bea1f1feb (bug 952977)
Backed out changeset 1a745777f07e (bug 952977)
Backed out changeset 5ad1d18dfe17 (bug 952977)
2014-07-29 18:58:46 -07:00
David Zbarsky 30b97efa59 Bug 952977: More gfx::Matrix cleanup in APZC r=nical 2014-07-29 19:18:51 -04:00
David Zbarsky ec6abc1e3e Bug 952977: More gfx::Matrix cleanup in tests r=nical 2014-07-29 19:18:50 -04:00
Nicolas Silva ea6a110f66 Bug 1043929 - Fix TestTextures (disabling a part of the test that tries to do something it can't do) on a CLOSED TREE 2014-07-28 16:10:01 +02:00
Kartikaya Gupta d03e0ec72c Bug 973096 - When computing the hit test area for an APZC, remove the visible regions of layers obscuring it. r=botond 2014-07-25 08:27:43 -04:00
Ed Morley a1c6e86050 Backed out changeset a0a40196da87 (bug 973096) for non-unified build failures 2014-07-25 16:27:21 +01:00
Kartikaya Gupta e7d45b9787 Bug 973096 - When computing the hit test area for an APZC, remove the visible regions of layers obscuring it. r=botond 2014-07-25 08:27:43 -04:00
Mike Hommey 622bf09730 Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Kartikaya Gupta d7d2ba5bc6 Bug 1040986 - Add a Contains(x,y) method to nsRegion. r=jrmuizel 2014-07-22 13:33:46 -04:00
Kartikaya Gupta 0df3a31848 Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas 2014-07-22 09:12:14 -04:00
Jeff Muizelaar c77f66ee40 Bug 1023473. Pad out tile contents by one pixel. r=BenWa
This fixes reading unitialized data during texture filtering.
It's complicated because we can have regions of initialized data
and padding out a region is much harder than a rectangle.

We currently only take this path for tiled things because of
the artifacts that show up during the sampling that helps
in overscroll. It's also not a great long term solution because
it only works for software backends.
2014-07-18 14:25:34 -04:00
Kartikaya Gupta eb5dd62970 Bug 1039979 - Restore and improve handling of the stop-fast-fling-on-touchdown behaviour. r=botond 2014-07-17 13:41:54 -04:00
Kartikaya Gupta 0a228e40d7 Bug 1039979 - Some more gtest code cleanup and test robustification. r=botond 2014-07-17 13:41:53 -04:00
Kartikaya Gupta 53f6e3b799 Bug 1039979 - Add tests to ensure that flings stop right on a touchstart even if content listeners are present. r=botond 2014-07-17 13:41:53 -04:00
Kartikaya Gupta cc6b57e6cd Bug 1039979 - Move the overscroll chain building into the tester setup/teardown since it is needed more widely now. r=botond 2014-07-17 13:41:53 -04:00
Kartikaya Gupta f1f7167b64 Bug 988494 - Add some double-tap gtests. r=botond 2014-07-16 08:33:50 -04:00
Kartikaya Gupta 340f4a397d Bug 1009733 - Add more test coverage for panning and pinching cancelled by prevent-default. r=botond 2014-07-16 08:33:50 -04:00
Kartikaya Gupta e7190ff526 Bug 1009733 - Rewrite much of the APZC input block handling code. r=botond 2014-07-16 08:33:50 -04:00
Kartikaya Gupta 1373f84b10 Bug 1037591 - Remove useless Constructor test and redundant tester. r=botond 2014-07-14 19:07:54 -04:00
Kartikaya Gupta 83d46f0c1b Bug 1037591 - Move a bunch of boilerplate code into the tester classes. r=botond 2014-07-14 19:07:54 -04:00
Kartikaya Gupta d586e07c49 Bug 1037591 - Move DoPanTest down to be with the pan tests. r=botond 2014-07-14 19:07:54 -04:00
Kartikaya Gupta 01d047773f Bug 1037591 - Split the ApzcPinch* functions into two so that the status checks are separated. r=botond 2014-07-14 19:07:54 -04:00
Kartikaya Gupta c246acf9de Bug 1037591 - Split ApzcPan into two so that the status checks are separated. r=botond 2014-07-14 19:07:53 -04:00
Kartikaya Gupta 924e09f200 Bug 1037591 - Modify ApzcPan to use ApzcUp and ApzcDown; reformat some code. r=botond 2014-07-14 19:07:53 -04:00
Kartikaya Gupta faec8e081f Bug 1037591 - Unite the TestScopedBoolPref and TouchActionEnabledTester into a general pref solution. r=botond 2014-07-14 19:07:53 -04:00
Kartikaya Gupta a358761f94 Bug 1037591 - Remove unused container layer subclass. r=botond 2014-07-14 19:07:52 -04:00
Botond Ballo 6770de9ed0 Bug 1034376 - Avoid APZC being stuck in overscrolled state when CancelAnimation() is called during panning. r=kats
--HG--
extra : rebase_source : bbc3a02d6be7081be77b58cb2795aa57ce794002
2014-07-14 12:54:41 -04:00
Kartikaya Gupta cadac9394d Bug 1037409 - Remove some gtests that don't map to real-world scenarios. r=nicklebedev 2014-07-14 12:48:48 -04:00
Kartikaya Gupta a75ff9e2b1 Bug 1037019 - Remove the mTouchActionPropertyEnabled flag in APZC and flip the pref directly in the tests. r=botond 2014-07-11 08:25:13 -04:00
Kartikaya Gupta 1a56b68126 Bug 1037019 - Add the ability to set prefs in gfxPrefs. r=milan 2014-07-11 08:25:12 -04:00
Mike Hommey 70a5917917 Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Kartikaya Gupta ccf8c8beb4 Bug 1034258 - Change mCompositionBounds to be a ParentLayerRect instead of a ParentLayerIntRect. r=Cwiiis 2014-07-04 08:12:41 -04:00
Kartikaya Gupta 6d818f7c22 Bug 1031024 - Add a test for canceling fling animations to ensure overscroll is cleared. r=drs 2014-06-27 16:39:27 -04:00
Kartikaya Gupta 152866bf25 Bug 1031024 - Fix up the OverScrollPanning gtest to actually test overscrolling. r=drs 2014-06-27 16:39:11 -04:00
Kartikaya Gupta 57b791cdc7 Bug 1022956 - When fling velocity is high, don't let tap gestures trigger clicks to content. r=drs r=Bas 2014-06-26 18:37:44 -04:00
Gijs Kruitbosch 793f6d8a10 Bug 1030090 - tests shouldn't destroy gfxPrefs, r=bjacob 2014-06-25 15:09:02 +01:00
Mike Hommey 771aac012a Bug 1027448 - Fix building gfxSurfaceRefCountTest.cpp with system cairo. r=mshal 2014-06-20 17:32:41 +09:00
Nicolas Silva 81fe3788ce Bug 1023350 - Rename TextureClient::GetAsDrawTarget into TextureClient::BorrowDrawTarget and fix TextureClientX11. r=bjacob 2014-06-11 14:57:58 -04:00
Brian Birtles 194b6cc3b7 Bug 77992 part 1.0 - Add timeStamp to WidgetEvent; r=smaug
This patch adds a timeStamp member to WidgetEvent alongside the existing 'time'
member. In the future we would like to remove 'time' and just keep timeStamp but
that depends on it being web-compatible. For now we introduce both members
side-by-side. Later we will add a pref to determine which one to return. If no
compatibility issues arise we will remove 'time' altogether.
2014-06-06 14:29:49 +09:00
Markus Stange 4ec6de4928 Bug 1020389 - Call apzc->Destroy() at the end of AsyncPanZoomControllerTester.Fling and AsyncPanZoomControllerTester.OverScrollPanning in order to avoid leaking the content controller. r=kats 2014-06-04 18:02:53 +02:00
Jonathan Watt 334d8ccec7 Bug 1019704 - Stop creating Thebes backed gfxContexts in the old gtests. r=mattwoodrow 2014-06-04 08:08:39 +01:00
Nick Lebedev e0ece671d8 Bug 1014838 - Add testing of the apzc state correctness after tap gestures. r=kats, r=botond 2014-05-29 23:00:31 -07:00
Botond Ballo 44a50c8549 Bug 998025 - Have APZ gtests clear the overscroll handoff chain when appropriate. r=kats
--HG--
extra : rebase_source : 8253d35c2e0c610398c6b0d3f812552d0a09c246
2014-05-22 17:17:39 -04:00
Botond Ballo c205d40a5c Bug 998025 - Ignore touch events when in an overscrolled state. r=kats
--HG--
extra : rebase_source : c7b6928915d589773aa536cf002c70c9e26fd371
2014-05-22 14:49:43 -04:00
Nick Lebedev 9324438126 Bug 1013378. Make GestureEventListener not to pass apzc status up for touchend event since it causes apzc stay in touching state after gestures completed. r=kats 2014-05-22 20:42:15 -04:00
Jeff Muizelaar 0014fc1ded Bug 1014654. Handle empty regions in SimplifyOutwardByArea(). 2014-05-22 12:36:32 -04:00
Kartikaya Gupta b8e360c929 Bug 1011389 - Don't fire a long-tap-up if the user moves after long-tap. r=dmitry.rojkov 2014-05-16 14:40:01 -04:00
Ryan VanderMeulen 9e342ce37a Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE. 2014-05-16 12:29:37 -04:00
Kartikaya Gupta 355c624b5a Bug 1011389 - Don't fire a long-tap-up if the user moves after long-tap. r=dmitry.rojkov 2014-05-16 11:26:00 -04:00
Botond Ballo 535bbba72d Bug 961289 - Assign sequence numbers to paints on the client side and forward them to the compositor. r=BenWa,kats
--HG--
extra : source : d5331eaed1c789ac0248e8710a7b4a167ae349b6
2014-05-06 17:26:13 -04:00
Nick Lebedev 3d81d33195 Bug 964750 - Make GestureEventListener rely on the EventStatus returned from the apzc. Add a check to apzc if touch-action allows zooming. Update apzc tests accordingly. r=drs 2014-05-05 11:23:00 -04:00
Jeff Muizelaar abac769686 Bug 945079 - Add a way to simplify regions based on the change in volume. r=mattwoodrow 2014-05-06 16:39:34 -04:00
Kartikaya Gupta 2269ea4195 Bug 1002754 - Add a more comprehensive mechanism to disable thread assertions in APZ gtests. r=botond 2014-05-02 11:12:47 -04:00
Benoit Jacob 5004258047 Bug 987311 - 6/6 - Convert the rest of CompositorTypes.h to typed enums, final manual changes - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob 3b123f8333 Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical 2014-04-25 22:34:05 -04:00
Blair McBride 24b74a2af7 Backed out 9 changesets (bug 987311, bug 989027, bug 989144). r=sheriff
Backed out changeset 046c061d91c2 (bug 989144)
Backed out changeset 3f1b41adeaef (bug 987311)
Backed out changeset 8d5a171564bd (bug 987311)
Backed out changeset dcc0d016de7a (bug 987311)
Backed out changeset 27f338fbc835 (bug 989027)
Backed out changeset 4a67f5144ea4 (bug 989027)
Backed out changeset 62ba0a377450 (bug 987311)
Backed out changeset 6a2542a5c865 (bug 987311)
Backed out changeset 1dfd9a457f34 (bug 987311)
2014-04-27 19:45:08 +12:00
Benoit Jacob a53edd3151 Bug 987311 - 6/6 - Convert the rest of CompositorTypes.h to typed enums, final manual changes - r=nical 2014-04-25 22:34:06 -04:00
Benoit Jacob 49dd7d0c3f Bug 987311 - 3/6 - Make TextureFlags a typed enum, final manual changes - r=nical 2014-04-25 22:34:05 -04:00
Maksim Lebedev 8d457861b8 Bug 979345 - Implement "touch-action: manipulation" CSS value for Pointer Events. r=kats,botond,dbaron,mbrubeck 2014-04-23 09:56:46 -04:00
Maksim Lebedev d7b73f0310 Bug 996457 - Make apzc's LongPressPreventDefault test consider the touch action property. r=kats 2014-04-21 11:30:15 -04:00
Botond Ballo bab80ee374 Bug 996070 - Fix order of arguments to EXPECT_EQ in APZ gtests. r=kats
--HG--
extra : source : 5b68197e4d07897060c0f7733e0de176cfa8d736
2014-04-15 17:56:05 -04:00
Botond Ballo abcc2e6c94 Bug 976605 - Fix up APZ gtests to call APZC::SetAllowedTouchBehavior() at the correct time. r=kats
--HG--
extra : source : f168fc394c3d61b7375530d0d294d84cecc6207a
2014-04-14 14:59:20 -04:00
Ed Morley cec725dc21 Backed out changeset 037f46cdfd80 (bug 976605) 2014-04-15 17:45:10 +01:00
Botond Ballo 1d9826f00d Bug 976605 - Fix up APZ gtests to call APZC::SetAllowedTouchBehavior() at the correct time. r=kats
--HG--
extra : source : f299251a7c7ba65a8dca6443a1ab695a89c9230b
2014-04-14 14:59:20 -04:00
Nicolas Silva f7668eb024 Bug 990876 - Remove TextureClientSurface. r=mattwoodrow 2014-04-14 21:29:42 +02:00
Jonathan Watt bdf8481da2 Bug 995454 - Kill off TextureClientSurface's GetAsSurface and UpdateSurface methods (Moz2D migration). r=mattwoodrow 2014-04-13 11:07:12 +01:00
Nicolas Silva d9035537ad Bug 993417 - Make TextureClient::ToSurfaceDescriptor protected and document it's quirk. r=Bas 2014-04-10 09:24:59 +02:00
Chris Lord 6fbca10a4b Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Mike Hommey 490ed7cdd4 Bug 988168 - Better integrate gtest libxul in the build system. r=mshal. DONTBUILD
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-31 13:21:38 +02:00