Commit Graph

706 Commits

Author SHA1 Message Date
Kartikaya Gupta
3015b13f60 Bug 840346 - Make the overscroll background area a solid color. r=cwiis
--HG--
extra : rebase_source : 97fc27101558f6da74f3e0418601eac7728656fb
2013-02-14 10:00:23 -08:00
Jim Chen
9d18f3a9c3 Bug 835906 - Let GeckoInputConnection switch to background thread; r=cpeterson 2013-02-08 16:07:12 -05:00
Kartikaya Gupta
88dcc6657a Bug 777468 - Move ownership of TouchEventHandler from LayerView to JavaPanZoomController. r=Cwiiis
This patch has a bunch of semi-independent changes that unfortunately
couldn't be split apart without introducing hacks to make stuff build
on the intermediate patches. The main changes are:
- Moving TouchEventHandler from LayerView to JavaPanZoomController
- Registering the touch interceptor on the LayerView rather than the
  TouchEventHandler
- Moving the Tab:HasTouchListener handler from GeckoApp to JPZC

The net effect of all of this is that the TouchEventHandler is hidden
behind the PanZoomController interface and not accessible to GeckoApp
or GeckoAppShell.

Additionally, some of the JPZC methods were renamed from onXXX to
handleXXX to maintain the convention that onXXX methods are "interface"
methods (i.e. exposed to arbitrary other code) whereas handleXXX
methods are private/package and should only be called in very specific
ways.
2013-02-08 09:13:09 -05:00
Kartikaya Gupta
1a5dcc2958 Bug 777468 - Rename PanZoomController to JavaPanZoomController and extract a new PanZoomController interface. r=Cwiiis
--HG--
rename : mobile/android/base/gfx/PanZoomController.java => mobile/android/base/gfx/JavaPanZoomController.java
2013-02-08 09:12:59 -05:00
Kartikaya Gupta
4dcacbb416 Bug 777468 - Move mobile/android/base/ui/* to mobile/android/base/gfx/. r=Cwiiis
--HG--
rename : mobile/android/base/ui/Axis.java => mobile/android/base/gfx/Axis.java
rename : mobile/android/base/ui/PanZoomController.java => mobile/android/base/gfx/PanZoomController.java
rename : mobile/android/base/ui/PanZoomTarget.java => mobile/android/base/gfx/PanZoomTarget.java
rename : mobile/android/base/ui/SimpleScaleGestureDetector.java => mobile/android/base/gfx/SimpleScaleGestureDetector.java
rename : mobile/android/base/ui/SubdocumentScrollHelper.java => mobile/android/base/gfx/SubdocumentScrollHelper.java
2013-02-08 09:11:43 -05:00
Kartikaya Gupta
bb838d30bc Bug 837821 - Guard against exception when calling scheduleComposite before libxul is loaded. r=gbrown 2013-02-07 10:17:33 -05:00
Kartikaya Gupta
57216f4b09 Bug 834414 - Fix leaks caused by missing tab change listener unregistrations. r=sriram 2013-01-25 13:51:41 -05:00
Phil Ringnalda
b8c910183c Back out 5a56a56a6481:a5969a01955b (bug 834414) to investigate whether it caused reftest-4 failures
CLOSED TREE
2013-01-25 20:03:50 -08:00
Kartikaya Gupta
e9dd366630 Bug 834414 - Fix leaks caused by missing tab change listener unregistrations. r=sriram 2013-01-25 13:51:41 -05:00
Chris Lord
d0161b544c Bug 827844 - Fix flickering when layout changes on Firefox/android. r=kats,bgirard
Fix flickering that can occur when the surface size changes due to a layout
change (such as the virtual keyboard appearing/disappearing) on Android.
2013-01-10 17:32:43 +00:00
Kartikaya Gupta
c9f9091646 Bug 785597 - Allow the compositor to be registered earlier in the startup process and prevent creating multiple LayerManager instances. r=snorp 2013-01-10 11:21:10 -05:00
Kartikaya Gupta
ef869e5ac5 Bug 826300 - Don't block on waiting for a valid surface when trying to resume the compositor; allow resuming to fail gracefully. r=snorp,BenWa 2013-01-10 11:21:10 -05:00
Chris Peterson
a90d14ab62 Bug 828594 - Part 2: Remove unused Java imports. r=kats 2013-01-09 10:32:50 -08:00
Wes Johnston
f1da34eb65 Bug 725018 - FormAssistant should reposition itself on viewport changes. r=kats,mleibovic 2013-01-09 11:37:01 -08:00
Kartikaya Gupta
5cd68ceed7 Bug 828316 - Rename setForceRedraw to forceRedraw. r=Cwiiis DONTBUILD 2013-01-09 11:21:04 -05:00
Kartikaya Gupta
4ec5ac501e Bug 827836 - Force sending a viewport update to Gecko after aborting animations. r=Cwiiis 2013-01-09 09:40:08 -05:00
Greg Roodt
8134e1c125 Bug 686228 - Add simple mouse scrolling support. r=kats 2013-01-06 22:35:01 +00:00
Kartikaya Gupta
12271b92b9 Bug 771746 - Draw scrollbars using a white outline so it shows up on dark backgrounds. r=Cwiiis 2012-12-29 15:24:01 -05:00
Kartikaya Gupta
a28080e65d Bug 771746 - Some cleanup in ScrollbarLayer.java. r=Cwiiis 2012-12-29 15:22:59 -05:00
Kartikaya Gupta
40cdde21d1 Bug 820302 - Don't abort the pan-zoom animation on a viewport update if the page size didn't really change. r=Cwiiis 2012-12-21 15:50:49 -05:00
Kartikaya Gupta
1df52c4fc2 Bug 785597 - Get rid of unused mGLVersion field. r=snorp 2012-12-21 11:33:09 -05:00
Kartikaya Gupta
51e401c59c Bug 785597 - Remove a bunch of unused code. r=snorp 2012-12-21 11:32:52 -05:00
Kartikaya Gupta
aa24841938 Bug 817134 - Delete dead code in java-land to display checkerboarding. r=blassey 2012-12-15 10:43:57 -05:00
Kartikaya Gupta
3da21dae58 Bug 817134 - Remove the low-res screenshotting code. r=blassey 2012-12-15 10:43:52 -05:00
Kartikaya Gupta
d51168bc42 Bug 820556 - Remove unused function. r=snorp 2012-12-11 17:33:09 -05:00
Kartikaya Gupta
b1dabb9993 Bug 820556 - Remove unused GeckoEventResponder bindings in GeckoLayerClient. r=snorp 2012-12-11 17:33:09 -05:00
Kartikaya Gupta
4418e76adb Bug 820556 - Kill mUsesDefaultProgram which is always true. r=snorp 2012-12-11 17:33:09 -05:00
Kartikaya Gupta
36c0ea5990 Bug 805353 - Guard against crash if two threads call into freeBuffer concurrently. r=snorp 2012-12-10 10:13:10 -05:00
James Willcox
64ad895cda Bug 789271 - Remove placeholder code from PluginLayer r=blassey
--HG--
extra : rebase_source : ea4287baa67b24a5382ceb323317b795e6ebc44e
2012-12-10 10:00:17 -05:00
Chris Lord
600eb8829f Bug 819310 - Fix possible race when stopping checkerboard recording. r=kats
Make stopCheckerboardRecording safe to call while recordCheckerboard is
executing.
2012-12-07 15:11:05 +00:00
Chris Lord
9b229ca87b Bug 814437 - Address review comments that were missed. r=bgirard
In my haste, I forgot to address review comments before pushing. This
corrects indentation in PanningPerf.java, moves GetValidLowPrecisionRegion from
Layer to TiledLayerComposer and corrects checkerboard measurement when there
isn't a low precision buffer and when the display ports don't cover the screen.
2012-11-30 23:11:37 +00:00
Ehsan Akhgari
12de3548e2 Backed out changeset 5368aced79b3 (bug 814437) because it breaks Android builds 2012-11-30 15:41:08 -05:00
Chris Lord
524e13922f Bug 814437 - Address review comments that were missed. r=bgirard
In my haste, I forgot to address review comments before pushing. This
corrects indentation in PanningPerf.java, moves GetValidLowPrecisionRegion from
Layer to TiledLayerComposer and corrects checkerboard measurement when there
isn't a low precision buffer and when the display ports don't cover the screen.
2012-11-30 19:52:17 +00:00
Chris Lord
7e2e47a4e0 Bug 814864 - Only draw low precision tiles when necessary. r=kats
Use DisplayPortCalculator.aboutToCheckerboard to determine if we're in risk of
checkerboarding while drawing tiles, and only then enable low precision
rendering. This makes sure that we don't spend time doing low precision
rendering when it isn't going to be of benefit (and thus decreases the
likelihood of the user seeing low precision tiles unnecessarily).
2012-11-29 13:08:41 +00:00
Chris Lord
c18df4638e Bug 814864 - Abort old, stale, low precision updates. r=kats
Don't spend time during stale, low precision content when there are newer
display ports in the pipeline.
2012-11-29 13:08:40 +00:00
Chris Lord
f934392869 Bug 814437 - Record checkerboarding over time instead of per frame. r=kats
Frame-rate has an unpredictable effect on the results of robocop checkerboarding
tests. Instead of recording checkerboarding per frame, record it over time.
2012-11-29 12:03:52 +00:00
Chris Lord
8df438c5af Bug 814437 - Fix checkerboard measurement when using a critical displayport. r=bgirard
The checkerboard measurement depended on the displayport coverage of the
viewport, which was calculated in LayerRenderer. When using a critical
displayport, this value changes, but this was not being accounted for.

We have all the context we need for this Gecko-side, so move this code into
LayerManagerOGL::ComputeRenderIntegrity and account for displayport coverage
correctly.
2012-11-29 12:03:38 +00:00
Brian Nicholson
e662ee9fe1 Bug 813346 - Add getBitmapFromDataURI() to BitmapUtils. r=wesj 2012-11-27 12:04:14 -08:00
Kartikaya Gupta
87988ca643 Bug 775511 - Disable panning and showing of scrollbars when in full-screen mode. r=Cwiiis 2012-11-24 17:32:09 -05:00
Kartikaya Gupta
c099f5397e Bug 775511 - Move full screen state variable from GeckoApp to LayerView. r=Cwiiis 2012-11-24 17:32:08 -05:00
Chris Lord
ec43f1372d Bug 814447 - Fix progressive update callback using incorrect values. r=kats
Cancelling could happen at the wrong times due to using an out-of-date
resolution, or could not happen during low-res drawing due to not re-checking
the displayport age.
2012-11-22 18:19:00 +00:00
Chris Lord
8b4fb00720 Bug 783368 - Fix progressive tile update coherency issues. r=bgirard
Fix some progressive tile updating coherency issues caused by aborting at
inopportune times and tile draw ordering.
2012-11-21 22:34:19 +00:00
Chris Lord
eb9816cea0 Bug 783368 - Correct the height calculation in ProgressiveUpdateData. r=kats 2012-11-21 22:34:19 +00:00
Chris Lord
b85091b04e Bug 783368 - Send the correct display port when rendering low precision. r=kats,bgirard
When doing a low precision update, send the display-port instead of the
critical display port so that more appropriate cancelling decisions can be
made.
2012-11-21 22:34:19 +00:00
Benoit Girard
ec45406cba Bug 809566 - Remove paint logging. r=kats 2012-11-19 16:24:17 -05:00
Ehsan Akhgari
a1ca146c7c Backed out 11 changesets (bug 783368) because of build bustage on a CLOSED TREE
Backed out changeset 2bc4310263c4 (bug 783368)
Backed out changeset a35c83a8d99d (bug 783368)
Backed out changeset afb9b2a661ba (bug 783368)
Backed out changeset 3926f510f9be (bug 783368)
Backed out changeset 9d1fe200ff87 (bug 783368)
Backed out changeset b6e4f88f5730 (bug 783368)
Backed out changeset bc53f7dba7c6 (bug 783368)
Backed out changeset 1948fa2fccc1 (bug 783368)
Backed out changeset 9af163388fd1 (bug 783368)
Backed out changeset 7a2256e1aa7c (bug 783368)
Backed out changeset 4da1958a9885 (bug 783368)
2012-11-21 14:57:02 -05:00
Chris Lord
960993b01b Bug 783368 - Fix progressive tile update coherency issues. r=bgirard
Fix some progressive tile updating coherency issues caused by aborting at
inopportune times and tile draw ordering.
2012-11-21 19:16:52 +00:00
Chris Lord
9cfa756739 Bug 783368 - Correct the height calculation in ProgressiveUpdateData. r=kats 2012-11-21 19:16:52 +00:00
Chris Lord
9dafa73eb6 Bug 783368 - Send the correct display port when rendering low precision. r=kats,bgirard
When doing a low precision update, send the display-port instead of the
critical display port so that more appropriate cancelling decisions can be
made.
2012-11-21 19:16:52 +00:00
Kartikaya Gupta
5bb660fa7a Bug 813311 - Hide Axis so that it is not unnecessarily exposed to the world. r=Cwiiis 2012-11-20 13:38:47 -05:00
Morrison Cole
143f3073ee Bug 810278 - Improved background/toolbar visual cohesion. r=wjohnston 2012-11-16 13:43:33 -08:00
Chris Lord
b09e957f4a Bug 807299 - Fix incorrect progressive update cancelling. r=bgirard
Sometimes the rounding error on display ports is over a pixel - in this case,
progressive updates may be cancelled incorrectly and cause drawing to be missed
until the next invalidation (assuming that isn't also incorrectly cancelled).
2012-11-07 18:06:57 +00:00
Kartikaya Gupta
076143068a Bug 809199 - Update offsetViewportBy to take dx/dy instead of PointF. r=Cwiiis 2012-11-07 11:47:17 -05:00
Kartikaya Gupta
d4974f9af5 Bug 809199 - Update setViewportSize to take width/height instead of a FloatSize. r=Cwiiis 2012-11-07 11:47:08 -05:00
Kartikaya Gupta
47ba8e7df9 Bug 809199 - ViewportMetrics is dead. Long live ImmutableViewportMetrics. r=Cwiiis 2012-11-07 11:47:08 -05:00
Kartikaya Gupta
489650a19f Bug 809199 - Update the getDisplayPort JNI-called function to take an ImmutableViewportMetrics. r=Cwiiis 2012-11-07 11:47:08 -05:00
Kartikaya Gupta
baa905f00d Bug 809199 - Switch mGeckoViewport to be an ImmutableViewportMetrics instead of a ViewportMetrics. r=Cwiiis 2012-11-07 11:47:08 -05:00
Kartikaya Gupta
15548d7f45 Bug 809199 - Update createViewportEvent to take an ImmutableViewportMetrics. r=Cwiiis 2012-11-07 11:47:08 -05:00
Kartikaya Gupta
b1896320f7 Bug 809199 - Eliminate use of ViewportMetrics from PanZoomController. r=Cwiiis 2012-11-07 11:47:08 -05:00
Kartikaya Gupta
cbd04811c2 Bug 809199 - Add an offsetViewportBy function to ImmutableViewportMetrics. r=Cwiiis 2012-11-07 11:47:08 -05:00
Kartikaya Gupta
d1bf65d2b9 Bug 809199 - Modify methods in PanZoomTarget to take ImmutableViewportMetrics instead of ViewportMetrics. r=Cwiiis 2012-11-07 11:47:07 -05:00
Kartikaya Gupta
a3140f12d3 Bug 809199 - Move the interpolate function from ViewportMetrics to ImmutableViewportMetrics. r=Cwiiis 2012-11-07 11:47:07 -05:00
Jim Chen
74758f7d7b Bug 805162 - a. Expose GeckoAppShell only to Gecko-side IME interface; r=blassey 2012-11-01 16:11:02 -04:00
Sriram Ramasubramanian
735e9fb273 Bug 783092: LightweightTheme support in Fennec. [r=mfinkle] 2012-10-31 22:10:59 -07:00
Ed Morley
403e0dfe0c Backout 533faa3c50ed, 718abc1bd4ad, af2d5272c06b, ad5554e1345d, c9ef1b41b829, d3a825311d11, 0a51bcb3eb9e, a01a327e8ec4, 973b0ed30b8b, 39851bbcfaa1 & a92d2d2a3b0e (bug 805162), d4884aab5ce6, 06fcbaf40cb4, daccc3fe7c70, 881eb2a2906e, 76232441ae06, 01ae34fa1b3f & 5f405fc4e323 (bug 783092), a03d8d4db1c2, 49beb3801192, 174634554a97, 0bd27e755a83, 19e8f151ca67, a6604e038bc0, ed3b8237e76e & 082cf8d72554 (bug 785945) for bustage or conflicting with backout of said bustage on a CLOSED TREE 2012-11-01 00:16:35 +00:00
Jim Chen
693aec8ac9 Bug 805162 - a. Expose GeckoAppShell only to Gecko-side IME interface; r=blassey 2012-10-31 17:35:31 -04:00
Sriram Ramasubramanian
2871372d46 Bug 783092: LightweightTheme support in Fennec. [r=mfinkle]
--HG--
extra : rebase_source : 61d66ba4c9a36616156edbbb311670916e2ad23b
2012-10-31 11:03:44 -07:00
Richard Newman
4698b2cc58 Bug 804457 - Part 2: cleanup and reduce log chattiness in GeckoTabs, GeckoToolbar, GeckoLayerView, GeckoTabsAccessor, GeckoAppShell. r=mfinkle 2012-10-26 15:47:35 -07:00
Chris Lord
45bbf04571 Bug 805028 - Use ComputeRenderIntegrity to calculate accurate checkerboard. r=kats
Use ComputeRenderIntegrity so that checkerboarding values remain accurate when
progressive tiles are enabled.
2012-10-25 17:23:47 +01:00
James Willcox
1ba3d3b616 Bug 801627 - Fix fullscreen Flash on Android r=blassey 2012-10-22 10:51:29 -04:00
Matt Brubeck
5d2338b046 Back out a2cdb1000e51 (bug 801627) because of Android crashes on a CLOSED TREE 2012-10-22 09:57:00 -07:00
James Willcox
786d5e93d3 Bug 801627 - Fix fullscreen Flash on Android r=blassey 2012-10-22 10:51:29 -04:00
Kartikaya Gupta
058c4f07cd Bug 803700 - Remove unnecesary finalizers. r=blassey 2012-10-22 10:15:35 -04:00
Kartikaya Gupta
5657ef4d5d Bug 803613 - Minor code cleanup. r=blassey 2012-10-22 10:14:44 -04:00
Kartikaya Gupta
1cc47ef57c 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
e1f406e8c4 Bug 802280 - Send Layerview focus change events to js. r=blassey 2012-10-19 10:06:08 -07:00
Brian Nicholson
ad37712739 Bug 718465 - Part 2: Clear background color when selected tab changes. r=kats 2012-10-18 00:01:20 -07:00
pushkarsingh
8c26b9b1d7 Bug 779511 - Freeing buffers should be moved out of finalize functions. r=kats 2012-10-17 23:53:40 -04:00
Lucas Rocha
7d859f6910 Bug 801477 - Fix black flash on startup caused by SurfaceView (r=kats) 2012-10-17 17:59:18 +01:00
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
Vladimir Vukicevic
bd1724bff4 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
abcbcb4077 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
41b6ea6b1b Bug 779366 - Part 2b: Remove ViewportMetrics' dependency on GeckoApp by passing DisplayMetrics. r=sriram 2012-08-01 14:51:28 -07:00
Chris Peterson
0056fba509 Backout bcb8b2b5a310 (bug 779366 - Part 2). r=me 2012-08-01 14:42:11 -07:00
Chris Peterson
51f10d37e8 Bug 779366 - Part 3: Move direct buffer allocation to DirectBufferAllocator. r=kats 2012-07-31 15:54:29 -07:00
Chris Peterson
2f9b95cde3 Bug 779366 - Part 2: Move DisplayMetrics to ConfigurationUtils. r=sriram 2012-07-30 16:05:44 -07:00
Chris Peterson
f5549b06dc 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
20927a2f40 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
8c798cdc3b 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
912ab62a3b Bug 777351 - Scope down and inline some functions in the new GeckoLayerClient. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta
59d53a3a44 Bug 777351 - Remove unnecessary getBitmap function that always returns null. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta
4df9e1758d Bug 777351 - Fold LayerController into GeckoLayerClient. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta
789cc42d7f Bug 777351 - Some minor cleanup in GeckoLayerClient.java. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta
866b310b59 Bug 777351 - Move the getDrawable functions from LayerController to LayerView. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta
9637f91654 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
7de6d09010 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
48920d20cf Bug 777075 - Extract a PanZoomTarget interface for functions that PanZoomController depends upon. r=mbrubeck 2012-08-01 10:38:30 -04:00
Kartikaya Gupta
dbe1c47d30 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
48c5cd570b 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
e0c7659f57 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
7d9aa5cde7 Bug 779152 - Render into a TextureView on Android where available r=kats 2012-07-31 13:30:46 -04:00