mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
5cbba9b317
This is a relatively easy way to improve the rendering with the non-native theme while not regressing anything. In the future, once non-native-theme is shipped and default everywhere, I think we could provide something like: bool nsITheme::GetShadowRect(nsIFrame*, StyleAppearance, LayoutDeviceRect&, RectCornerRadii&) or such, where we can provide a precise rect + radii, and we would avoid painting the shadow if the function returned false. That would allow us to remove the native theme box shadow code path, and avoid WR fallback, all at once. Differential Revision: https://phabricator.services.mozilla.com/D109209 |
||
---|---|---|
.. | ||
AppUnits.h | ||
ArrayView.h | ||
components.conf | ||
CompositorHitTestInfo.h | ||
DriverCrashGuard.cpp | ||
DriverCrashGuard.h | ||
FilterDescription.h | ||
FilterSupport.cpp | ||
FilterSupport.h | ||
FontPropertyTypes.h | ||
gfxCrashReporterUtils.cpp | ||
gfxCrashReporterUtils.h | ||
gfxTelemetry.cpp | ||
gfxTelemetry.h | ||
moz.build | ||
nsBoundingMetrics.h | ||
nsColor.cpp | ||
nsColor.h | ||
nsColorNameList.h | ||
nsColorNames.h | ||
nsCoord.h | ||
nsDeviceContext.cpp | ||
nsDeviceContext.h | ||
nsFont.cpp | ||
nsFont.h | ||
nsFontMetrics.cpp | ||
nsFontMetrics.h | ||
nsGfxCIID.h | ||
nsIFontEnumerator.idl | ||
nsITheme.h | ||
nsMargin.h | ||
nsPoint.h | ||
nsRect.cpp | ||
nsRect.h | ||
nsRectAbsolute.h | ||
nsRegion.cpp | ||
nsRegion.h | ||
nsRegionFwd.h | ||
nsSize.h | ||
nsThebesFontEnumerator.cpp | ||
nsThebesFontEnumerator.h | ||
nsTransform2D.cpp | ||
nsTransform2D.h | ||
RegionBuilder.h | ||
RelativeLuminanceUtils.h | ||
TiledRegion.cpp | ||
TiledRegion.h | ||
X11UndefineNone.h | ||
X11Util.cpp | ||
X11Util.h |