gecko/widget/android
Chris Lord 968ce32698 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
..
AndroidBridge.cpp bug 746016 - Cache low res version of the page in the java ui for use instead of checkerboarding r=kats 2012-04-24 15:13:36 -04:00
AndroidBridge.h Bug 748718 - Make ScreenshotLayer use SingleTileLayer's draw function. r=kats 2012-04-26 13:45:31 -04:00
AndroidDirectTexture.cpp Back out 243cd4db5edd and 4175fc853e16 (bug 712716) for OS X 10.6 and 10.7 assertions 2012-03-15 23:21:54 -07:00
AndroidDirectTexture.h Back out 243cd4db5edd and 4175fc853e16 (bug 712716) for OS X 10.6 and 10.7 assertions 2012-03-15 23:21:54 -07:00
AndroidGraphicBuffer.cpp Back out 243cd4db5edd and 4175fc853e16 (bug 712716) for OS X 10.6 and 10.7 assertions 2012-03-15 23:21:54 -07:00
AndroidGraphicBuffer.h Back out 243cd4db5edd and 4175fc853e16 (bug 712716) for OS X 10.6 and 10.7 assertions 2012-03-15 23:21:54 -07:00
AndroidJavaWrappers.cpp bug 746016 - Cache low res version of the page in the java ui for use instead of checkerboarding r=kats 2012-04-24 15:13:36 -04:00
AndroidJavaWrappers.h bug 746016 - Cache low res version of the page in the java ui for use instead of checkerboarding r=kats 2012-04-24 15:13:36 -04:00
AndroidJNI.cpp Bug 747642 - Followup to fix xul android bustage 2012-04-24 23:53:57 +01:00
AndroidLayerViewWrapper.cpp Bug 740898. Merge LayerView and GLSurfaceView. r=pcwalton 2012-04-05 11:28:50 -04:00
AndroidLayerViewWrapper.h Bug 740898. Merge LayerView and GLSurfaceView. r=pcwalton 2012-04-05 11:28:50 -04:00
AndroidMediaLayer.cpp Backout changeset d2340d74fc19 because of bug 735076 2012-03-12 18:51:44 -04:00
AndroidMediaLayer.h Bug 703601 - Fix a bunch of lifecycle issues with Flash on Android 2012-02-15 15:34:31 -05:00
GfxInfo.cpp
GfxInfo.h
Makefile.in Bug 745075 - Close disk cache when pausing. r=gbrown f=mfinkle,michal 2012-04-17 10:29:52 -07:00
nsAppShell.cpp Bug 748718 - Make ScreenshotLayer use SingleTileLayer's draw function. r=kats 2012-04-26 13:45:31 -04:00
nsAppShell.h Bug 740883 - Improve DRAW event coalescing behaviour for reduced latency. r=Cwiiis 2012-04-10 09:27:04 -05:00
nsClipboard.cpp
nsClipboard.h
nsDeviceContextAndroid.cpp
nsDeviceContextAndroid.h
nsFilePicker.cpp Bug 730289 - Filepicker on Android should allow picking or capturing media instead of having a specific button for capture. r=dougt,wesj ui-r=madhava 2012-03-18 17:15:56 +01:00
nsFilePicker.h Bug 730289 - Filepicker on Android should allow picking or capturing media instead of having a specific button for capture. r=dougt,wesj ui-r=madhava 2012-03-18 17:15:56 +01:00
nsIAndroidBridge.idl Bug 748832. Remove dead paint supression code. r=kats 2012-04-25 12:49:43 -04:00
nsIdleServiceAndroid.cpp
nsIdleServiceAndroid.h
nsIMEPicker.cpp
nsIMEPicker.h
nsLookAndFeel.cpp Bug 737675 - Implement -moz-touch-enabled for Android and Gonk. r=mwu 2012-03-20 16:44:43 -07:00
nsLookAndFeel.h Bug 96971: Move GetSystemFont from nsDeviceContext to mozilla::LookAndFeel. r=roc 2012-02-20 15:19:48 -08:00
nsPrintOptionsAndroid.cpp
nsPrintOptionsAndroid.h
nsScreenManagerAndroid.cpp Bug 734081 - Check pixel depth when choosing config on egl, r=cjones 2012-03-08 19:01:12 -05:00
nsScreenManagerAndroid.h
nsWidgetFactory.cpp
nsWindow.cpp Bug 748832. Remove dead paint supression code. r=kats 2012-04-25 12:49:43 -04:00
nsWindow.h Bug 707353 - Implement ANPWindow::showKeyboard() for Android plugins. r=snorp a=blocking-fennec 2012-04-20 09:49:50 -07:00