gecko-dev/gfx/tests/gtest
Nicholas Nethercote 06e901cb9f Bug 1231550 - Use DrawTarget instead of gfxContext and/or nsRenderingContext in many places in font/text code. r=jfkthame.
AutoTextRun now only needs a DrawTarget instead of an nsRenderingContext, and
similar nsRenderingContext/gfxContext-to-DrawTarget replacements can be
propagated a long way up the call graph. This patch replaces 93 occurrences of
nsRenderingContext and 135 occurrences of gfxContext with DrawTarget; that's
13% of them.

The patch is mostly plumbing changes. A couple of not-entirely-plumbing
changes:

- It adds a comment about the null check in
  gfxGlyphExtents::GetTightGlyphExtentsAppUnits().

- A couple of functions simply had an unused gfxContext or nsRenderingContext
  parameter removed, e.g. SetLineBreaks().

--HG--
extra : rebase_source : 8f56994bb4d254a86788b17ab2864ebc758a7e6b
2015-12-15 13:56:41 -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 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04: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
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 1229237 (part 3) - Make nsIWidget::Invalidate() take a LayoutDeviceIntRect. r=botond. 2015-11-16 21:18:31 -08: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 1228029 - Fix the usage of gtest assertion macros in TestJobScheduler.cpp. r=kats 2015-11-25 19:36:44 +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 1158122 - Remove most occurences of nsIntRect in gfx/tests. r=nical 2015-05-07 11:08:01 +02: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 1228952 - Move texture metadata out of the BufferTextureClient/Host's buffer. r=Sotaro 2015-12-16 19:50:58 +01:00
TestTiledLayerBuffer.cpp Backed out changeset 4e63305fe592 (bug 1191040) for Linux gtest crashes. 2015-08-07 16:24:59 -04:00
TestTreeTraversal.cpp Bug 1226920 - Allow calling ForEachNode() with an action returning void r=botond 2015-11-23 13:06:01 -05:00
TestVsync.cpp Bug 1223052 - Add a gtest to test that the vsync source supplies a proper vsync rate. r=kats 2015-11-09 19:10:26 -08:00