Commit Graph

87028 Commits

Author SHA1 Message Date
Ali Juma
926f982ccc Only try to scroll scrollable layers, and force Gecko to generate a scrollable layer even for smaller pages. 2012-02-20 11:30:05 -05:00
Chris Lord
4454233700 Bug 726817 - Use nsIFrameLoaderOwner.clampScrollPosition to fix clip on zoom.
Zooming in caused the right and bottom edges of the page to be clipped. This
was because we would try to scroll to coordinates that, untransformed, would be
invalid. The document has no knowledge of the zoom, and so the scroll position
needs to be forced somehow.

Java compositor accomplished this using a CSS translation transformation, this
accomplishes it by turning off scroll position clamping (a technique that the
Java compositor should also employ, if the patch this relies on passes review).
2012-02-17 23:44:47 +00:00
Chris Lord
cfb5872a5b Bug 726817 - Add nsIFrameLoaderOwner.clampScrollPosition. r=roc
Add an attribute to nsIFrameLoaderOwner that allows the clamping of set scroll
positions to be toggled.
2012-02-17 23:41:13 +00:00
Chris Lord
93986b5c67 Backout scroll-clamp stuff again
I hope this makes it easier to merge and I'm not just wasting time...
2012-02-19 09:26:52 +00:00
George Wright
5e20a8f8fc Bug 721489 - Older Adreno 200 drivers intermittently crash when uploading RGB565 textures with glTexImage2D - r=jrmuizel 2012-02-18 21:23:06 -05:00
Joe Drew
94d3065dc6 Bug 727311 - Disable BGRA readback support in GLES 2. r=bjacob 2012-02-18 18:12:33 -08:00
Brad Lassey
ed95e9364f merge again 2012-02-18 18:17:10 -05:00
Jeff Muizelaar
3a93b5a4c5 Bug 727939. Avoid double painting after invalidation. r=bgirard
This reduces the paint rate on things like runfield
so that we only paint at the rate that we're invalidating.

We do so by not requesting render in endTransaction

It looks like endTransaction is only called by endDrawing
on the gecko thread and only on VirtualLayers. We don't
need the extra requestRender call because we've already
done the rendering.
2012-02-18 18:06:30 -05:00
Brad Lassey
34aa551009 merge from mozilla-central 2012-02-18 17:29:33 -05:00
Serge Gautherie
b35ea02e30 Bug 728541. (Av1) browser_bug703210.js: Add a missing removeEventListener(). r=smaug. 2012-02-18 21:49:14 +01:00
Brad Lassey
e85e784817 backing out e45688c8531c because it broke the build 2012-02-18 14:21:48 -05:00
ffxbld
d46e333d29 Automated blocklist update from host linux-ix-slave14 2012-02-18 03:28:33 -08:00
Ed Morley
1e96d54979 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-18 11:16:37 +00:00
Patrick Walton
a93537390c Stub untested gralloc support, disabled for now 2012-02-17 23:53:21 -08:00
Doug Turner
6362021c1f Bug 727140 - OOM due to zoom of background tabs going to zero. This prevents viewport resizing happening on background tabs which should be a bit faster. r=pcwalton
--HG--
extra : rebase_source : b0922946f42996f1f0454c58cb6bbdb7a5243653
2012-02-17 23:08:47 -08:00
Chris Jones
16950ada3b Bug 727950: Don't close the camera dso, some of them don't like that. r=fabrice (npotb) 2012-02-17 22:33:52 -08:00
Josh Aas
9a00af7aca Bug 723190: Fix/mitigate crash at nsGfxScrollFrameInner::ScrollToImpl. r=smichaud 2012-02-17 23:32:16 -05:00
Tim Taubert
2620dce373 merge m-c to fx-team 2012-02-18 02:03:47 +01:00
Ed Morley
f0c6a1f047 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-18 00:16:22 +00:00
Kyle Machulis
fc01ae2278 Back out bug 711601 (changeset 4c8aa2b0ca1c) due to qemu breakage 2012-02-17 15:54:27 -08:00
Kyle Huey
19137795c6 Bug 669845: Make nsTypeFindAhead clear out all of its references to content nodes when reset. r=gavin 2012-02-17 15:17:05 -08:00
Brian Smith
b4c45712be Bug 713936, Part 4: Remove security/patches/bug-717906-lowhash, r=kaie, a=akeybl 2012-02-17 14:51:47 -08:00
Brian Smith
4d13e892e9 Bug 713936, Part 3: Update to NSPR 4.9 RTM (NSPR_4_9_RTM), r=kaie, a=akeybl 2012-02-17 15:03:46 -08:00
Vivien Nicolas
0e3b225ecb Bug 728373 - Ensure the xul window handle keypress when the screen goes fullscreen r=cjones 2012-02-17 22:37:53 +01:00
Vivien Nicolas
01b98ae122 Bug 727443 - Do not fire a click when the user stops the kinetic panning by touching the screen r=cjones 2012-02-17 22:37:53 +01:00
Kan-Ru Chen
c8d4309d86 Bug 723391 - Add a simple remote JS console to b2g. r=vingtetun 2012-02-17 22:37:53 +01:00
Tim Taubert
fcafd1e916 Bug 725200 - about:newtab briefly shown in location bar of new tab; r=gavin 2012-02-17 22:26:38 +01:00
Ehsan Akhgari
a80aff9d02 Remove the warning because it's not useful, r=joe
--HG--
extra : rebase_source : 43086e16e842a602479e69d983107cedb8649aea
2012-02-17 15:12:06 -05:00
Chris Lord
edde16aee5 Bug 726817 - Use nsIFrameLoaderOwner.clampScrollPosition to fix clip on zoom.
Zooming in caused the right and bottom edges of the page to be clipped. This
was because we would try to scroll to coordinates that, untransformed, would be
invalid. The document has no knowledge of the zoom, and so the scroll position
needs to be forced somehow.

