Commit Graph

583 Commits

Author SHA1 Message Date
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