Commit Graph

51 Commits

Author SHA1 Message Date
Kartikaya Gupta
7e287d9a19 Bug 732091 - Part 4: Add JNI-exposed functions on GeckoLayerClient to allow the compositor to update various properties. r=Cwiiis 2012-03-12 11:50:21 -04:00
Kartikaya Gupta
f63794afa3 Take out the code that allows Java to further clip the invalid rect based on visible area.
This code is never used because the invalid rect we pass to DrawTo is ignored;
the nsLayoutUtils::PaintFrame uses the display port as the visible region to
paint instead. (http://mxr.mozilla.org/mozilla-central/source/layout/base/nsLayoutUtils.cpp#1603)
2012-02-26 10:47:45 -05:00
Kartikaya Gupta
eb0c3d23f3 Remove unused parameters passed to endDrawing 2012-02-24 12:11:29 -05:00
Kartikaya Gupta
4352728c3b Pull out tile dimensions being passed around uselessly 2012-02-24 10:51:41 -05:00
Kartikaya Gupta
cb302a5c1b Bug 730033 - Rip out WidgetTileLayer and associated gunk. r=snorp 2012-02-23 14:55:15 -05:00
Kartikaya Gupta
2e203803af Completely collapse GeckoGLLayerClient into GeckoLayerClient. 2012-02-22 14:45:44 -05:00
Ehsan Akhgari
07d06ffe91 Backout changeset b520f34d78f1 but keep the callback parts because they may be useful for other things 2012-02-22 11:35:25 -05:00
Brad Lassey
27683976ba bug 728614 - Refactor viewport implementation to remove js parts of the implementation r=dougt 2012-02-18 18:32:50 -05:00
Benoit Girard
c66e212179 Backout c1161ca4bf13 for test failures 2012-02-21 11:34:00 -05:00
Brad Lassey
2b2152d3a4 Bug 728614 - Part 0: Allow querying the viewport information from Java; r=dougt 2012-02-18 19:22:56 -05:00
Ehsan Akhgari
f5fd405a30 Backout changeset c1161ca4bf13 2012-02-20 16:37:51 -05:00
Brad Lassey
0db634c763 [mq]: meta_viewport_query 2012-02-18 18:32:50 -05:00
Brad Lassey
8ded1f80e4 merge from mozilla-central 2012-02-18 17:29:33 -05:00
Brad Lassey
593992e903 backing out e45688c8531c because it broke the build 2012-02-18 14:21:48 -05:00
Patrick Walton
640e642b7d Stub untested gralloc support, disabled for now 2012-02-17 23:53:21 -08:00
Kartikaya Gupta
d82e6e4e91 Rip out unused GeckoSoftwareLayerClient since we've committed to GL layers. 2012-02-17 09:04:50 -05:00
Kartikaya Gupta
6154f5beb3 Put back some things left out of dougt's merge 2012-02-17 01:36:49 -05:00
Doug Turner
33f900dc57 Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Brad Lassey
cff653877d bug 726930 - speed up tab thumbnails r=mfinkle 2012-02-17 10:52:26 -08:00
Patrick Walton
aba8a71e48 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
926bd1675b Expose ActivateProgram() and DeactivateProgram() to widget 2012-02-13 13:55:10 -08:00
Patrick Walton
8c95b641e1 Implement the rendering hooks for Java compositor integration. Currently segfaulting, so ifdef'd out. 2012-02-09 23:55:13 -08:00
Patrick Walton
a986e4bb7a Expose the necessary Java routines to render decorations through JNI 2012-02-09 22:58:18 -08:00
Benoit Girard
db6e6f7a54 Merge m-c into maple 2012-02-08 16:43:22 -05:00
Patrick Walton
99dac3d363 Stand up async panning and zooming 2012-02-03 23:31:05 -08:00
Patrick Walton
26896c5103 Add a virtual layer and GL layer client implementation 2012-02-03 15:48:26 -08:00
Patrick Walton
39225caccc Eliminate coupling between the software layer client and the rest of Fennec 2012-02-02 23:30:41 -08:00
Patrick Walton
9b354ce67e Pull parts of GeckoSoftwareLayerClient that will be used for GL layers into a generic GeckoLayerClient class 2012-02-02 22:07:05 -08:00
Sinker Li
7bdc1071c2 Bug 697641, part 4: Pass sensor events from Android to Gecko. r=cjones 2011-10-29 10:35:29 +00:00
Chris Lord
688c49a9b4 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
Ed Morley
6811dc0b43 Backout 90f7f032757f, 6695904a4a70, 50e98f67df1b & d26e8631514c (bug 697641) for native Android failures and 20289eb83e51 (bug 712378) because it conflicted with the backout CLOSED TREE 2012-02-02 10:09:40 +00:00
Sinker Li
9053aa6e21 Bug 697641, part 4: Pass sensor events from Android to Gecko. r=cjones 2011-10-29 10:35:29 +00:00
Wes Johnston
8d356f0cea Bug 603008 - Android widget multitouch implementation. r=blassey,kats 2012-01-25 01:31:33 +01:00
Chris Lord
0438500908 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
e54b557a28 Backout 91eebc6bdb59 & 7d776b291014 (bug 717283) for Android native reftest crashes 2012-01-22 11:55:18 +00:00
Chris Lord
20e0d69d60 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
c71d11c781 Back out 47584f117727 and e05a8743389a (bug 717283) because of native Android startup crashes 2012-01-20 11:42:34 -08:00
Chris Lord
662a91daa2 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
766500ef60 Bug 719233 - Only use direct texturing on whitelisted devices r=blassey 2012-01-18 20:41:28 -05:00
Mounir Lamouri
92cf2dd6c8 Bug 713687 - Part 2 - Network API Android backend: listen to network changes and notify the DOM. r=dougt 2012-01-17 19:40:39 +01:00
James Willcox
76313612cc Bug 703601 - Fix a bunch of lifecycle issues with Flash on Android 2012-02-15 15:34:31 -05:00
Chris Lord
4febd751ee 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
Ed Morley
2a5edc6b27 Backout 1ca8d5a931ac (bug 720799), e4781b684008 (bug 720795), 8a4e12d93a23 & 1fc8123a2ea4 (bug 720794) for bustage 2012-02-09 16:42:07 +00:00
Mounir Lamouri
e8a1e7e3d4 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-02-09 11:29:44 +01:00
Ed Morley
8d1dff3374 Backout 79121553f728 (bug 720799), 4a763183482f (bug 720795), e965486f4b50 & 4a7c7c6b9b11 (bug 720794) for failing to build on any platform 2012-02-09 12:06:50 +00:00
Mounir Lamouri
7cb092cf16 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-02-09 11:29:44 +01:00
Marco Bonardo
3f7ebf48c6 Backout 789f244f34f8, 1bea53f2d067, 577cba6021d2, 4191fe602648 (bug 697641) for win build bustage 2012-01-16 15:43:46 +01:00
Sinker Li
2379acdfce Bug 697641, part 4: Pass sensor events from Android to Gecko. r=cjones 2012-01-16 14:38:00 +01:00
Brad Lassey
27689d1dc7 bug 715507 - GlobalHistory is accessing Gecko on the wrong thread r=dougt,kats 2012-01-05 16:14:23 -08:00
Chris Lord
67266f3ae3 Bug 709120 - Add tiled buffer support for Android/native. r=pcwalton
This adds support for rendering to a tiled software buffer when using the
Java compositor. Tiles are assumed to be packed tight and stored sequentially,
by row.
2012-01-06 11:22:11 +00:00