gecko-dev/widget/cocoa
Timothy Nikkel 1438d13673 Bug 1490938. Pass the high quality scaling flag when we request decode of images in most cases. r=aosmond
If we do not pass the high quality scaling flag than the resulting surface will be marked as cannot substitute, which is not accurate, so we don't want.

The only place that actually tries to be smart about the size is nsImageFrame::MaybeDecodeForPredictedSize. All other cases just ask for the intrinsic size.

The two most likely cases are that there are no decoded copies of the image, or there is one decoded (or in progress) copy of the image.

In the first case we will request decode at the instrinsic size, and then if we draw at a different size that draw will request the proper size. This doesn't change with this patch.

In the second case there is a decoded copy already available, this is likely from a draw call on the image, and that is the surface size that we want. So we save a decode. If we are actually drawing the image at two different sizes the second size will be slightly delayed, but we have the wrongly sized copy of the image that we can draw until then. This seems like a good tradeoff to avoid always decoding an instrinic size copy of images.
2018-09-27 18:30:17 -05:00
..
crashtests
cursors Bug 1234008 - Recompress some png images with zopflipng r=Dolske,Grisha,jryans 2018-01-27 15:57:42 +08:00
resources/MainMenu.nib
ComplexTextInputPanel.h
ComplexTextInputPanel.mm
CustomCocoaEvents.h
GfxInfo.h Bug 1441270 - Remove unused WebGL parameter getters. r=jgilbert 2018-02-26 20:35:12 +01:00
GfxInfo.mm Bug 1348273 - Convert crash annotations into a machine-readable list of constants; r=ted.mielczarek,njn,dholbert,mak,cpearce,mcmanus,froydnj,Dexter,jrmuizel,jchen,jimm,bz,surkov 2018-07-05 15:42:11 +02:00
moz.build Bug 1363168 - Add support for OSX Share feature. r=Gijs,mstange 2018-03-12 09:16:51 +00:00
mozView.h
NativeKeyBindings.h
NativeKeyBindings.mm
nsAppShell.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
nsAppShell.mm Bug 1476250 - Simplify HAL initialization and shutdown to reduce the chance of leaks and UAFs r=froydnj 2018-08-31 20:29:30 +00:00
nsBidiKeyboard.h
nsBidiKeyboard.mm Bug 1491595 - Remove the XPCOM registration for the bidi keyboard; r=mstange 2018-09-17 00:02:58 -04:00
nsChangeObserver.h Bug 651120 - Remove index argument from content removed/appended/inserted notifications. r=peterv 2017-10-03 11:09:08 +01:00
nsChildView.h Bug 1486971 - Test for dynamically change of the prefers-reduced-motion setting on MacOSX. r=froydnj,mstange 2018-09-15 01:00:07 +00:00
nsChildView.mm Bug 1489785: Remove a workaround for gcc, introduced in bug 678607, that is no longer needed and that causes hangs in modal dialogs on macOS 10.14. r=mstange 2018-09-30 01:02:08 -04:00
nsClipboard.h
nsClipboard.mm Bug 1462262 - Handle pasting image files on macOS. r=spohl 2018-05-17 23:12:46 +10:00
nsCocoaDebugUtils.h
nsCocoaDebugUtils.mm
nsCocoaFeatures.h Bug 1471950: Add nsCocoaFeatures::OnMojaveOrLater(). r=haik 2018-06-28 21:18:25 -04:00
nsCocoaFeatures.mm Bug 1471950: Add nsCocoaFeatures::OnMojaveOrLater(). r=haik 2018-06-28 21:18:25 -04:00
nsCocoaUtils.h Bug 1487204 - Add platform support for calling authorizationStatusForMediaType and requestAccessForMediaType from JS r=spohl 2018-09-06 16:06:15 +00:00
nsCocoaUtils.mm Bug 1492210 - Cast AVAuthorizationStatus to GeckoAVAuthorizationStatus r=haik 2018-09-18 23:59:04 +00:00
nsCocoaWindow.h Bug 1485247 - Remove the XPCOM component registration for Cocoa popup windows; r=mstange 2018-08-24 19:14:11 -04:00
nsCocoaWindow.mm Bug 1484848 - Remove the XPCOM component registrations for window and child window; r=mstange 2018-08-21 16:20:28 -04:00
nsColorPicker.h
nsColorPicker.mm
nsCursorManager.h
nsCursorManager.mm Bug 1423275: Ensure that the proper mouse cursor is shown on macOS when switching between custom and default system cursors. r=mstange 2017-12-15 16:49:23 -06:00
nsDeviceContextSpecX.h Bug 1436263 - Part 3: Remove virtual from final virtual function declarations. r=froydnj 2018-02-08 21:22:43 -08:00
nsDeviceContextSpecX.mm Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
nsDragService.h Bug 1473029, convert drag services to internally use CSSIntRegion instead ns nsIScriptableRegion, r=mstange 2018-08-07 09:32:08 -04:00
nsDragService.mm Bug 1487263 - set requesting principal for macOS drags, r=mstange 2018-08-30 13:56:44 +00:00
nsFilePicker.h
nsFilePicker.mm
nsIdleServiceX.h Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
nsIdleServiceX.mm Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
nsLookAndFeel.h Bug 1486971 - Query NSWorkspace.accessibilityDisplayShouldReduceMotion only if it's on parent processes or it's the initial query on child processes. r=mstange 2018-09-15 00:59:54 +00:00
nsLookAndFeel.mm Bug 1486971 - Test for dynamically change of the prefers-reduced-motion setting on MacOSX. r=froydnj,mstange 2018-09-15 01:00:07 +00:00
nsMacCursor.h
nsMacCursor.mm
nsMacDockSupport.h
nsMacDockSupport.mm Bug 1453795 - Widget/Cocoa - Initialize member fields in classes/ structures. r=mstange 2018-06-15 17:15:23 +03:00
nsMacSharingService.h Bug 1363168 - Add support for OSX Share feature. r=Gijs,mstange 2018-03-12 09:16:51 +00:00
nsMacSharingService.mm Backed out changeset 68859b04588d (bug 1471877) for failures in browser/content/browser-pageActions.js on a CLOSED TREE 2018-07-18 13:32:50 +03:00
nsMacWebAppUtils.h
nsMacWebAppUtils.mm
nsMenuBarX.h Bug 1434318 part 8. Remove nsIDOMDocument::GetElementById. r=mystor 2018-01-31 15:18:10 -05:00
nsMenuBarX.mm Bug 1434318 part 8. Remove nsIDOMDocument::GetElementById. r=mystor 2018-01-31 15:18:10 -05:00
nsMenuBaseX.h
nsMenuGroupOwnerX.h Bug 1423167: Move most attribute-related methods from nsIContent to Element. r=bz 2017-12-06 16:05:59 +01:00
nsMenuGroupOwnerX.mm Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz 2018-05-11 19:46:15 +02:00
nsMenuItemIconX.h Bug 1407498 - Don't query loadingprincipal in common case. r=baku 2017-10-24 10:13:31 +08:00
nsMenuItemIconX.mm Bug 1490938. Pass the high quality scaling flag when we request decode of images in most cases. r=aosmond 2018-09-27 18:30:17 -05:00
nsMenuItemX.h Bug 1423167: Move most attribute-related methods from nsIContent to Element. r=bz 2017-12-06 16:05:59 +01:00
nsMenuItemX.mm Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug 2018-04-05 13:42:41 -04:00
nsMenuUtilsX.h
nsMenuUtilsX.mm Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz 2018-05-11 19:46:15 +02:00
nsMenuX.h
nsMenuX.mm Bug 1489147 - Remove the XPCOM component registration for nsXPConnect; r=mccr8 2018-09-06 16:39:35 -04:00
nsNativeThemeCocoa.h Bug 1484565 - Implement scrollbar-width: thin support for cocoa widget. r=spohl 2018-08-20 04:57:58 +00:00
nsNativeThemeCocoa.mm Bug 1491594 - Remove the XPCOM registration for the native theme renderer r=mstange 2018-09-20 01:20:55 +00:00
nsNativeThemeColors.h
nsPIWidgetCocoa.idl
nsPrintDialogX.h
nsPrintDialogX.mm Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
nsPrintSettingsServiceX.h Bug 144114 part 3 - Clean up the headers of the nsPrintSettingsService subclasses. r=bobowen 2017-12-19 11:05:37 +00:00
nsPrintSettingsServiceX.mm Bug 144114 part 2 - Rename nsPrintOptions and its subclasses to nsPrintSettingsService*. r=bobowen 2017-12-19 10:42:15 +00:00
nsPrintSettingsX.h Bug 1407103 - Convert wstring attributes to AString in widget/nsIPrint*.idl. r=bobowen. 2017-10-09 10:08:09 +11:00
nsPrintSettingsX.mm Bug 1479071 - Revert kPMDataFormatXMLCompressed to kPMDataFormatXMLNormal. r=mstange 2018-08-22 02:07:28 +00:00
nsSandboxViolationSink.h
nsSandboxViolationSink.mm
nsSound.h
nsSound.mm Bug 1448914 - remove nsISound::playSystemSound; r=masayuki 2018-03-27 10:41:40 -04:00
nsStandaloneNativeMenu.h
nsStandaloneNativeMenu.mm Bug 1455674 part 13. Remove remaining xpidl uses of nsIDOMElement. r=qdot 2018-04-26 23:37:29 -04:00
nsSystemStatusBarCocoa.h
nsSystemStatusBarCocoa.mm Bug 1455674 part 13. Remove remaining xpidl uses of nsIDOMElement. r=qdot 2018-04-26 23:37:29 -04:00
nsToolkit.h
nsToolkit.mm Bug 1415741. Switch to a different env var, not MOZ_DEBUG, for disabling mouse event taps on Mac. r=mstange 2017-11-15 12:23:58 -05:00
nsWidgetFactory.mm Bug 1491594 - Remove the XPCOM registration for the native theme renderer r=mstange 2018-09-20 01:20:55 +00:00
nsWindowMap.h
nsWindowMap.mm
OSXNotificationCenter.h Bug 952453 - Remove mozNotification API; r=mattn r=baku 2018-01-08 14:56:22 -08:00
OSXNotificationCenter.mm Backing out 8fd1d4a79a48 (Bug 952453) due to notification bustage on MacOS 2018-01-04 14:50:21 -08:00
RectTextureImage.h Bug 1444373 - Don't crash when trying to draw an empty RectTextureImage. r=mattwoodrow 2018-04-09 17:07:58 -04:00
RectTextureImage.mm Bug 1444373 - Don't crash when trying to draw an empty RectTextureImage. r=mattwoodrow 2018-04-09 17:07:58 -04:00
ScreenHelperCocoa.h
ScreenHelperCocoa.mm Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
SwipeTracker.h
SwipeTracker.mm Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
TextInputHandler.h Bug 1491032 - Make TISInputSourceWrapper::WillDispatchKeyboardEvent() decide charCode value with keypress event index r=m_kato 2018-09-18 01:46:29 +00:00
TextInputHandler.mm Bug 1491032 - Make TISInputSourceWrapper::WillDispatchKeyboardEvent() decide charCode value with keypress event index r=m_kato 2018-09-18 01:46:29 +00:00
VibrancyManager.h Bug 1370040 - Use the public API -[NSVisualEffectView setMaskImage:] instead of the private API -[NSWindow _cornerMask]. r=spohl 2017-11-19 18:38:35 -05:00
VibrancyManager.mm Bug 1370040 - Use the public API -[NSVisualEffectView setMaskImage:] instead of the private API -[NSWindow _cornerMask]. r=spohl 2017-11-19 18:38:35 -05:00
ViewRegion.h
ViewRegion.mm
WidgetTraceEvent.mm