Commit Graph

527 Commits

Author SHA1 Message Date
Kartikaya Gupta
937f3cabc9 Bug 802495 - Don't create an unnecessary second LayerRenderer on startup. r=Cwiiis 2012-10-17 09:17:58 -04:00
Kartikaya Gupta
e7c0764df4 Bug 802491 - Always transfer ownership of direct-allocation buffers to BufferedCairoImage. r=Cwiiis 2012-10-17 09:17:20 -04:00
Lucas Rocha
a14fa5da7f Bug 793771 - Use drawing cache on the tabs pane sliding on pre-ICS phone (r=mfinkle) 2012-10-15 16:18:30 +01:00
Chris Lord
5bf1712318 Bug 749063 - Replace shouldAbort with generic callback for progressive updates. r=bgirard
Replace ShouldAbortProgressiveUpdate with ProgressiveUpdateCallback, that
provides more contextual information about how the update will get used.
2012-10-15 09:33:34 +01:00
Lucas Rocha
2e160d4f8f Bug 767980 - Reimplement PropertyAnimator in terms of view proxies (r=mfinkle) 2012-10-12 12:57:07 +01:00
Lucas Rocha
d8b937fc23 Bug 767980 - Disable TextureView support in LayerView for now (r=snorp) 2012-10-12 12:57:07 +01:00
Lucas Rocha
2619b3c70e Bug 767980 - Create SurfaceView/TextureView after view tree is created (r=kats) 2012-10-12 12:57:07 +01:00
Brian Nicholson
671a6a2054 Bug 799617 - Set SurfaceView background to white before drawing. r=kats 2012-10-10 13:51:31 -07:00
Chris Lord
cea8d6a6c4 Bug 794130 - Abort drawing if appropriate when using progressive tile updates. r=bgirard,blassey
Add a function to BasicLayerManager to check if it's appropriate to abort an
ongoing progressive update, and add an Android-specific implementation in
mobile/android/base/gfx/GeckoLayerClient.java.

--HG--
extra : rebase_source : edbd20acb53660340d52265591849aacafd179c4
2012-10-04 14:45:16 -04:00
Jeff Muizelaar
f668a90e8d Bug 770956. Use LINEAR instead of NEAREST. r=chrislord
Sometimes screenshots are MAGNIFIED in one axis and MINIFIED in the other. This
makes it so we use consistent filtering in both directions.

