gecko/widget
Chris Lord 6e7a025ac6 Bug 748718 - Make ScreenshotLayer use SingleTileLayer's draw function. r=kats
ScreenshotLayer overrides SingleTileLayer's draw function to simplify the
drawing process. Unfortunately, this doesn't respect the layer mask, and can
cause the layer to appear incorrectly stretched.

Change the screenshot process so that whole-page screenshots pass parameters
that are pre-scaled (to avoid mismatches when the viewport changes), and set
the page size on the ScreenShotLayer so it draws in the correct place.

This also alters the masking slightly to avoid visible seams around masks in
the centre of the page, and to avoid unnnecessary drawing at the edges of the
page.

This change fixes the frame-rate issues with the screenshot layer, as it
removes unnecessary over-draw.

--HG--
extra : rebase_source : 671c5a48d7bc08b3b452ed7eea228eb22843c1ce
2012-04-26 13:45:31 -04:00
..
android Bug 748718 - Make ScreenshotLayer use SingleTileLayer's draw function. r=kats 2012-04-26 13:45:31 -04:00
cocoa Bug 630811 part.6 Support new modifiers on all events derived from nsInputEvent on Cocoa r=smichaud 2012-04-25 12:00:02 +09:00
crashtests Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
gonk Bug 745077 - Reconfigure InputReader on screen rotation. r=mwu a=b2g-only 2012-04-25 11:59:01 +08:00
gtk2 Bug 630811 part.5 Support new modifiers on all events derived from nsInputEvent on GTK r=karlt 2012-04-25 12:00:02 +09:00
gtkxtbin Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
os2 Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug 2012-04-25 12:00:02 +09:00
qt Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug 2012-04-25 12:00:02 +09:00
reftests Bug 664925 - ASSERTION: We shouldn't have another size than small and regular for the moment. r=mstange 2011-07-11 11:41:26 +02:00
shared Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt 2012-03-22 16:24:40 -07:00
tests Bug 735648 Append command char and shifted commanded char when command key is pressed on Dvorak-QWERTY r=smichaud+karlt 2012-03-30 12:37:40 +09:00
windows Bug 630811 part.4 Support new modifiers on all events derived from nsInputEvent on Windows r=jimm 2012-04-25 12:00:02 +09:00
xpwidgets Bug 748209 - Allow compositorParent be created in custom Thread. r=ajuma 2012-04-24 09:22:34 -04:00
xremoteclient Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
LookAndFeel.h Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc 2012-02-20 15:19:48 -08:00
Makefile.in Bug 627956 - Fold widget/build into widget/windows. r=roc 2012-01-03 22:10:06 -05:00
nsEvent.h Bug 731878 part.1 Implement D3E initMouseEvent() and getModifierState() but they shouldn't be public r=smaug 2012-04-25 12:00:01 +09:00
nsGUIEvent.h Bug 630811 part.1 Move modifiers from nsMouseEvent_base to nsInputEvent r=smaug 2012-04-25 12:00:02 +09:00
nsGUIEventIPC.h Bug 630811 part.1 Move modifiers from nsMouseEvent_base to nsInputEvent r=smaug 2012-04-25 12:00:02 +09:00
nsIAppShell.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIBaseWindow.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIBidiKeyboard.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIClipboard.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIClipboardDragDropHookList.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIClipboardDragDropHooks.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIClipboardHelper.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIClipboardOwner.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIDeviceContextSpec.h Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIDragService.idl Bug 715885 - Don't allow extensions to hook nsIDragService. r=roc 2012-01-19 17:48:18 -06:00
nsIDragSession.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIDragSessionGTK.h Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIDragSessionOS2.h Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIFilePicker.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIFormatConverter.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIGfxInfo.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIGfxInfoDebug.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIIdleService.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIIMEPicker.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIJumpListBuilder.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIJumpListItem.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIMacDockSupport.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsINativeKeyBindings.h Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsINativeMenuService.h Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIPluginWidget.h Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIPrintDialogService.h Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIPrintOptions.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIPrintSession.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIPrintSettings.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIPrintSettingsService.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIPrintSettingsWin.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIRollupListener.h Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIRwsService.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIScreen.idl Bug 714416 - Add API for rotating screens, sr=roc 2012-02-06 14:33:04 -08:00
nsIScreenManager.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsISound.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsIStandaloneNativeMenu.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsITaskbarOverlayIconController.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsITaskbarPreview.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsITaskbarPreviewButton.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsITaskbarPreviewController.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsITaskbarProgress.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsITaskbarTabPreview.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsITaskbarWindowPreview.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsITransferable.idl Bug 499008, part 7, merge html drag type constants into one place, r=ehsan 2012-02-17 09:17:00 -05:00
nsIWidget.h Bug 728284. Don't try to paint an opaque background for widgets that do it themselves. r=roc 2012-04-17 01:04:05 -05:00
nsIWinTaskbar.idl Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsNativeWidget.h Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
nsWidgetInitData.h Bug 674370 - Make browser windows (and other document-like windows) zoom on creation on OS X 10.7. r=mstange,dao sr=bzbarsky 2012-02-17 14:47:39 +11:00
nsWidgetsCID.h Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00
WidgetTraceEvent.h Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00