mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
968ce32698
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 |
||
---|---|---|
.. | ||
AndroidBridge.cpp | ||
AndroidBridge.h | ||
AndroidDirectTexture.cpp | ||
AndroidDirectTexture.h | ||
AndroidGraphicBuffer.cpp | ||
AndroidGraphicBuffer.h | ||
AndroidJavaWrappers.cpp | ||
AndroidJavaWrappers.h | ||
AndroidJNI.cpp | ||
AndroidLayerViewWrapper.cpp | ||
AndroidLayerViewWrapper.h | ||
AndroidMediaLayer.cpp | ||
AndroidMediaLayer.h | ||
GfxInfo.cpp | ||
GfxInfo.h | ||
Makefile.in | ||
nsAppShell.cpp | ||
nsAppShell.h | ||
nsClipboard.cpp | ||
nsClipboard.h | ||
nsDeviceContextAndroid.cpp | ||
nsDeviceContextAndroid.h | ||
nsFilePicker.cpp | ||
nsFilePicker.h | ||
nsIAndroidBridge.idl | ||
nsIdleServiceAndroid.cpp | ||
nsIdleServiceAndroid.h | ||
nsIMEPicker.cpp | ||
nsIMEPicker.h | ||
nsLookAndFeel.cpp | ||
nsLookAndFeel.h | ||
nsPrintOptionsAndroid.cpp | ||
nsPrintOptionsAndroid.h | ||
nsScreenManagerAndroid.cpp | ||
nsScreenManagerAndroid.h | ||
nsWidgetFactory.cpp | ||
nsWindow.cpp | ||
nsWindow.h |