Commit Graph

375 Commits

Author SHA1 Message Date
Benoit Girard
6864124fbc Bug 1132467 - Adjust qcms lut inverse binary search of non monotonic TRC. r=jrmuizel 2015-06-04 19:30:52 -04:00
Ryan VanderMeulen
43e01dd99d Bug 1179287 - Skip TestTiledLayerBuffer due to Linux PGO bustage.
CLOSED TREE
2015-07-01 13:42:48 -04:00
Nicolas Silva
cf06c34790 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
a2edb251f4 Bug 1170189 - Simplify the client-side tiling code. r=BenWa 2015-07-01 13:50:58 +02:00
Nathan Froyd
8780083336 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
e1f765d245 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
8979bb4dcc 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
2015-06-04 14:34:46 -04:00
Botond Ballo
9f74606e9e Bug 1158424 - Rename FrameMetrics::mIsRoot to mIsRootContent. r=kats 2015-06-08 16:01:26 -04:00
Botond Ballo
139bfb7eec Bug 1169690 - Gtests. r=kats 2015-06-03 19:38:50 -04:00
Kartikaya Gupta
ab4e9df8c8 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
f027bf1442 Bug 1169695 - Ensure timed tasks are dispatched appropriately when advancing the time. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta
20fc09e280 Bug 1169695 - Store task run-at times in the task queue. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta
274473db15 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
128b19e82e Bug 1169695 - Make the test timestamp privately held by the MockContentControllerDelayed. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta
6fb9cce5fe 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
b345b707d0 Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/tests. r=nical 2015-05-28 13:02:44 +02:00
Timothy Nikkel
1a9c38ddfb 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
d98692ef21 Bug 1063486 - Track current point in _cairo_path_bounder_curve_to r=jmuizelaar 2015-05-30 16:07:48 +01:00
Kartikaya Gupta
5cc523e77d Bug 1166871 - Add a test. r=botond 2015-05-29 11:04:22 -04:00
Mike Hommey
4245f5c436 Bug 991983 - Define SOURCES as SourcePath. r=gps 2015-05-28 07:34:15 +09:00
Kartikaya Gupta
7aa49999e1 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
f1ab324875 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
bb51644dac 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
aaa4588e78 Bug 1162530 - Part 1: Add versioning to graphics blocklist. r=jmuizelaar 2015-05-15 10:42:10 -04:00
Botond Ballo
204ebfa9c1 Bug 1159985 - Gtest. r=kats 2015-05-11 22:25:34 -04:00
Botond Ballo
862002f1de Bug 1159985 - In APZ gtests, allow panning in both directions. r=kats 2015-05-11 22:06:03 -04:00
Botond Ballo
9ed09c5f13 Bug 1163845 - Unify handling of time in APZ gtests. r=kats 2015-05-15 12:45:27 -04:00
Kartikaya Gupta
0a1d70ba2d 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
9b0d9a3113 Bug 1158122 - Remove most occurences of nsIntRect in gfx/tests. r=nical 2015-05-07 11:08:01 +02:00
Botond Ballo
d13f22b156 Bug 1152051 - Gtest. r=Cwiiis,kats 2015-04-29 19:38:02 -04:00
Kartikaya Gupta
0e82b5c03a Bug 1148350 - Add a test. r=botond 2015-04-30 14:30:38 -04:00
Kartikaya Gupta
2efdaa8793 Bug 1159398 - Set the controller thread when running APZ gtests. r=dvander 2015-04-29 07:22:27 -04:00
Ying-Ruei Liang (KK)
73bcc83422 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
2015-04-11 22:03:00 -04:00
Botond Ballo
61617910aa 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
17671eabdb Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas 2015-04-07 16:08:57 +02:00
Jonathan Kew
98011eea67 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
360af5d1db Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas 2015-03-29 16:59:15 +02:00
Nicolas Silva
4a4a87a4a5 Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Mason Chang
29c2dd4d26 Bug 1146691 - Create tests to check that the RefreshDriverVsyncObservers get vsync notifications. r=kats 2015-03-24 08:50:58 -07:00
Ehsan Akhgari
5cccea6f0f 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
8eac48cc93 Bug 1144831 - Remove the HandleLongTapUp callback and just use HandleSingleTap instead. r=botond 2015-03-20 14:26:52 -04:00
Kartikaya Gupta
202979f0b3 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
6b1c41259a 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
b2f274f37f Bug 1142659 - Fix coverity warning in Layers::UserData test. r=jrmuizel 2015-03-17 15:50:06 +01:00
Botond Ballo
f6caac98dc Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats 2015-03-06 13:54:10 -05:00
Jeff Muizelaar
36f2729dde 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
e475723c6e 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
940b657978 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
bbc4c7b4e8 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/)
2015-02-19 15:53:30 -08:00
Botond Ballo
98b5ab7212 Bug 943537 - In the GeckoContentController interface, take the modifiers for tap events in 'widget modifier' format rather than 'DOM modifier' format. r=kats,mbrubeck 2015-03-02 16:38:07 -05:00