gecko-dev/widget/gtk
Emilio Cobos Álvarez 7f2b3314e0 Bug 1694059 - Use WebRender to render most non-native-theme widgets when possible. r=mstange
We basically use a couple primitives to draw these
(PaintRoundedRectWithRadius, FillRect), so making the code a bit generic
implementing stuff with WebRender seems straight-forward.

I've kept using the fallback codepath for the bits that draw complex
paths like arrows and such, but the rest of the things should work with
this patch.

A thing I'm not too happy about is the scrollbar painting setup (requires a lot
of boilerplate), but modulo template hacks make nsNativeBasicTheme a template
that receives its super class as a parameter or something) it seems hard to do
better.

Differential Revision: https://phabricator.services.mozilla.com/D105931
2021-02-23 10:49:37 +00:00
..
compat
compat-gtk3/gdk
crashtests
mozgtk Bug 1668805: Enable opaque region if new GDK API is availabe, r=stransky 2021-02-16 09:04:47 +00:00
mozwayland
wayland
CompositorWidgetChild.cpp
CompositorWidgetChild.h
CompositorWidgetParent.cpp
CompositorWidgetParent.h
DMABufLibWrapper.cpp Bug 1688851 - Check if modifiers are valid before adding. r=stransky,jgilbert 2021-02-05 09:39:02 +00:00
DMABufLibWrapper.h Bug 1688851 - Check if modifiers are valid before adding. r=stransky,jgilbert 2021-02-05 09:39:02 +00:00
DMABufSurface.cpp Bug 1688851 - Check if modifiers are valid before adding. r=stransky,jgilbert 2021-02-05 09:39:02 +00:00
DMABufSurface.h
GRefPtr.h
GtkCompositorWidget.cpp Bug 1689623 [Linux] Check mWidget before use at GtkCompositorWidget::GetTransparentRegion(), r=lsalzman 2021-01-30 15:55:18 +00:00
GtkCompositorWidget.h Bug 1689245 - replace CompositorWidget::ClearBeforePaint with GetTransparentRegion. r=mattwoodrow CLOSED TREE 2021-01-28 09:12:40 +00:00
IMContextWrapper.cpp
IMContextWrapper.h
InProcessGtkCompositorWidget.cpp
InProcessGtkCompositorWidget.h
MPRISInterfaceDescription.h
MPRISServiceHandler.cpp
MPRISServiceHandler.h
MediaKeysEventSourceFactory.cpp
MozContainer.cpp
MozContainer.h
MozContainerWayland.cpp Bug 1668805: Enable opaque region if new GDK API is availabe, r=stransky 2021-02-16 09:04:47 +00:00
MozContainerWayland.h Bug 1668805: Enable opaque region if new GDK API is availabe, r=stransky 2021-02-16 09:04:47 +00:00
NativeKeyBindings.cpp Bug 1685491 - part 5: Move the code remapping arrow keys in vertical content to `NativeKeyBindings` r=smaug,jfkthame 2021-02-02 03:29:31 +00:00
NativeKeyBindings.h Bug 1685491 - part 5: Move the code remapping arrow keys in vertical content to `NativeKeyBindings` r=smaug,jfkthame 2021-02-02 03:29:31 +00:00
PCompositorWidget.ipdl
PlatformWidgetTypes.ipdlh
ScreenHelperGTK.cpp
ScreenHelperGTK.h
TaskbarProgress.cpp
TaskbarProgress.h
WakeLockListener.cpp Bug 1691894 - Replace several suboptimal uses of Put after Get by GetOrInsertWith or WithEntryHandle. r=xpcom-reviewers,necko-reviewers,kmag,valentin,geckoview-reviewers,agi 2021-02-15 15:12:17 +00:00
WakeLockListener.h
WaylandVsyncSource.cpp
WaylandVsyncSource.h
WidgetStyleCache.cpp
WidgetStyleCache.h
WidgetTraceEvent.cpp
WidgetUtilsGtk.cpp
WidgetUtilsGtk.h
WindowSurfaceProvider.cpp Bug 1688372 - fix some reference to 'Glyph' is ambiguous r=andi 2021-01-23 12:07:07 +00:00
WindowSurfaceProvider.h
WindowSurfaceWayland.cpp Bug 1683578 [wayland] Use wl_surface ID instead of wl_surface address when check for stored frame callback, r=jhorak 2021-02-11 15:30:17 +00:00
WindowSurfaceWayland.h Bug 1683578 [wayland] Use wl_surface ID instead of wl_surface address when check for stored frame callback, r=jhorak 2021-02-11 15:30:17 +00:00
WindowSurfaceX11.cpp
WindowSurfaceX11.h
WindowSurfaceX11Image.cpp
WindowSurfaceX11Image.h
WindowSurfaceXRender.cpp
WindowSurfaceXRender.h
components.conf Bug 1686616 - register all Services.py services with components.conf. r=kmag,necko-reviewers,valentin 2021-02-18 13:26:28 +00:00
gtk3drawing.cpp
gtkdrawing.h
maiRedundantObjectFactory.c
maiRedundantObjectFactory.h
moz.build
nsAppShell.cpp
nsAppShell.h
nsApplicationChooser.cpp
nsApplicationChooser.h
nsBidiKeyboard.cpp
nsBidiKeyboard.h
nsClipboard.cpp
nsClipboard.h
nsClipboardWayland.cpp Bug 1635757 [Linux] Remove nsDragService logging module and log D&D with WidgetDrag log module, r=jhorak 2021-02-16 07:52:36 +00:00
nsClipboardWayland.h
nsClipboardX11.cpp
nsClipboardX11.h
nsColorPicker.cpp
nsColorPicker.h
nsDeviceContextSpecG.cpp Bug 1691798 - Prefer finding by ipp name when canonicalizing paper size in gtk. r=AlaskanEmily 2021-02-23 00:41:48 +00:00
nsDeviceContextSpecG.h
nsDragService.cpp Bug 1635757 [Wayland] Set MOZ_GTK_DRAG_RESULT_NO_TARGET in invisibleSourceDragFailed, r=jhorak 2021-02-16 08:24:01 +00:00
nsDragService.h
nsFilePicker.cpp
nsFilePicker.h
nsGTKToolkit.h
nsGtkCursors.h
nsGtkKeyUtils.cpp
nsGtkKeyUtils.h
nsGtkUtils.h
nsIImageToPixbuf.h
nsImageToPixbuf.cpp
nsImageToPixbuf.h
nsLookAndFeel.cpp Bug 1681356 [Linux] Rename CSDSupportLevel to GtkWindowDecoration, r=jhorak 2021-02-17 13:04:39 +00:00
nsLookAndFeel.h Bug 1691781 - Make Linux tab bar use the darker of the highlight / highlighttext colors. r=dao 2021-02-11 16:36:54 +00:00
nsNativeBasicThemeGTK.cpp Bug 1694059 - Use WebRender to render most non-native-theme widgets when possible. r=mstange 2021-02-23 10:49:37 +00:00
nsNativeBasicThemeGTK.h Bug 1694059 - Use WebRender to render most non-native-theme widgets when possible. r=mstange 2021-02-23 10:49:37 +00:00
nsNativeThemeGTK.cpp Bug 1689253 - Add a more sensible scrollbar size API to nsITheme, and use it to replace ScrollbarNonDisappearing. r=spohl 2021-01-28 22:11:54 +00:00
nsNativeThemeGTK.h Bug 1689253 - Add a more sensible scrollbar size API to nsITheme, and use it to replace ScrollbarNonDisappearing. r=spohl 2021-01-28 22:11:54 +00:00
nsPrintDialogGTK.cpp
nsPrintDialogGTK.h
nsPrintSettingsGTK.cpp Bug 1692316 - Part 1: Update Platform Duplex Print Terminology r=dholbert 2021-02-17 23:57:26 +00:00
nsPrintSettingsGTK.h
nsPrintSettingsServiceGTK.cpp
nsPrintSettingsServiceGTK.h
nsSound.cpp
nsSound.h
nsToolkit.cpp
nsUserIdleServiceGTK.cpp
nsUserIdleServiceGTK.h
nsWaylandDisplay.cpp
nsWaylandDisplay.h
nsWidgetFactory.cpp
nsWidgetFactory.h
nsWindow.cpp Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00
nsWindow.h Bug 1693597 - P1: Rename Accessible to LocalAccessible. r=morgan 2021-02-19 23:14:32 +00:00