Chris Lord
cf7e552096
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
513d67161a
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
a752c5511f
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
d62d1ced11
Bug 828594 - Part 2: Remove unused Java imports. r=kats
2013-01-09 10:32:50 -08:00
Wes Johnston
3e1bd5d46d
Bug 725018 - FormAssistant should reposition itself on viewport changes. r=kats,mleibovic
2013-01-09 11:37:01 -08:00
Kartikaya Gupta
adad08e444
Bug 828316 - Rename setForceRedraw to forceRedraw. r=Cwiiis DONTBUILD
2013-01-09 11:21:04 -05:00
Kartikaya Gupta
17e9bed0e2
Bug 827836 - Force sending a viewport update to Gecko after aborting animations. r=Cwiiis
2013-01-09 09:40:08 -05:00
Greg Roodt
4ff102a424
Bug 686228 - Add simple mouse scrolling support. r=kats
2013-01-06 22:35:01 +00:00
Kartikaya Gupta
7affc8fd4f
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
e65170c39d
Bug 771746 - Some cleanup in ScrollbarLayer.java. r=Cwiiis
2012-12-29 15:22:59 -05:00
Kartikaya Gupta
5b7500d077
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
1814d8a991
Bug 785597 - Get rid of unused mGLVersion field. r=snorp
2012-12-21 11:33:09 -05:00
Kartikaya Gupta
c4b3061dfd
Bug 785597 - Remove a bunch of unused code. r=snorp
2012-12-21 11:32:52 -05:00
Kartikaya Gupta
a0022428f2
Bug 817134 - Delete dead code in java-land to display checkerboarding. r=blassey
2012-12-15 10:43:57 -05:00
Kartikaya Gupta
810968cdf4
Bug 817134 - Remove the low-res screenshotting code. r=blassey
2012-12-15 10:43:52 -05:00
Kartikaya Gupta
fac326de5a
Bug 820556 - Remove unused function. r=snorp
2012-12-11 17:33:09 -05:00
Kartikaya Gupta
ee05e5dbd7
Bug 820556 - Remove unused GeckoEventResponder bindings in GeckoLayerClient. r=snorp
2012-12-11 17:33:09 -05:00
Kartikaya Gupta
e2e85fdecb
Bug 820556 - Kill mUsesDefaultProgram which is always true. r=snorp
2012-12-11 17:33:09 -05:00
Kartikaya Gupta
f1df453ab0
Bug 805353 - Guard against crash if two threads call into freeBuffer concurrently. r=snorp
2012-12-10 10:13:10 -05:00
James Willcox
af363a4bf8
Bug 789271 - Remove placeholder code from PluginLayer r=blassey
...
--HG--
extra : rebase_source : ea4287baa67b24a5382ceb323317b795e6ebc44e
2012-12-10 10:00:17 -05:00
Chris Lord
98d6ecce87
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
77c6546972
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
48c687113c
Backed out changeset 5368aced79b3 (bug 814437) because it breaks Android builds
2012-11-30 15:41:08 -05:00
Chris Lord
b2b8133657
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
5598017819
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
09c84058e2
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
e1569825cd
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
0997087f82
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
814c339452
Bug 813346 - Add getBitmapFromDataURI() to BitmapUtils. r=wesj
2012-11-27 12:04:14 -08:00
Kartikaya Gupta
5165931e71
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
2bfe609466
Bug 775511 - Move full screen state variable from GeckoApp to LayerView. r=Cwiiis
2012-11-24 17:32:08 -05:00
Chris Lord
cc5c2ab96a
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
7f5b805f96
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
3544140050
Bug 783368 - Correct the height calculation in ProgressiveUpdateData. r=kats
2012-11-21 22:34:19 +00:00
Chris Lord
dcd77547c6
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
3b27bbe7c0
Bug 809566 - Remove paint logging. r=kats
2012-11-19 16:24:17 -05:00
Ehsan Akhgari
abcfaa316e
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
f56c6a2dd4
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
308ef35ad4
Bug 783368 - Correct the height calculation in ProgressiveUpdateData. r=kats
2012-11-21 19:16:52 +00:00
Chris Lord
2cf7007f77
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
ffcbfdadda
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
c6ce5da67a
Bug 810278 - Improved background/toolbar visual cohesion. r=wjohnston
2012-11-16 13:43:33 -08:00
Chris Lord
06198ad8de
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
3c21360542
Bug 809199 - Update offsetViewportBy to take dx/dy instead of PointF. r=Cwiiis
2012-11-07 11:47:17 -05:00
Kartikaya Gupta
1659b1784a
Bug 809199 - Update setViewportSize to take width/height instead of a FloatSize. r=Cwiiis
2012-11-07 11:47:08 -05:00
Kartikaya Gupta
46436ac6d3
Bug 809199 - ViewportMetrics is dead. Long live ImmutableViewportMetrics. r=Cwiiis
2012-11-07 11:47:08 -05:00
Kartikaya Gupta
cbfc940100
Bug 809199 - Update the getDisplayPort JNI-called function to take an ImmutableViewportMetrics. r=Cwiiis
2012-11-07 11:47:08 -05:00
Kartikaya Gupta
127e982753
Bug 809199 - Switch mGeckoViewport to be an ImmutableViewportMetrics instead of a ViewportMetrics. r=Cwiiis
2012-11-07 11:47:08 -05:00
Kartikaya Gupta
d03b60194c
Bug 809199 - Update createViewportEvent to take an ImmutableViewportMetrics. r=Cwiiis
2012-11-07 11:47:08 -05:00
Kartikaya Gupta
7d92cc7bef
Bug 809199 - Eliminate use of ViewportMetrics from PanZoomController. r=Cwiiis
2012-11-07 11:47:08 -05:00
Kartikaya Gupta
46d17b95d2
Bug 809199 - Add an offsetViewportBy function to ImmutableViewportMetrics. r=Cwiiis
2012-11-07 11:47:08 -05:00
Kartikaya Gupta
ad50848c59
Bug 809199 - Modify methods in PanZoomTarget to take ImmutableViewportMetrics instead of ViewportMetrics. r=Cwiiis
2012-11-07 11:47:07 -05:00
Kartikaya Gupta
05fa391d0c
Bug 809199 - Move the interpolate function from ViewportMetrics to ImmutableViewportMetrics. r=Cwiiis
2012-11-07 11:47:07 -05:00
Jim Chen
64f8df20c2
Bug 805162 - a. Expose GeckoAppShell only to Gecko-side IME interface; r=blassey
2012-11-01 16:11:02 -04:00
Sriram Ramasubramanian
c3f378b98b
Bug 783092: LightweightTheme support in Fennec. [r=mfinkle]
2012-10-31 22:10:59 -07:00
Ed Morley
95fe6d2a1c
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
2c3afaab37
Bug 805162 - a. Expose GeckoAppShell only to Gecko-side IME interface; r=blassey
2012-10-31 17:35:31 -04:00
Sriram Ramasubramanian
53a989d5fa
Bug 783092: LightweightTheme support in Fennec. [r=mfinkle]
...
--HG--
extra : rebase_source : 61d66ba4c9a36616156edbbb311670916e2ad23b
2012-10-31 11:03:44 -07:00
Richard Newman
89b12b31ed
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
ee6e58be16
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
e4a3bbc361
Bug 801627 - Fix fullscreen Flash on Android r=blassey
2012-10-22 10:51:29 -04:00
Matt Brubeck
aa16c1890e
Back out a2cdb1000e51 (bug 801627) because of Android crashes on a CLOSED TREE
2012-10-22 09:57:00 -07:00
James Willcox
423a54c1dc
Bug 801627 - Fix fullscreen Flash on Android r=blassey
2012-10-22 10:51:29 -04:00
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
Chris Peterson
949e399cad
Bug 709230 - Part 3: Mark classes final and reduce class visibility public->package->private to aid ProGuard optimizations. r=blassey
2012-07-15 13:20:43 -07:00
Chris Peterson
62c816bf9b
Bug 709230 - Part 2: Add missing access modifiers for Java methods accessed from JNI. r=blassey
2012-07-15 00:07:58 -07:00
Kartikaya Gupta
90cac38916
Bug 769269 - Update the graphics code to be able to deal with blowing away the layer controller, client, and view and creating them afresh. r=ajuma
2012-07-13 10:19:46 -04:00
Kartikaya Gupta
21e056832b
Bug 769269 - Update a bunch of fields in GeckoApp to not be static any more. r=mfinkle
2012-07-13 10:17:03 -04:00
Kartikaya Gupta
b48cafa3c6
Bug 772890 - Guard against ArrayIndexOutOfBoundsException in GfxInfoThread. r=bjacob
2012-07-11 14:19:58 -04:00
Kartikaya Gupta
adb88262d7
Bug 772890 - Update package for GfxInfoThread. r=bjacob
2012-07-11 14:13:49 -04:00
Kartikaya Gupta
6bb3d29a22
Bug 771757 - Fix subdocument scrolling so that it works again. r=wesj
2012-07-10 12:46:49 -04:00
Ali Juma
8a8dd37f9c
Bug 771189 - Don't try to pause/resume a non-existent compositor. r=kats
2012-07-06 09:48:25 -04:00
Jeff Muizelaar
a10b5f716e
Bug 765725 - Ensure we are binding to the correct texture unit. r=chrislord
2012-07-05 21:08:02 -04:00
Benoit Jacob
052d6b6480
Bug 766251 - 1/5 - GfxInfo on Android: the Java and AndroidBridge parts - r=kats,jrmuizel
2012-07-05 10:12:10 -04:00
Ehsan Akhgari
197fdca966
Backout changeset cd6d52bdf2d8 (bug 539356) because of performance and correctness regressions
2012-07-03 20:07:55 -04:00
Matt Woodrow
da4ca28895
Bug 539356 - Part 29 - Handle OOM exception gracefully during java snapshots. r=jrmuizel
2012-06-30 15:06:14 +12:00
Kartikaya Gupta
9cfb150be6
Bug 765463 - Fix indexes when copying the screenshot buffer to the screenshot layer image buffer. r=blassey
2012-06-27 07:52:11 -07:00
Matt Brubeck
719d2fb98e
Bug 756474 - Harden the SimpleScaleGestureDectector against missed events [r=kats]
2012-06-19 12:01:44 -07:00
Matt Brubeck
950e01ee8a
Bug 765407 - Don't setOnDoubleTapListener(null); fixes crash in GestureDetector [r=kats]
2012-06-18 09:54:48 -07:00
Eitan Isaacson
284278e3c4
Bug 763613 - Make hover events mousemove events. r=wesj
2012-06-15 15:34:22 -07:00
Matt Brubeck
d422bda154
Back out bug 764621, bug 762717, bug 764638, and bug 764622 for mochitest failures
2012-06-14 20:12:06 -07:00
Sriram Ramasubramanian
4628dfe782
Bug 764621: FormAssistant doesn't need to be static. [r=margaret]
...
--HG--
extra : rebase_source : acd7d1b0a2ce7825b4ba8c150d43ef9a98dc48fd
2012-06-14 11:54:05 -07:00
Brad Lassey
d571f01e38
bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding r=kats,cjones
2012-06-14 09:08:51 -07:00
Kartikaya Gupta
de50e0ad31
Bug 764467 - Add a separate event for notifying browser.js of resize events, to avoid weird re-entrancy issues. r=Cwiiis
2012-06-14 10:59:28 -04:00
Kartikaya Gupta
6435bb7e6d
Bug 753444 - Remove device-space page rect from setPageRect as it is not needed. r=jrmuizel
2012-06-13 13:49:40 -04:00
Wes Johnston
12fa09abc1
Bug 753102 - Remove BrowserToolbar from GeckoApp. r=mfinkle
2012-06-11 15:18:40 -07:00
Wes Johnston
e2b086ca89
backout 2d1268c57588
2012-06-12 09:53:44 -07:00
Wes Johnston
c1931479f2
Bug 753102 - Remove BrowserToolbar from GeckoApp. r=mfinkle
2012-06-11 15:18:40 -07:00
Matt Brubeck
72defcb15e
Bug 760087 - Don't steal focus from the findbar when Gecko IME state changes [r=cpeterson]
...
--HG--
extra : rebase_source : 49a6582ff2c13b3a40963f430c7d9a5da5ac8141
2012-06-08 11:43:17 -07:00
Kartikaya Gupta
607cced343
Bug 745250 - Prevent crash from NPE in TouchEventHandler. r=wesj
2012-06-06 13:50:01 -04:00
Kartikaya Gupta
bead8cd737
Bug 759775 - Update checkerboard telemetry code to handle RTL pages. r=Cwiiis
2012-06-06 09:56:48 -04:00
Brad Lassey
3c13cc7973
backing out bug 755070 for potential talos panning regression
2012-06-05 22:55:18 -04:00
Brad Lassey
822c3827ab
bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, only copy the region that was painted r=kats
...
--HG--
extra : rebase_source : 0f85abfedf36fb51e3632ba63ae1f194ff0a87ac
2012-06-05 14:59:01 -04:00
Brad Lassey
9dea03bf32
bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, only update dirty rects, reuse a single bytebuffer and stop using java bitmaps r=kats
...
--HG--
extra : rebase_source : a8eb542ef7a9f6c86e9766db7276a76dd8f038ee
2012-06-04 11:56:31 -04:00
Kartikaya Gupta
8c47b05bd3
Bug 758635 - Move a call to resizeView so that we don't send two resize events to gecko when the keyboard comes up. r=jrmuizel
2012-06-03 17:50:00 -04:00
Kartikaya Gupta
2afc430f06
Bug 758635 - LayerRenderer doesn't need to implement GLSurfaceView.Renderer. r=jrmuizel
2012-06-03 17:49:50 -04:00
Matt Brubeck
8f0eb7c918
Back out bug 760342 for Windows build error, bug 755070 for Android crashes, and bug 760458 because it depends on 755070
2012-06-01 17:45:02 -07:00
Brad Lassey
356eca4294
bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, only update dirty rects, reuse a single bytebuffer and stop using java bitmaps r=kats
...
--HG--
extra : rebase_source : 2a7c299c7133da06638d9ef1d27d4b4653072dce
2012-06-01 18:54:48 -04:00
Jeff Muizelaar
93ea1dd03b
Bug 760226. Remove unneeded EGLContext creation in GLController.java. r=ajuma
...
This is old and causing some sadness on platforms with a limited number of
contexts.
--HG--
extra : rebase_source : cb867c8d9dcfa145fc6b9e95cc7bfc9652c0bc2d
2012-05-31 16:14:56 -04:00
Benoit Girard
7e26e22dbd
Bug 757944 - Remove GL calls made without a context. r=jrmuizelaar
...
--HG--
extra : rebase_source : aabc39ae9f9d4a5b66eadf87738af4ae38e1c889
2012-05-31 15:27:45 -04:00
Kartikaya Gupta
df2b2dc2eb
Bug 759762 - Update screenshot code to take into account RTL pages. r=blassey
2012-05-30 11:27:05 -04:00
Jeff Muizelaar
31a4b4ed31
Bug 758205. Use highp in the fragment shader. r=joe
...
More precision makes the java screenshot look better on large pages.
2012-05-24 16:44:10 -04:00
Jeff Muizelaar
d6f895fc0d
Bug 758205. Move the y-axis inversion out of the fragment shader. r=clord
...
Moves the inversion into the vertex shader. No point in doing this
operation per-pixel when we can do it per-vertex.
2012-05-28 11:35:20 -04:00
Phil Ringnalda
aeaff4f7eb
Back out d22c4f57daaf and 6c27b32ad788 (bug 758635) on suspicion of causing reftest failures
2012-05-26 13:11:47 -07:00
Kartikaya Gupta
d831dad869
Bug 758635 - LayerRenderer doesn't need to implement GLSurfaceView.Renderer. r=Cwiiis
2012-05-26 11:03:27 -04:00
Kartikaya Gupta
2bf75481e7
Bug 758635 - Remove redundant code to set the viewport size. r=Cwiiis
2012-05-26 10:59:11 -04:00
Ed Morley
9b0c7d097c
Backout 5f82df6b980e (bug 757944) on suspicion of reftest failures
2012-05-24 17:51:46 +01:00
Wes Johnston
672d294509
Bug 757893 - Reset max and min zoom when switching tabs. r=kats
2012-05-24 09:11:21 -07:00
Benoit Girard
2af89f7c9a
Bug 757944 - Don't call onSurfaceCreated/onSurfaceChanged before a context is created. r=joe
...
--HG--
extra : rebase_source : 61ce6cb26a69ace210f2fb60eb4714dd5fed3eb9
2012-05-23 18:26:21 -04:00
James Willcox
462a3740e2
Bug 753458 - Remove unnecessary fields in RenderContext r=kats
2012-05-24 11:02:49 -04:00
Kartikaya Gupta
afd0d96e91
Bug 752709 - Extract a getDisplayMetrics function into GeckoApp. r=cpeterson
2012-05-23 21:53:39 -04:00
Kartikaya Gupta
8a9a864a95
Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats
2012-05-23 10:51:39 -04:00
Kartikaya Gupta
cd7997a23d
Bug 748384 - Propagate the page bounds in via browser.js. r=Cwiiis,mats
2012-05-23 10:49:59 -04:00
Kartikaya Gupta
78fc09d742
Bug 748384 - Update all Java code to keep a page rect and CSS page rect instead of just the page size. r=Cwiiis
2012-05-23 10:49:52 -04:00
Kartikaya Gupta
0f2c633486
Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage
2012-05-23 11:08:19 -04:00
Kartikaya Gupta
6ab5f951cd
Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats
2012-05-23 10:51:39 -04:00
Kartikaya Gupta
d6c0648ca9
Bug 748384 - Propagate the page bounds in via browser.js. r=Cwiiis,mats
2012-05-23 10:49:59 -04:00
Kartikaya Gupta
42c7a60dd5
Bug 748384 - Update all Java code to keep a page rect and CSS page rect instead of just the page size. r=Cwiiis
2012-05-23 10:49:52 -04:00
James Willcox
189b988091
Bug 731288 - Don't call methods on finalized SurfaceTexture, JNI housekeeping r=blassey
2012-05-21 21:35:29 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Matt Brubeck
447fca3d1d
Bug 707571 (part 4) - Use mininum-scale and maximum-scale from <meta name="viewport"> [r=kats]
2012-05-18 08:24:27 -07:00
Matt Brubeck
cca10cf5df
Bug 707571 (part 3) - Disable double-tap listener on pages with user-scalable=no [r=kats]
2012-05-18 08:24:27 -07:00
Matt Brubeck
d3c53ac15c
Bug 707571 (part 2) - Disable zooming for pages with user-scalable=no [r=kats]
2012-05-18 08:24:27 -07:00
Ali Juma
20d39ad4c0
Bug 745243 - Wait for surfaceChanged before calling GLController.provideEGLSurface. r=kats
2012-05-18 15:58:46 -04:00
Matt Brubeck
bea1efeb46
Back out bug 707571 because of reftest failures
2012-05-18 09:31:27 -07:00
Matt Brubeck
4266b47e4a
Bug 707571 (part 4) - Use mininum-scale and maximum-scale from <meta name="viewport"> [r=kats]
2012-05-18 08:24:27 -07:00
Matt Brubeck
8c8aa45c09
Bug 707571 (part 3) - Disable double-tap listener on pages with user-scalable=no [r=kats]
2012-05-18 08:24:27 -07:00
Matt Brubeck
ef76f07912
Bug 707571 (part 2) - Disable zooming for pages with user-scalable=no [r=kats]
2012-05-18 08:24:27 -07:00
Vladimir Vukicevic
0bbadb8659
b=752368; [android] random black screen when opening links from other apps; r=bgirard,ajuma,kats
2012-05-09 22:32:54 -04:00
Kartikaya Gupta
f596b8de96
Bug 749384 - Notify PZC of some events before the touchevent listeners deal with it so that we remain responsive. r=wesj
2012-05-15 13:22:26 -04:00
Kartikaya Gupta
ddd8ebeb16
Bug 749384 - Store the PZC instead of the LayerController. r=wesj
2012-05-15 13:21:53 -04:00
Kartikaya Gupta
b8a49761d8
Bug 749384 - Hardcode the touch event timeout to 200ms. r=wesj
2012-05-15 13:21:14 -04:00
James Willcox
d5dd933479
Small fixup to my last patch (no bug, r=blassey)
2012-05-11 11:05:37 -04:00
James Willcox
cf8bd24b8d
Bug 750778 - Ensure PluginLayer is always present when plugin is visible r=blassey
2012-05-11 10:54:51 -04:00
Margaret Leibovic
7f2339b775
Bug 752759 - Get rid of excessive mFormAssistPopup.hide() calls in PanZoomController. r=kats
2012-05-10 12:09:00 -07:00
Kartikaya Gupta
8b2a37c104
Bug 753334 - Audit and clean up code that deals with allocating/freeing direct buffers. r=Cwiiis
2012-05-10 09:46:53 -04:00
Phil Ringnalda
528e055ee2
Back out 3502d9840d98 (bug 752368) for robo* failure
2012-05-09 22:26:52 -07:00
Vladimir Vukicevic
7eaf529b88
b=752368; [android] random black screen when opening links from other apps; r=bgirard,ajuma
2012-05-09 22:32:54 -04:00
Joe Drew
32d3e5df67
Bug 728026 - Leave the scissor bit enabled when we return from Java code. r=jrmuizel
2012-05-01 12:12:45 -04:00
Kartikaya Gupta
c4b85971ec
Bug 752939 - Update the mGeckoViewport when switching tabs so that we map touch events to the right point. r=Cwiiis
2012-05-08 13:33:48 -04:00
James Willcox
7b6aaa5bb8
Bug 746633 - Don't use placeholder for full page plugins on Android r=blassey
2012-05-07 14:18:46 -04:00
Kartikaya Gupta
eff1661013
Bug 749429 - Increase displayport size multiplier default to 2000 for fixed-margin and velocity-bias. r=Cwiiis
2012-04-28 01:02:19 -04:00
Jeff Muizelaar
006b21ee67
Bug 743247. Ensure we don't have an array buffer bound when drawing PluginLayer. r=kats
...
This fixes the same problem in the newly added PluginLayer
2012-04-28 00:55:16 -04:00
Jeff Muizelaar
6868688876
Bug 743247. Ensure we don't have an array buffer bound when drawing. r=bas
...
Our C++ code was binding a buffer and leaving it bound. This
avoids that problem by making sure we unbind it before
calling VertexPointerAttrib.
--HG--
extra : rebase_source : ec39fcf4a6a74c2f96765752b0ffb6e38b44f5de
2012-04-27 21:08:30 -04:00
James Willcox
4b0d6b0c67
Bug 727116 - Draw Flash plugins with OpenGL during pan/zoom on legacy Android r=blassey
2012-04-27 16:04:47 -04:00
Chris Lord
077e78ae9e
Bug 749630 - Fix single-colour checkerboard and masking. r=kats
...
Bug 748718 tried to fix masking of the checkerboard layer, but incorrectly
calculated the values for the right and bottom sides of the page, causing
less masking to occur than should happen.
It also possibly broke single-colour layer drawing (though I'm not sure this
worked previously), which this fixes by clearing to the page colour instead of
generating and drawing a texture for it.
2012-04-27 12:54:18 -04:00
Kartikaya Gupta
c5f74999ce
Bug 749164 - Fix viewport intersection with page rect and guard against zero screen area. r=jrmuizel
2012-04-26 14:23:28 -04:00
Chris Lord
6e7a025ac6
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
Chris Lord
27218c111a
Bug 748718 - Crash if the buffer size mismatches the layer size. r=kats
...
TileLayer.java always treats the buffer as if it's the same size as the texture.
Instead of crashing (or some other unintended effect), throw a RunTimeException.
Also include some commented out code that would work, but we likely don't ever
want to use (for reference when running into the exception).
--HG--
extra : rebase_source : 93b4c834c2a0dc0fab62341f779de9c7fcce5f87
2012-04-26 13:45:17 -04:00
Chris Lord
26258e2a6c
Bug 748718 - Fix drawing in SingleTileLayer.java. r=kats
...
SingleTileLayer draws upside-down and doesn't handle non-repeating/stretched
layers correctly.
--HG--
extra : rebase_source : d33dcecc949b252826f557033e47311f885bd9b8
2012-04-26 13:45:06 -04:00
Kartikaya Gupta
9ee6956b0f
Bug 747528 - Add a PredictionBiasStrategy that uses estimated draw time to paint ahead. r=Cwiiis
2012-04-25 09:53:38 -04:00