--HG--
extra : rebase_source : 0d9d1ff98d3b48fb817edf872aadaed4329d3126
2012-10-03 18:29:08 -04:00
Benoit Girard
891d3e1bb9 Bug 796084 - Rename mCheckerboardLayer -> mScreenshotLayer. r=blassey 2012-10-01 15:51:46 -04:00
Matt Woodrow
5c257baaf0 Bug 539356 - Part 29 - Handle OOM exception gracefully during java snapshots. r=jrmuizel 2012-08-29 17:48:44 +12:00
Ed Morley
5a3b322459 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
8ee410f25e Bug 539356 - Part 29 - Handle OOM exception gracefully during java snapshots. r=jrmuizel 2012-08-29 17:48:44 +12:00
Kartikaya Gupta
77e407c64d Bug 793677 - Fix inverted viewport update message test. r=blassey 2012-09-26 08:45:33 -04:00
Brad Lassey
402924f707 bug 727352 - don't use JSON for viewport meta data r=kats,mfinkle 2012-09-12 23:47:08 +02:00
Kartikaya Gupta
24c23acfb9 Bug 792496 - Remove ScreenshotHandler delegation stubs from GeckoAppShell. r=cpeterson 2012-09-19 17:15:55 -04:00
Ehsan Akhgari
a51e1f674c Backout bug 792109, bug 749053 and bug 779500 because of leaks in debug tests 2012-09-19 15:42:18 -04:00
Brad Lassey
5af05339d5 bug 727352 - don't use JSON for viewport meta data r=kats,mfinkle 2012-09-13 15:07:57 +02:00
Kartikaya Gupta
dd11c94c55 Bug 753312 - Extract a PrefsHelper class that manages getting/setting of gecko prefs, and updated existing code to use it. r=cpeterson 2012-09-17 14:22:28 -04:00
Wes Johnston
33b6a66339 Bug 783553 - Disable overscroll in webapps. r=kats 2012-09-12 13:36:36 -07:00
Kartikaya Gupta
1633a55ae4 Bug 760229 - Factor out a fillRectCoordBuffer function. r=Cwiiis 2012-09-06 14:34:38 -04:00
Kartikaya Gupta
0d58f1cd31 Bug 760229 - Cache some transient objects in ScrollbarLayer to reduce GC stress during composition. r=Cwiiis 2012-09-06 14:34:08 -04:00
Kartikaya Gupta
2542e6270d Bug 760229 - Cache some transient objects in SingleTileLayer to reduce GC stress during composition. r=Cwiiis 2012-09-06 14:33:44 -04:00
Kartikaya Gupta
22fb3c0008 Bug 787322 - Don't send viewport updates back to gecko on page-size updates, since Gecko already knows about it. r=Cwiiis 2012-09-04 09:52:02 -04:00
Eitan Isaacson
5741eb371b Bug 777560 - Add Jelly Bean accessibility features to Java layer. r=mbrubeck 2012-08-20 18:29:22 -04:00
Kartikaya Gupta
c2cd754ccb Bug 781220 - Remove the mLayerClient field from GeckoApp. r=sriram 2012-08-20 15:43:53 -04:00
Kartikaya Gupta
91da6e0789 Bug 781220 - Move some functions from GeckoLayerClient over into LayerView to simplify access to them. r=sriram 2012-08-20 15:43:53 -04:00
Kartikaya Gupta
1f938065b8 Bug 781220 - Hide other GeckoLayerClient methods and expose them via the LayerView API. r=sriram 2012-08-20 15:43:53 -04:00
Kartikaya Gupta
f82d267807 Bug 781220 - Expose a getLayerView function from GeckoApp and use it instead of going through the layer client in a few places. r=sriram 2012-08-20 15:43:53 -04:00
Kartikaya Gupta
a7b6aa8be4 Bug 781220 - Simplify initialization codepaths by having the LayerView create the GeckoLayerClient. r=sriram 2012-08-20 15:43:53 -04:00
Kartikaya Gupta
278a2d48bb Bug 780650 - Clean up dynamic dependencies from robocop on fennec. r=cpeterson 2012-08-14 08:55:58 -04:00
Kartikaya Gupta
d45bbd7e49 Bug 781676 - Fix possible NPE from a null mTouchEventHandler. r=sriram 2012-08-10 16:16:54 -04:00
Chris Peterson
214dbdb6fc Bug 778468 - Part 9: Use EventDispatcher to remove ui dependency on GeckoAppShell event registration. r=blassey 2012-08-04 00:33:07 -07:00
Chris Peterson
51b5e13a65 Bug 778468 - Part 8: Add EventDispatcher to remove gfx dependency on GeckoAppShell event registration. r=blassey 2012-08-02 15:12:35 -07:00
Kartikaya Gupta
c0d9057cff Bug 780699 - Prevent possible deadlock by reducing the scope of a synchronized block in GLController. r=ajuma 2012-08-08 11:37:46 -04:00
Chris Peterson
12be5c166f Bug 778468 - Part 7: Move GeckoEventListener to org.mozilla.gecko.util package. r=blassey
--HG--
extra : rebase_source : d0b2982b64126c046c5c974c7ec014992bef63b7
2012-08-02 17:13:40 -07:00
Chris Lord
5b80d64763 Bug 780928 - Fix rawtypes usage in LayerView.java. r=kats
Fix unnecessary usage of raw Class type.
2012-08-07 18:57:19 +01:00
Kartikaya Gupta
7c27c82eb2 Bug 777351 - Scope down and inline some functions in the new GeckoLayerClient. r=sriram 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
69eda93651 Bug 777351 - Remove unnecessary getBitmap function that always returns null. r=sriram 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
0f75a70847 Bug 777351 - Fold LayerController into GeckoLayerClient. r=sriram 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
e3ce5edbe4 Bug 777351 - Some minor cleanup in GeckoLayerClient.java. r=sriram 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
8805993182 Bug 777351 - Move the getDrawable functions from LayerController to LayerView. r=sriram 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
3350e05928 Bug 777075 - Remove notifyLayerClientOfGeometryChange from the PanZoomTarget interface by baking it into setViewportMetrics and setForceRedraw. r=mbrubeck 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
4fdffd71e8 Bug 777075 - Trim the PanZoomState interface by moving some LayerController functions into PanZoomController. r=mbrubeck 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
4b24887a6e Bug 777075 - Extract a PanZoomTarget interface for functions that PanZoomController depends upon. r=mbrubeck 2012-08-07 10:39:03 -04:00
Kartikaya Gupta
d3a77d21bc Bug 777075 - Eliminate the getViewport and getZoomFactor methods in LayerController to further reduce exposed surface area. r=mbrubeck 2012-08-07 10:39:03 -04:00
Kartikaya Gupta
d6ad560bb7 Bug 777075 - Extract a ZoomConstraints class to carry around the pieces of data that are otherwise floating around Tab and LayerController. r=mbrubeck 2012-08-07 10:39:03 -04:00
Kartikaya Gupta
decd347956 Bug 777075 - Refactor PanZoomController to consolidate code that gets the viewport metrics from the LayerController. r=mbrubeck 2012-08-07 10:39:03 -04:00
Chris Peterson
778b6784c6 Bug 778468 - Part 6: Inject LayerView's InputConnectionHandler to remove GeckoInputConnection dependency. r=blassey
--HG--
extra : rebase_source : 7422a54c7c360ef8712c75d865e5e545d922aad1
2012-08-02 11:56:52 -07:00