gecko-dev/widget/gtk
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
..
compat
compat-gtk3
crashtests Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-21 17:15:00 +08:00
mozgtk Bug 1151753 - Set program class name when not using --class command line option. r=karlt 2017-10-25 15:58:49 +09:00
CompositorWidgetChild.cpp Bug 1373739 - Make headless compositing Windows-compatible, in addition to Linux. r=dvander 2017-07-06 17:45:34 -07:00
CompositorWidgetChild.h Bug 1373739 - Make headless compositing Windows-compatible, in addition to Linux. r=dvander 2017-07-06 17:45:34 -07:00
CompositorWidgetParent.cpp Bug 1373739 - Make headless compositing Windows-compatible, in addition to Linux. r=dvander 2017-07-06 17:45:34 -07:00
CompositorWidgetParent.h
gtk2drawing.c bug 1343802 remove unused moz_gtk_enable_style_props r=jhorak+328198 2017-03-27 20:32:16 +02:00
gtk3drawing.cpp Bug 1412010 - Add missing includes to gtk(3)drawing files, r=jhorak 2017-10-26 20:14:53 +02:00
gtkdrawing.h Bug 1412010 - Add missing includes to gtk(3)drawing files, r=jhorak 2017-10-26 20:14:53 +02:00
IMContextWrapper.cpp Bug 1387357 - IMContextWrapper::DispatchCompositionStart() should stop dispatching eCompositionStart if dispatching preceding eKeyDown event causes changing active IM context r=m_kato 2017-09-04 20:18:43 +09:00
IMContextWrapper.h Bug 1387357 - IMContextWrapper::DispatchCompositionStart() should stop dispatching eCompositionStart if dispatching preceding eKeyDown event causes changing active IM context r=m_kato 2017-09-04 20:18:43 +09:00
InProcessX11CompositorWidget.cpp Bug 1373739 - Make headless compositing Windows-compatible, in addition to Linux. r=dvander 2017-07-06 17:45:34 -07:00
InProcessX11CompositorWidget.h Bug 1373739 - Make headless compositing Windows-compatible, in addition to Linux. r=dvander 2017-07-06 17:45:34 -07:00
maiRedundantObjectFactory.c
maiRedundantObjectFactory.h
moz.build Bug 1368597 label CompositorWidget and WindowSurface as Graphics BUG_COMPONENT r=rhunt 2017-05-30 14:29:22 +12:00
mozcontainer.cpp Bug 1337369 - [Wayland] Expose moz_container_get_wl_surface() to get MozContainer overlayfrom compositor widget, r=jhorak 2017-10-24 15:26:48 +02:00
mozcontainer.h Bug 1337369 - [Wayland] Expose moz_container_get_wl_surface() to get MozContainer overlayfrom compositor widget, r=jhorak 2017-10-24 15:26:48 +02:00
NativeKeyBindings.cpp Bug 1374862 - Avoid setting gHandled when we don't handle signals. r=masayuki 2017-06-20 17:03:09 -07:00
NativeKeyBindings.h Bug 1339543 part 4 Change nsIWidget::ExecuteNativeKeyBinding() to nsIWidget::GetEditCommands() which just retrieves edit commands for the type r=smaug 2017-05-19 17:49:41 +09:00
nsApplicationChooser.cpp
nsApplicationChooser.h
nsAppShell.cpp Bug 1151753 - Set program class name when not using --class command line option. r=karlt 2017-10-25 15:58:49 +09:00
nsAppShell.h
nsBidiKeyboard.cpp
nsBidiKeyboard.h
nsClipboard.cpp Bug 1390428 (part 9) - Remove nsXPIDLCString. r=erahm. 2017-08-17 15:29:03 +10:00
nsClipboard.h Bug 1387170 - Use custom clipboard constructor instead of singleton. r=jrmuizel 2017-08-09 09:49:50 -07:00
nsColorPicker.cpp Bug 1390428 (part 2, attempt 2) - Remove more nsXPIDLCString local variables. r=erahm. 2017-08-21 20:01:27 +10:00
nsColorPicker.h
nsCUPSShim.cpp
nsCUPSShim.h
nsDeviceContextSpecG.cpp Bug 1185236 - Shorten print job name when GTK version is older than 3.18.2. r=karlt 2017-10-13 15:48:39 +09:00
nsDeviceContextSpecG.h
nsDragService.cpp Bug 1390428 (part 2, attempt 2) - Remove more nsXPIDLCString local variables. r=erahm. 2017-08-21 20:01:27 +10:00
nsDragService.h Bug 1353939 - Disable drag service in headless mode. r=jrmuizel 2017-04-10 11:30:52 -07:00
nsFilePicker.cpp Bug 1390428 (part 2, attempt 2) - Remove more nsXPIDLCString local variables. r=erahm. 2017-08-21 20:01:27 +10:00
nsFilePicker.h Bug 1387800 - Remove [deprecated] nsIFilePicker.show(). r=qdot 2017-08-06 13:15:31 +09:00
nsGtkCursors.h
nsGtkKeyUtils.cpp
nsGtkKeyUtils.h
nsGTKToolkit.h
nsGtkUtils.h
nsIdleServiceGTK.cpp
nsIdleServiceGTK.h
nsIImageToPixbuf.h
nsImageToPixbuf.cpp
nsImageToPixbuf.h
nsLookAndFeel.cpp Bug 1415080 - Rename all 's' prefixed members of nsLookAndFeel as they're not static ones, r=jhorak 2017-11-07 10:14:52 +01:00
nsLookAndFeel.h Bug 1415080 - Rename all 's' prefixed members of nsLookAndFeel as they're not static ones, r=jhorak 2017-11-07 10:14:52 +01:00
nsNativeThemeGTK.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
nsNativeThemeGTK.h Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
nsPaperPS.cpp
nsPaperPS.h
nsPrintDialogGTK.cpp Bug 1407103 - Convert wstring attributes to AString in widget/nsIPrint*.idl. r=bobowen. 2017-10-09 10:08:09 +11:00
nsPrintDialogGTK.h
nsPrintOptionsGTK.cpp
nsPrintOptionsGTK.h
nsPrintSettingsGTK.cpp Bug 1407103 - Convert wstring attributes to AString in widget/nsIPrint*.idl. r=bobowen. 2017-10-09 10:08:09 +11:00
nsPrintSettingsGTK.h Bug 1407103 - Convert wstring attributes to AString in widget/nsIPrint*.idl. r=bobowen. 2017-10-09 10:08:09 +11:00
nsPSPrinters.cpp Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj. 2017-07-31 14:28:48 +10:00
nsPSPrinters.h
nsSound.cpp Bug 1151753 - Set program class name when not using --class command line option. r=karlt 2017-10-25 15:58:49 +09:00
nsSound.h Bug 1356681 - Expand headless mode support for linux. r=automatedtester,jrmuizel,kanru 2017-05-18 17:47:10 -07:00
nsToolkit.cpp
nsWidgetFactory.cpp Bug 1399956 - Add basic hard coded GTK theme in headless. r=jrmuizel 2017-10-16 16:15:45 -07:00
nsWindow.cpp Bug 1414272 - Implement SetNonClientMargins() for Gtk+, r=jhorak 2017-11-03 15:38:29 +01:00
nsWindow.h Bug 1414272 - Implement SetNonClientMargins() for Gtk+, r=jhorak 2017-11-03 15:38:29 +01:00
PCompositorWidget.ipdl
PlatformWidgetTypes.ipdlh Bug 1373739 - Make headless compositing Windows-compatible, in addition to Linux. r=dvander 2017-07-06 17:45:34 -07:00
ScreenHelperGTK.cpp Bug 1350643 - Part 5.2: Use per-monitor gdkScaleFactor to set contentsScaleFactor & nsWindow::GetDesktopToDeviceScale if running in gtk/wayland. r=karlt 2017-06-16 11:13:59 +08:00
ScreenHelperGTK.h Bug 1350643 - Part 2: Use gdk functions to enumerate monitors instead of Xinerama. r=karlt 2017-06-06 17:57:54 +08:00
WakeLockListener.cpp Bug 1398539: Inhibit screensaver with XScreenSaverSuspend r=karlt 2017-09-13 18:28:51 -06:00
WakeLockListener.h Bug 1412258 - Get rid of ipc/dbus, r=smaug 2017-10-27 18:41:40 +02:00
WidgetStyleCache.cpp Bug 1364843 - Allow MOZ_GTK_HEADER_BAR* widget creation, r=jhorak 2017-09-19 20:34:31 +02:00
WidgetStyleCache.h bug 1396722 remove no-op ReleaseStyleContext() r=stransky+263117 2017-09-05 09:16:01 +12:00
WidgetTraceEvent.cpp
WidgetUtilsGtk.cpp
WidgetUtilsGtk.h
WindowSurfaceProvider.cpp
WindowSurfaceProvider.h
WindowSurfaceX11.cpp
WindowSurfaceX11.h
WindowSurfaceX11Image.cpp Bug 1404323 - limit WindowSurfaceX11Image::Commit to clip bounds. r=gankro 2017-09-29 23:59:40 -04:00
WindowSurfaceX11Image.h
WindowSurfaceXRender.cpp
WindowSurfaceXRender.h
X11CompositorWidget.cpp Bug 1373739 - Make headless compositing Windows-compatible, in addition to Linux. r=dvander 2017-07-06 17:45:34 -07:00
X11CompositorWidget.h Bug 1373739 - Make headless compositing Windows-compatible, in addition to Linux. r=dvander 2017-07-06 17:45:34 -07:00