Commit Graph

56 Commits

Author SHA1 Message Date
Kartikaya Gupta
5ec5bd703f Rip out unused GeckoSoftwareLayerClient since we've committed to GL layers. 2012-02-17 09:04:50 -05:00
Kartikaya Gupta
f3c1b6a928 Put back some things left out of dougt's merge 2012-02-17 01:36:49 -05:00
Doug Turner
b66a0f8126 Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Benoit Girard
567f149d32 Fix one shutdown crash
--HG--
extra : rebase_source : dd71617cbabf7848565ab609362964037fbac01a
2012-02-15 11:29:14 -05:00
Patrick Walton
1b46184a8f Fix scissor rect and use the Java compositor's cached viewport metrics when drawing decorations 2012-02-13 20:20:38 -08:00
Patrick Walton
5081278876 Integrate the Java compositor. Scroll bars now appear. 2012-02-13 14:52:30 -08:00
Benoit Girard
5ec8cb5563 Make OMTC changes not effect desktop 2012-02-13 17:17:12 -05:00
Patrick Walton
d698580c18 Uncomment the Java compositor integration, except for the part that causes PowerVR crashes 2012-02-10 23:03:02 -08:00
Patrick Walton
9ff00d7ac5 Implement the rendering hooks for Java compositor integration. Currently segfaulting, so ifdef'd out. 2012-02-09 23:55:13 -08:00
Patrick Walton
492b9f6acc Add a DrawWindowUnderlay() to match DrawWindowOverlay() 2012-02-09 19:47:50 -08:00
Benoit Girard
2430a6b71c Merge fixes 2012-02-08 19:01:21 -05:00
Benoit Girard
7dc71cdb8d Merge m-c into maple 2012-02-08 16:43:22 -05:00
Patrick Walton
e9d5b35c01 Shrink the surface size to speed up painting 2012-02-06 15:25:18 -08:00
Patrick Walton
acf57d7d37 Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform() 2012-02-03 18:35:58 -08:00
Patrick Walton
d6e3afde17 Add a virtual layer and GL layer client implementation 2012-02-03 15:48:26 -08:00
Patrick Walton
13458c16d5 Eliminate coupling between the software layer client and the rest of Fennec 2012-02-02 23:30:41 -08:00
Patrick Walton
96bf34ae0e Clean up nsWindow::Draw() a bit 2012-02-02 20:24:49 -08:00
Patrick Walton
f15ef916a3 Partial removal of tiling, stub callouts 2012-02-02 19:28:22 -08:00
Benoit Girard
ad52ff772a Hack the real window dimensions 2012-02-02 18:03:55 -05:00
Benoit Girard
d4c038b718 Fix GetLayerManager logic 2012-02-02 14:16:59 -05:00
Patrick Walton
df5fc9e46d Turn on OMTC by default; fix crash when acquiring EGL surface 2012-02-01 23:54:01 -08:00
Benoit Girard
106b0e77a3 Move registerCxxCompositor to FlexView 2012-02-01 14:15:52 -05:00
Ali Juma
150a69c9a2 Disable direct textures because of crashes. 2012-01-31 15:53:54 -05:00
Benoit Girard
506188e13c Mergi mc to kiwifox, lots of conflicts so may not build 2012-01-30 13:38:20 -05:00
Benoit Girard
7f35e49cdf Partial work for android OGLSurfaceView
--HG--
extra : rebase_source : 2c6ce362dd859e9f81a5b4490e2451826259a651
2012-01-26 14:23:13 -05:00
Benoit Girard
e647509077 Disable sHasDirectTexture because of crash in Nexus S
--HG--
extra : rebase_source : 03daaf6a9b7a562d95bf42c34b997ba234eed022
2012-01-26 14:22:26 -05:00
Alex Pakhotin
66ced43dbc Bug 721393 - Virtual keyboard enter key doesn't work correctly in designMode document. r=blassey 2012-02-14 17:08:47 -08:00
Doug Turner
ab812201ed Bug 713803 - Rationalize JNI access accross android widget. r=blassey 2012-01-29 12:39:30 -08:00
Phil Ringnalda
eab130eacc Back out 59d8d92f9f3c (bug 713803) for Android C1 permaorange 2012-01-29 00:49:02 -08:00
Doug Turner
775c1f6fc2 Bug 713803 - Rationalize JNI access accross android widget. r=blassey 2012-01-28 22:38:02 -08:00
James Willcox
7df90dda44 Bug 716190 - Retry graphic buffer locks if we get -EBUSY r=pcwalton
--HG--
extra : rebase_source : 969aee231df4ac7ac70086fa2fa836c26a090b8e
2012-01-17 15:00:56 -05:00
Chris Lord
6d06b90bbe Bug 724230 - Backout ondemand tiling. r=blassey, kats
This backs out changes d8fc13006aa4, ddde7a49f6f7, 34b1cc9454d2 and
8919c54229e1, leaving in some initialisation fixes that were introduced when
rebasing.

