Commit Graph

62 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
c8960bee26 Bug 732736 - Fix use of AutoLocalJNIFrame in some JNI wrappers. r=dougt 2012-03-04 22:21:21 -05: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
b064d6b111 Uncomment TransformLayerUserData and move it into Layers to fix build bustage 2012-02-10 18:55:48 -08:00
Ali Juma
5fae297a30 Fix busted build. 2012-02-10 10:40:57 -05: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
d15943ad02 Merge working on Nexus S 2012-02-08 20:23:27 -05:00
Benoit Girard
58c066d245 Merge fixes 2012-02-08 19:01:21 -05: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
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
Benoit Girard
90496d0eb9 remove OGLSurfaceView init, todo remove OGLSurfaceView.java 2012-02-02 11:28:54 -05:00
Benoit Girard
f9f6a9bc52 Removing this awesome template code because it causes library load crashes :( 2012-02-02 11:17:50 -05:00
Benoit Girard
981d4a4fc2 Mergi mc to kiwifox, lots of conflicts so may not build 2012-01-30 13:38:20 -05:00
Benoit Girard
e0c3dbcb3c Partial work for android OGLSurfaceView 2012-01-26 14:23:13 -05:00
Doug Turner
fde2f1aa9d Bug 713803 - Rationalize JNI access accross android widget. r=blassey 2012-01-29 12:39:30 -08:00
Phil Ringnalda
562c4194c6 Back out 59d8d92f9f3c (bug 713803) for Android C1 permaorange 2012-01-29 00:49:02 -08:00
Doug Turner
2abf72a957 Bug 713803 - Rationalize JNI access accross android widget. r=blassey 2012-01-28 22:38:02 -08: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
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
Kartikaya Gupta
d52931c7eb Bug 718961 - Make sure we copy the URI from the java to the C++ event for the VISITED event. r=blassey 2012-01-24 09:59:31 -05: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