Commit Graph

584 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
Kartikaya Gupta
ca1c3e7c71 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
02cb9a10d2 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
d1785a10e7 Bug 777075 - Extract a PanZoomTarget interface for functions that PanZoomController depends upon. r=mbrubeck 2012-08-07 10:39:03 -04:00
Kartikaya Gupta
81b7f838d9 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
ac74fe9dd6 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
8297193b5c 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
058219de38 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
Vladimir Vukicevic
ea47a3f189 b=780213; don't call glDeleteTextures when len == 0 in TextureReaper, because Adreno; r=snorp 2012-08-03 13:40:41 -04:00
Vladimir Vukicevic
b1586e9a47 b=779936; can't use TextureView without android hardware accelerated windows (S3 bustage); r=snorp 2012-08-03 13:40:33 -04:00
Chris Peterson
393e18eb9b Bug 779366 - Part 2b: Remove ViewportMetrics' dependency on GeckoApp by passing DisplayMetrics. r=sriram 2012-08-01 14:51:28 -07:00
Chris Peterson
ceaa1e5e80 Backout bcb8b2b5a310 (bug 779366 - Part 2). r=me 2012-08-01 14:42:11 -07:00
Chris Peterson
f1e7ec6bd4 Bug 779366 - Part 3: Move direct buffer allocation to DirectBufferAllocator. r=kats 2012-07-31 15:54:29 -07:00
Chris Peterson
84fdc2c235 Bug 779366 - Part 2: Move DisplayMetrics to ConfigurationUtils. r=sriram 2012-07-30 16:05:44 -07:00
Chris Peterson
4251f0fb5a Bug 779366 - Part 1: Move FloatUtils to org.mozilla.gecko.util package. r=kats
--HG--
rename : mobile/android/base/FloatUtils.java => mobile/android/base/util/FloatUtils.java
2012-07-27 21:57:47 -07:00
Chris Peterson
f554e798e4 Bug 778472 - Part 3: Standardize order of import statements: org.mozilla, com, net, org, android, java. r=mfinkle 2012-07-27 17:53:54 -07:00
Ed Morley
535a8bc1c3 Backout d2ee4c12c0b3 (bug 777351), 5aa6f94160dd (bug 777351), b47c470168fc (bug 777351), 5fb303ba52f7 (bug 777351), be81e4c3d928 (bug 777351), abc5b9a922dc (bug 777075), 8f1fc980f1f1 (bug 777075), 0b194a7f47d4 (bug 777075), d10df9bfef60 (bug 777075), 65393fe32cce (bug 777075), b52dc1df2fde (bug 777075), 8aeda525c094 (bug 777075) for Android native R1 failures on a CLOSED TREE 2012-08-01 18:42:05 +01:00
Kartikaya Gupta
d42c0f97fa Bug 777351 - Scope down and inline some functions in the new GeckoLayerClient. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta
11cea9019d Bug 777351 - Remove unnecessary getBitmap function that always returns null. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta
a031059e87 Bug 777351 - Fold LayerController into GeckoLayerClient. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta
07a08a1361 Bug 777351 - Some minor cleanup in GeckoLayerClient.java. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta
3b4606beb7 Bug 777351 - Move the getDrawable functions from LayerController to LayerView. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta
f24402c6c9 Bug 777075 - Remove notifyLayerClientOfGeometryChange from the PanZoomTarget interface by baking it into setViewportMetrics and setForceRedraw. r=mbrubeck 2012-08-01 10:38:30 -04:00
Kartikaya Gupta
4099824309 Bug 777075 - Trim the PanZoomState interface by moving some LayerController functions into PanZoomController. r=mbrubeck 2012-08-01 10:38:30 -04:00
Kartikaya Gupta
8a269c8752 Bug 777075 - Extract a PanZoomTarget interface for functions that PanZoomController depends upon. r=mbrubeck 2012-08-01 10:38:30 -04:00
Kartikaya Gupta
fd0f91ea80 Bug 777075 - Eliminate the getViewport and getZoomFactor methods in LayerController to further reduce exposed surface area. r=mbrubeck 2012-08-01 10:38:30 -04:00
Kartikaya Gupta
072cb58af2 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-01 10:38:30 -04:00
Kartikaya Gupta
2bd15c9b96 Bug 777075 - Refactor PanZoomController to consolidate code that gets the viewport metrics from the LayerController. r=mbrubeck 2012-08-01 10:38:29 -04:00
James Willcox
b5966430df Bug 779152 - Render into a TextureView on Android where available r=kats 2012-07-31 13:30:46 -04:00
Chris Peterson
dfd0007214 Bug 778472 - Part 1: Remove unused and redundant import statements. r=mfinkle 2012-07-27 17:54:41 -07:00
Kartikaya Gupta
3fb3feda6c Bug 770047 - Add the LayerView directly to the XML layout rather than creating it later, so that we don't get a black flash on startup on JellyBean devices. r=sriram 2012-07-28 10:33:51 -04:00
Sriram Ramasubramanian
5bc1a73c63 Bug 778247: mAppContext cleanup: Tabs can avoid it. [r=mbrubeck]
--HG--
extra : rebase_source : 1a5ed5ec5dbfdd72c81877196e3a3f10764e3d07
2012-07-27 23:31:54 -07:00
Sriram Ramasubramanian
230cffc0be Bug 778247: mAppContext cleanup: display metrics can be obtained from context. [r=mbrubeck]
--HG--
extra : rebase_source : a36329385979ffd0312fdba19b17798f0e62b3ad
2012-07-27 23:13:34 -07:00
Sriram Ramasubramanian
52c9be9650 Bug 761785: Background shown during overscroll disappeared. [r=kats] 2012-07-26 23:54:48 -07:00
Kartikaya Gupta
bf1ea7a837 Bug 775722 - Reposition the text selection handles during pan/zoom operations. r=blassey 2012-07-26 10:13:48 -04:00
Benoit Jacob
e617a93343 Bug 763805 - make GL error messages more explicit about lack of OpenGL ES2 support - r=kats 2012-07-25 12:13:45 -04:00
Geoff Brown
960a950edb Bug 773667 - Remove unused code from ScreenshotLayer; r=blassey 2012-07-23 13:34:16 -06:00
Kartikaya Gupta
eb67617fdf Bug 772855 - Log exception stack traces when logging errors. r=cpeterson 2012-07-23 15:04:28 -04:00
James Willcox
80029db926 Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey 2012-07-20 15:20:51 -04:00
Ed Morley
69ac41ee19 Backout 4987ffd173a4 (bug 687267) for bustage 2012-07-23 14:47:54 +01:00
James Willcox
9c75650095 Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
--HG--
extra : rebase_source : 450055ae3e71ea84f74252d3bf100fe970d29d14
2012-07-20 15:20:51 -04:00
Ms2ger
0a56bc3482 Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE. 2012-07-22 14:02:18 +02:00
James Willcox
f0d7883166 Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert 2012-07-20 15:20:51 -04:00
Matt Brubeck
52519ba041 Bug 766858 - When tab menu is open, intercept all touch events on about:home or web content [r=kats] 2012-07-20 10:06:01 -07:00
Steve Fink
f20c2ef916 Backed out changeset afd9e75374e8 from a CLOSED TREE for breaking Windows builds 2012-07-19 14:55:48 -07:00
Margaret Leibovic
11834842a6 Bug 774938 - Native text selection handles. r=mfinkle,kats 2012-07-19 13:16:44 -07:00
James Willcox
67949244f1 Bug 687267 - Initial support for Flash on Honeycomb r=benwa,vlad 2012-07-19 16:15:40 -04:00
Kartikaya Gupta
c3712183db Bug 766647 - Do a better job of coalescing the low-res screenshots. r=blassey 2012-07-18 11:23:16 -04:00
Chris Peterson
eb5ec13a62 Backout 554503c436a3 (Bug 709230 Part 2) for possible test bustage. r=me 2012-07-17 22:39:46 -07:00
Chris Peterson
0ae5b05768 Backout 844444ca8feb (Bug 709230) r=bustage 2012-07-17 17:54:54 -07:00
Chris Peterson
7cc0a9ac2f Bug 709230 - Part 4: Remove unused imports. r=blassey 2012-07-15 13:20:43 -07:00