Commit Graph

534 Commits

Author SHA1 Message Date
Kartikaya Gupta
864003c462 Bug 803700 - Remove unnecesary finalizers. r=blassey 2012-10-22 10:15:35 -04:00
Kartikaya Gupta
44370c82ac Bug 803613 - Minor code cleanup. r=blassey 2012-10-22 10:14:44 -04:00
Kartikaya Gupta
a01dc19222 Bug 803613 - Guard against NPE by synchronizing the destroy function and checking for null. r=blassey 2012-10-22 10:14:39 -04:00
Eitan Isaacson
f5d2f18a05 Bug 802280 - Send Layerview focus change events to js. r=blassey 2012-10-19 10:06:08 -07:00
Brian Nicholson
f1e62e2f34 Bug 718465 - Part 2: Clear background color when selected tab changes. r=kats 2012-10-18 00:01:20 -07:00
pushkarsingh
44e6bd9d0c Bug 779511 - Freeing buffers should be moved out of finalize functions. r=kats 2012-10-17 23:53:40 -04:00
Lucas Rocha
1a0eb8ddb4 Bug 801477 - Fix black flash on startup caused by SurfaceView (r=kats) 2012-10-17 17:59:18 +01:00
Kartikaya Gupta
cafdff0c36 Bug 802495 - Don't create an unnecessary second LayerRenderer on startup. r=Cwiiis 2012-10-17 09:17:58 -04:00
Kartikaya Gupta
bc8c4cab05 Bug 802491 - Always transfer ownership of direct-allocation buffers to BufferedCairoImage. r=Cwiiis 2012-10-17 09:17:20 -04:00
Lucas Rocha
b01e503e2f 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
bc223170e4 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
5179600b54 Bug 767980 - Reimplement PropertyAnimator in terms of view proxies (r=mfinkle) 2012-10-12 12:57:07 +01:00
Lucas Rocha
929920a351 Bug 767980 - Disable TextureView support in LayerView for now (r=snorp) 2012-10-12 12:57:07 +01:00
Lucas Rocha
09fdfe3684 Bug 767980 - Create SurfaceView/TextureView after view tree is created (r=kats) 2012-10-12 12:57:07 +01:00
Brian Nicholson
476863cb86 Bug 799617 - Set SurfaceView background to white before drawing. r=kats 2012-10-10 13:51:31 -07:00
Chris Lord
e7de629479 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
55b47d06af 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
e264d5e2bf Bug 796084 - Rename mCheckerboardLayer -> mScreenshotLayer. r=blassey 2012-10-01 15:51:46 -04:00
Matt Woodrow
62f7b73450 Bug 539356 - Part 29 - Handle OOM exception gracefully during java snapshots. r=jrmuizel 2012-08-29 17:48:44 +12:00
Ed Morley
c863356300 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
8670e8c7b3 Bug 539356 - Part 29 - Handle OOM exception gracefully during java snapshots. r=jrmuizel 2012-08-29 17:48:44 +12:00
Kartikaya Gupta
50e1b4f7cd Bug 793677 - Fix inverted viewport update message test. r=blassey 2012-09-26 08:45:33 -04:00
Brad Lassey
e4c15f1c55 bug 727352 - don't use JSON for viewport meta data r=kats,mfinkle 2012-09-12 23:47:08 +02:00
Kartikaya Gupta
d69347eff4 Bug 792496 - Remove ScreenshotHandler delegation stubs from GeckoAppShell. r=cpeterson 2012-09-19 17:15:55 -04:00
Ehsan Akhgari
71d9f962d0 Backout bug 792109, bug 749053 and bug 779500 because of leaks in debug tests 2012-09-19 15:42:18 -04:00
Brad Lassey
5ab1683dfb bug 727352 - don't use JSON for viewport meta data r=kats,mfinkle 2012-09-13 15:07:57 +02:00
Kartikaya Gupta
23d5f0299c 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
b08d16766d Bug 783553 - Disable overscroll in webapps. r=kats 2012-09-12 13:36:36 -07:00
Kartikaya Gupta
e7eceb370e Bug 760229 - Factor out a fillRectCoordBuffer function. r=Cwiiis 2012-09-06 14:34:38 -04:00
Kartikaya Gupta
9a8925e784 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
118345aeca 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
44d76037fb 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
76f3f7f33f Bug 777560 - Add Jelly Bean accessibility features to Java layer. r=mbrubeck 2012-08-20 18:29:22 -04:00
Kartikaya Gupta
3fdf9ba7a2 Bug 781220 - Remove the mLayerClient field from GeckoApp. r=sriram 2012-08-20 15:43:53 -04:00
Kartikaya Gupta
f4dfe93b9d 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
c25e602e17 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
81113e1cd3 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
0100d7eb89 Bug 781220 - Simplify initialization codepaths by having the LayerView create the GeckoLayerClient. r=sriram 2012-08-20 15:43:53 -04:00
Kartikaya Gupta
cc17ac9ac4 Bug 780650 - Clean up dynamic dependencies from robocop on fennec. r=cpeterson 2012-08-14 08:55:58 -04:00
Kartikaya Gupta
15a33bcf6e Bug 781676 - Fix possible NPE from a null mTouchEventHandler. r=sriram 2012-08-10 16:16:54 -04:00
Chris Peterson
82553df11c 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
32f71316ce 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
4f236aa54e 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
c5e2d55e84 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
7fdbd75bd8 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
ca979605e1 Bug 777351 - Scope down and inline some functions in the new GeckoLayerClient. r=sriram 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
69683b02fe Bug 777351 - Remove unnecessary getBitmap function that always returns null. r=sriram 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
0361af6b33 Bug 777351 - Fold LayerController into GeckoLayerClient. r=sriram 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
10678d4e7e Bug 777351 - Some minor cleanup in GeckoLayerClient.java. r=sriram 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
92539f028d Bug 777351 - Move the getDrawable functions from LayerController to LayerView. r=sriram 2012-08-07 10:39:04 -04:00