gecko-dev/gfx/tests/gtest
Kevin Wern 9a846abe86 Bug 1227224 - Further improvements to generic tree traversal algorithms. r=botond
- Introduce a more general version of ForEachNode that takes two actions
  (pre-action and post-action).
- Express the one-action version of ForEachNode in terms of the two-action
  version.
- Add TraversalFlag::Abort, which stops traversal immediately.
- Express DepthFirstSearch in terms of ForEachNode.
- Add ForEachNodePostOrder and DepthFirstSearchPostOrder.
- The new functions are all recursive, and traverse children in the order
  provided by the node accessors. Adjust tests to reflect this.
- Refactor two APZCTreeManager functions, FindTargetNode and GetAPZCAtPoint,
  to use the algorithms.

MozReview-Commit-ID: 83Y7psjkUWG

--HG--
extra : commitid : JSMoSuDetUL
extra : rebase_source : 6ef99b1d6dac841eb94d99feb605ca235d9086c9
extra : amend_source : 518a636ee5a5162bca83dde6b90cb1a3b5304a3b
2016-01-25 04:04:13 -08:00
..
TestArena.cpp Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel 2015-09-28 13:49:33 +02:00
TestBufferRotation.cpp
TestColorNames.cpp Bug 1197315 - remove PR_snprintf calls in gfx/; r=froydnj 2015-10-12 14:06:19 -07:00
TestCompositor.cpp Bug 890156 - patch 0.3 - Create a version of nsIWidget::Create that takes Desktop pixels, because that's what we actually need to pass in some cases. r=mstange 2016-01-13 07:32:55 +00:00
TestGfxPrefs.cpp Bug 1150944 - Fix gfxPrefs unit test to not rely on skia-gl pref. r=mstange 2015-07-29 16:35:55 -04:00
TestGfxWidgets.cpp Bug 1188105: Parse bad driver versions. r=botond 2015-08-19 15:14:59 -07:00
TestJobScheduler.cpp Bug 1239288 - Add a shutdown test to the gfx job scheduler. r=jrmuizel 2016-01-14 13:34:46 +01:00
TestLayers.cpp Bug 1220873 - Make Layer::mVisibleRegion a LayerIntRegion. r=botond 2015-11-29 02:07:55 -05:00
TestLayers.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
TestMoz2D.cpp
TestQcms.cpp Bug 1132467 - Adjust qcms lut inverse binary search of non monotonic TRC. r=jrmuizel 2015-06-04 19:30:52 -04:00
TestRect.cpp Bug 1170983 - Re-enable gfx gtests that were skipped on Windows. r=ted 2015-06-04 14:34:46 -04:00
TestRegion.cpp Bug 1239864 (part 8) - Use the new rect iterators in gfx/. r=nical. 2016-01-18 17:20:58 -08:00
TestSkipChars.cpp Bug 264412. Refactor nsIFrame::GetRenderedText API to be more sane. r=mats,marcoz 2015-10-30 19:23:10 +13:00
TestTextures.cpp Bug 1209812 (part 6) - Convert all gfxImageFormat values to SurfaceFormat equivalents. r=jrmuizel. 2016-01-07 20:57:38 -08:00
TestTiledLayerBuffer.cpp Backed out changeset 4e63305fe592 (bug 1191040) for Linux gtest crashes. 2015-08-07 16:24:59 -04:00
TestTreeTraversal.cpp Bug 1227224 - Further improvements to generic tree traversal algorithms. r=botond 2016-01-25 04:04:13 -08:00
TestVsync.cpp Bug 1165458. Raise vsync timeout limit for gtests. r=kats 2016-01-20 10:29:39 -08:00
gfxFontSelectionTest.cpp Bug 1213280 - fix OSX font selection under 10.11. r=jfkthame 2015-11-20 22:01:12 +09:00
gfxFontSelectionTests.h
gfxSurfaceRefCountTest.cpp Bug 1209812 (part 6) - Convert all gfxImageFormat values to SurfaceFormat equivalents. r=jrmuizel. 2016-01-07 20:57:38 -08:00
gfxTextRunPerfTest.cpp Bug 1213280 - fix OSX font selection under 10.11. r=jfkthame 2015-11-20 22:01:12 +09:00
gfxWordCacheTest.cpp Bug 1231550 - Use DrawTarget instead of gfxContext and/or nsRenderingContext in many places in font/text code. r=jfkthame. 2015-12-15 13:56:41 -08:00
moz.build Bug 1199798 - Create tests for TreeTraversal.h r=botond 2015-11-16 13:54:12 -05:00
per-word-runs.h