This work may be re-applied at a later date.
2012-02-04 18:49:59 -05:00
Matt Brubeck
859a650b87 Bug 723772 - Mousemove events broken in XUL fennec [r=wesj] 2012-02-02 17:40:25 -08:00
Wes Johnston
88926ea8a3 Bug 721080 - Pages with touch event listeners that don't call preventDefault should not hold up panning. r=dougt 2012-02-01 15:01:47 -08:00
Phil Ringnalda
4c969ca5d1 Back out b35af982b085 (bug 721080) for android-xul bustage 2012-02-01 12:10:53 -08:00
Wes Johnston
20f467edbf Bug 721080 - Pages with touch event listeners that don't call preventDefault should not hold up panning. r=dougt 2012-02-01 10:33:40 -08:00
James Willcox
2c9bdd0776 Bug 721741 - Add support for Flash on Android 4.0+ r=blassey 2012-01-31 09:40:58 -05:00
Boris Zbarsky
ba7cdb3f07 Backed out changeset e57ddd9fdd5e (bug 721741) because it breaks Android builds. 2012-01-31 23:38:35 -05:00
James Willcox
fefd8c5bca Bug 721741 - Add support for Flash on Android 4.0+ r=blassey 2012-01-31 09:40:58 -05:00
Ed Morley
e835f7000f Backout b87113ff33ff (bug 721741) for Android build failures 2012-01-31 16:19:00 +00:00
James Willcox
dce57d4892 Bug 721741 - Add support for Flash on Android 4.0+ r=blassey 2012-01-31 09:40:58 -05:00
Wes Johnston
93c69a88ea Bug 603008 - Android widget multitouch implementation. r=blassey,kats 2012-01-25 01:31:33 +01:00
Chris Lord
9a81bc09ee Bug 717283 - Use tiles on-demand. r=pcwalton, snorp
Instead of tying the tile-buffer in MultiTileLayer directly to the back-buffer
of the page, make sure rendering is always aligned to the tile grid and use
tiles on-demand. This makes better use of tiles when panning/zooming, and opens
up the route for further optimisations.
2012-01-24 15:39:53 +00:00
Ed Morley
c1585c7af3 Backout 91eebc6bdb59 & 7d776b291014 (bug 717283) for Android native reftest crashes 2012-01-22 11:55:18 +00:00
Chris Lord
d994084581 Bug 717283 - Use tiles on-demand. r=pcwalton, snorp
Instead of tying the tile-buffer in MultiTileLayer directly to the back-buffer
of the page, make sure rendering is always aligned to the tile grid and use
tiles on-demand. This makes better use of tiles when panning/zooming, and opens
up the route for further optimisations.
2012-01-22 09:40:37 +00:00
Matt Brubeck
3017d8c4c6 Back out 47584f117727 and e05a8743389a (bug 717283) because of native Android startup crashes 2012-01-20 11:42:34 -08:00
Chris Lord
94b277a126 Bug 717283 - Use tiles on-demand. r=pcwalton, snorp
Instead of tying the tile-buffer in MultiTileLayer directly to the back-buffer
of the page, make sure rendering is always aligned to the tile grid and use
tiles on-demand. This makes better use of tiles when panning/zooming, and opens
up the route for further optimisations.
2012-01-20 17:36:56 +00:00
James Willcox
43d0cd88c2 Bug 719233 - Only use direct texturing on whitelisted devices r=blassey 2012-01-18 20:41:28 -05:00
James Willcox
4e566ea4f6 Bug 718014 - Restrict dirty rect to subrect of tile texture
--HG--
extra : rebase_source : bbe56fd271b08e908eb301b5b0839a80bce139fb
2012-01-18 10:41:30 -05:00
Chris Lord
5e69f80ec8 Bug 724928 - Tell Gecko not to draw areas we aren't interested in. r=kats
Alter GeckoSoftwareLayerClient.beginDrawing so that it can return a rectangle
of the buffer that it's interested in. Gecko then uses this to clip the dirty
region, which often saves on unnecessary drawing during flings.
2012-02-09 17:28:10 +00:00