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

679 Коммитов

Автор SHA1 Сообщение Дата
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
John Daggett 688cc90bfc Bug 1176637 - annotate known assertion in pango font branch. r=m_kato 2015-08-10 13:29:04 +09: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
Kartikaya Gupta 75997e4ed0 Bug 1186004 - Split the asyncPanZoom reftest sandbox condition into asyncPan and asyncZoom. r=mstange 2015-07-22 23:42:08 -04: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
Tom Klein eac491927d Bug 1143303 - extend D2D circle workaround to work for small circles. r=bas
--HG--
extra : rebase_source : 2476d38321cddd744fe51b0f7d690643ad74deef
2015-07-06 22:46:00 +02: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
Tom Klein 69ad936a10 Bug 853889 - Check single-box orientaton in _cairo_bentley_ottmann_tessellate_rectangular_traps and _cairo_bentley_ottmann_tessellate_boxes. r=jmuizelaar
The fix for _cairo_bentley_ottmann_tessellate_boxes is from cairo upstream
commit 11b6c49c103d53526e9805c8906fde5dbb2eb884.

--HG--
extra : rebase_source : f9a52a5c6d20e560946abc4fb61bfd4a71fafb6a
2015-06-18 13:15:00 -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
Ryan VanderMeulen b290b7f37c Backed out changeset 264d12cfb073 (bug 853889) for Android 853889-1.html reftest failures.
CLOSED TREE
2015-06-17 11:43:23 -04:00
Tom Klein 5e589d88a4 Bug 853889 - Check orientation of single trapezoid in _cairo_bentley_ottmann_tessellate_rectangular_traps. r=jmuizelaar
--HG--
extra : rebase_source : 852a5923994f3d75f0ec68fe9d500f3cade5ba18
2015-06-15 16:57:00 +02: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
Carsten "Tomcat" Book dfe75f9228 Backed out changeset 81a47807c54a (bug 1134549) for crashtest failures on CLOSED TREE 2015-05-20 16:12:33 +02:00
Milan Sreckovic b39a1b5e61 Bug 1162530 - Part 1: Add versioning to graphics blocklist. r=jmuizelaar 2015-05-15 10:42:10 -04:00
Tom Klein a8e5f7cc4f Bug 1134549 - Switch FlattenBezier from floats to doubles. r=bas 2015-05-20 11:44:05 +01: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
John Daggett 0a76b17f6a Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame 2015-05-13 14:11:25 +09:00