Java compositor accomplished this using a CSS translation transformation, this
accomplishes it by turning off scroll position clamping (a technique that the
Java compositor should also employ, if the patch this relies on passes review).
2012-02-17 23:44:47 +00:00
Chris Lord
c436bcb3c1 Bug 726817 - Add nsIFrameLoaderOwner.clampScrollPosition. r=
Add an attribute to nsIFrameLoaderOwner that allows the clamping of set scroll
positions to be toggled.
2012-02-17 23:41:13 +00:00
Chris Lord
b7a97d4f18 Backout 87134:1c1c22bd0291 and 87135:a4af71f1bc1f
Realised I made a mistake with the nsIFrameLoaderOwner.clampScrollPosition
patch and I want this to go in as a single commit and not break building of
Maple.
2012-02-18 00:46:23 +00:00
Ali Juma
31794dda8f Fix non-Android bustage. 2012-02-17 19:41:16 -05:00
Chris Lord
13446bc9de Bug 726817 - Use nsIFrameLoaderOwner.clampScrollPosition to fix clip on zoom.
Zooming in caused the right and bottom edges of the page to be clipped. This
was because we would try to scroll to coordinates that, untransformed, would be
invalid. The document has no knowledge of the zoom, and so the scroll position
needs to be forced somehow.

Java compositor accomplished this using a CSS translation transformation, this
accomplishes it by turning off scroll position clamping (a technique that the
Java compositor should also employ, if the patch this relies on passes review).

--HG--
extra : rebase_source : a13403d53fed39e1f042da3611147da1c0420cf0
2012-02-17 23:44:47 +00:00
Chris Lord
02fd6d6c24 Bug 726817 - Add nsIFrameLoaderOwner.clampScrollPosition. r=
Add an attribute to nsIFrameLoaderOwner that allows the clamping of set scroll
positions to be toggled.

--HG--
extra : rebase_source : db24645ff2fb04bb0ffa5ffb01a8d35a79274126
2012-02-17 23:41:13 +00:00
Matt Brubeck
ad6c5d8abc Bug 728379 - [maple] Use setCSSViewport to set the layout viewport [r=ehsan] 2012-02-17 13:15:12 -08:00
Ali Juma
51b6a7526f Clean up the compositor's transformation calculations. 2012-02-17 17:58:03 -05:00
Ali Juma
e1d518a61e Merge heads. 2012-02-17 17:57:28 -05:00
Benoit Girard
ec98ad3013 Preliminary render trace 2012-02-17 17:05:03 -05:00
Patrick Walton
fb9ea0b3c7 Bug 727688 - Disable tiles on SGX 540 to fix tearing 2012-02-17 13:33:37 -08:00
Chris Lord
78e424b0f7 Fix screen/window size change events.
Window size was being treated as equivalent to screen size, which it isn't.
Make sure to send the size-changed event when either the window size or the
screen size change, and to properly differentiate between the two.
2012-02-17 17:25:52 +00:00
Ehsan Akhgari
39892b92bf Don't call updateViewport two times in a row 2012-02-17 11:58:36 -05:00
Ehsan Akhgari
364777c0b3 Stop asserting the reverse of what we mean 2012-02-17 11:50:14 -05:00
Spyros Livathinos
49d16c9f98 Bug 725388 - Expose the Orion mouse events in the Source Editor; r=msucan f=msucan 2012-02-17 18:40:03 +02:00
Kartikaya Gupta
c4e060665c (Part 5) Move overrides and abstract/interface implementations up from GeckoGLLayerClient into GeckoLayerClient 2012-02-17 10:33:23 -05:00
Kartikaya Gupta
e51de4eecb (Part 4) Mark all gfx functions invoked by JNI so I don't shoot myself in the foot shortly 2012-02-17 10:13:56 -05:00
Kartikaya Gupta
a9d7bc61fb (Part 3) Collapse LayerClient into GeckoLayerClient, the only subclass 2012-02-17 10:03:28 -05:00
Kartikaya Gupta
ebc21570a5 (Part 2) Stop PlaceholderLayerClient from extending LayerClient since it has nothing in common with GeckoLayerClient and makes a mockery of OOP 2012-02-17 09:56:47 -05:00
Kartikaya Gupta
a5b438d771 (Part 1) Get rid of LayerController.getLayerClient() 2012-02-17 09:32:24 -05:00
Kartikaya Gupta
43b2051ae9 Also remove dangling entrails of the layer client type 2012-02-17 09:16:14 -05:00
Kartikaya Gupta
417e4428c0 Rip out unused GeckoSoftwareLayerClient since we've committed to GL layers. 2012-02-17 09:04:50 -05:00