gecko-dev/gfx/layers/basic
Kartikaya Gupta 00ef028ed3 Bug 1416267 - Update gfxContext matrix functions to avoid flip-flopping between float and double matrices. r=jrmuizel
The core of this change is in gfxContext.*:
- change gfxContext::CurrentMatrix() and gfxContext::SetMatrix() to
  return and take a Matrix respectively, instead of converting to
  and from a gfxMatrix (which uses doubles). These functions therefore
  will now match the native representation of the transform in gfxContext.
- add two new functions CurrentMatrixDouble() and SetMatrixDouble() that
  do what the old CurrentMatrix() and SetMatrix() used to do, i.e.
  convert between the float matrix and the double matrix.

The rest of the change is just updating the call sites to avoid round-
tripping between floats and doubles where possible. Call sites that are
hard to fix are migrated to the new XXXDouble functions which preserves
the existing behaviour.

MozReview-Commit-ID: 5sbBpLUus3U
2017-11-10 21:14:09 -05:00
..
AutoMaskData.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BasicBorderLayer.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BasicCanvasLayer.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BasicCanvasLayer.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BasicColorLayer.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BasicCompositor.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BasicCompositor.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BasicContainerLayer.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BasicContainerLayer.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BasicDisplayItemLayer.cpp Bug 1416267 - Update gfxContext matrix functions to avoid flip-flopping between float and double matrices. r=jrmuizel 2017-11-10 21:14:09 -05:00
BasicImageLayer.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BasicImages.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BasicImplData.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BasicLayerManager.cpp Bug 1416267 - Update gfxContext matrix functions to avoid flip-flopping between float and double matrices. r=jrmuizel 2017-11-10 21:14:09 -05:00
BasicLayers.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BasicLayersImpl.cpp Bug 1416267 - Update gfxContext matrix functions to avoid flip-flopping between float and double matrices. r=jrmuizel 2017-11-10 21:14:09 -05:00
BasicLayersImpl.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BasicPaintedLayer.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BasicPaintedLayer.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
BasicTextLayer.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
MacIOSurfaceTextureHostBasic.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
MacIOSurfaceTextureHostBasic.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
TextureClientX11.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
TextureClientX11.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
TextureHostBasic.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
TextureHostBasic.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
X11BasicCompositor.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
X11BasicCompositor.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
X11TextureSourceBasic.cpp Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00
X11TextureSourceBasic.h Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel 2017-10-27 16:10:06 -07:00