Commit Graph

226 Commits

Author SHA1 Message Date
Chris Jones
35b7d88ba4 Bug 776835: Check process capabilities in hal. r=blassey,jlebar 2012-08-16 12:34:53 -07:00
Wes Johnston
16ba17afaf Bug 757680 - Add a pref to turn off event coalescing. r=kats 2012-08-09 12:54:36 -07:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Kartikaya Gupta
3dc81ebcd9 Bug 772993 - Fix compiler warnings for widget/android. r=cpeterson 2012-07-12 12:52:52 -04:00
Jeff Muizelaar
5f70f009a4 Bug 764188 - Expose a global frame tree generation number. r=dbaron
This generation number will be incremented every time that the frame
tree for a presshell changes. Callers need to deal with the case where
this value overflows. We use this to avoid a bunch of Android
screenshotting.
2012-07-04 11:42:29 -04:00
Brad Lassey
c8cec3a911 bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding r=kats,cjones 2012-06-14 09:08:51 -07:00
James Willcox
fdea80e445 Bug 759799 - Hook up Hal WakeLocks on Android r=blassey 2012-06-06 22:39:01 -04:00
Brad Lassey
a7fbcda140 backing out bug 755070 for potential talos panning regression 2012-06-05 22:55:18 -04:00
Brad Lassey
750134b2e1 bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, only update dirty rects, reuse a single bytebuffer and stop using java bitmaps r=kats 2012-06-04 11:56:31 -04:00
Brad Lassey
370abc9c36 bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, screenshot only on idle r=kats 2012-06-04 11:56:30 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
2b55dddfca Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar 2012-05-18 13:30:49 -04:00
Doug Turner
db35f1706b Bug 752674 - device proximity needs y and z values. r=blassey 2012-05-08 20:56:54 -07:00
Chris Jones
08bc295eab Bug 745145, part 1: Generalize ScreenOrientation into ScreenConfiguration, and add screen rect and color+pixel depth to it. r=mounir 2012-05-08 14:36:07 -07:00
Brian Nicholson
b3f769bbe1 Bug 750846 - Move thumbnail size logic to Gecko. r=blassey 2012-05-03 16:29:59 -07:00
Doug Turner
ce1c0a9cc8 Bug 738465 - implement device light sensor. r=smaug 2012-05-02 09:43:45 -07:00
Brian Nicholson
7e7f2f650d Backout 7e237e96018f for black area in thumbnails. r=backout 2012-05-03 19:06:08 -07:00
Brian Nicholson
07bb942322 Bug 750846 - Move thumbnail size logic to Gecko. r=blassey 2012-05-03 16:29:59 -07:00
Chris Lord
dcd3986f0b Bug 748718 - Make ScreenshotLayer use SingleTileLayer's draw function. r=kats
ScreenshotLayer overrides SingleTileLayer's draw function to simplify the
drawing process. Unfortunately, this doesn't respect the layer mask, and can
cause the layer to appear incorrectly stretched.

Change the screenshot process so that whole-page screenshots pass parameters
that are pre-scaled (to avoid mismatches when the viewport changes), and set
the page size on the ScreenShotLayer so it draws in the correct place.

This also alters the masking slightly to avoid visible seams around masks in
the centre of the page, and to avoid unnnecessary drawing at the edges of the
page.

This change fixes the frame-rate issues with the screenshot layer, as it
removes unnecessary over-draw.
2012-04-26 13:45:31 -04:00
Brad Lassey
d1c25e9164 bug 746016 - Cache low res version of the page in the java ui for use instead of checkerboarding r=kats 2012-04-24 15:13:36 -04:00
Jeff Muizelaar
177ab1c229 Backout c048eb7cc728 for checkerboarding regresions
http://graphs.mozilla.org/graph.html#tests=[[175,63,20]]&sel=none&displayrange=7&datatype=running
http://graphs.mozilla.org/graph.html#tests=[[201,63,20]]&sel=none&displayrange=7&datatype=running
2012-04-20 00:50:07 -04:00
Jeff Muizelaar
e3044b8b97 Bug 745315. Draw as soon as we get a Viewport:Changed r=kats a=joe
This should reduce some unpredictibility from our drawing
code and I don't see any negative concequences.
2012-04-17 20:23:35 -04:00
Jeff Muizelaar
5a3d66365e Bug 745864 - Add profiling labels relevant for Fennec event performance. r=bgirard a=blassey 2012-04-16 15:07:56 -04:00
Brian Nicholson
b0a48c8a4a Bug 746548 - Fix NPE for cache service in pause/resume. r=mfinkle a=blocking-fennec 2012-04-18 13:08:36 -07:00
Brian Nicholson
42e0511d43 Bug 745075 - Close disk cache when pausing. r=gbrown f=mfinkle,michal 2012-04-17 10:29:52 -07:00
JP Rosevear
aa69c606d3 Bug 745401 - Fix logic error in draw event coalescing. r=kats 2012-04-16 10:31:13 -04:00
Mark Finkle
98a219bbe1 Bug 737050 - Add support for the WEBAPP intent r=blassey r=bnicholson r=gavin 2012-04-13 22:45:25 -04:00
Kartikaya Gupta
061e8b11cc Bug 740883 - Coalesce VIEWPORT events across NATIVE_POKE and DRAW events on insertion. r=Cwiiis 2012-04-10 09:28:43 -05:00
Kartikaya Gupta
2e1ecb7814 Bug 740883 - Improve DRAW event coalescing behaviour for reduced latency. r=Cwiiis 2012-04-10 09:27:04 -05:00
Kartikaya Gupta
0a60a60faa Bug 740718 - Move event coalescing code to PostEvent and rearrange to avoid null pointer dereferences. r=blassey 2012-04-07 23:50:42 -05:00
Doug Turner
8a578cecbc Bug 741869 - Revert the android sensor correction which changes direction of values. r=mwu 2012-04-04 14:20:25 -07:00
Doug Turner
c12c438297 Bug 741868 - Revert the android sensor filter which dropped orientation and movement events. r=mwu 2012-04-04 13:39:14 -07:00
Ali Juma
ee6e4e172a Bug 735230 - Part 2: Add compositor pause/resume events to Gecko. r=kats 2012-03-28 18:00:32 -04:00
Doug Turner
892c3949f1 Bug 734854 - Merge PROXIMITY_EVENT with SENSOR_EVENT. r=jdm 2012-03-20 23:36:17 -07:00
Doug Turner
652e44a263 Bug 735330 - move device motion from dom/system to hal. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data.  support compassneedscalibration. r=jdm
2012-03-20 23:36:17 -07:00
Matt Brubeck
7c4b6228e2 Back out bug 735330, bug 737462, bug 734854 because they broke XUL Fennec 2012-03-20 16:59:24 -07:00
Doug Turner
ab37b5fe7e Bug 734854 - Merge PROXIMITY_EVENT with SENSOR_EVENT. r=jdm 2012-03-20 14:51:06 -07:00
Doug Turner
763d8ec79d Bug 735330 - move device motion from dom/system to hal. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. cocoa bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. window/qt/linux bits. r=jdm
* * *
Bug 735330 - move device motion from dom/system to hal. move accuracy into sensor data.  support compassneedscalibration. r=jdm
2012-03-20 14:46:14 -07:00
Mounir Lamouri
de96081e47 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-20 14:09:45 +01:00
Mark Finkle
335c2f59ce Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android 2012-03-17 21:51:39 -04:00
Mounir Lamouri
6ae5197cf9 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-16 19:43:10 +01:00
Kartikaya Gupta
8b3253f630 Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES 2012-03-14 11:18:15 -04:00
Kartikaya Gupta
a47d6f09d0 Bug 725095 - Address review comments in the widget code. r=blassey
- Rip out a lot of unused code in AndroidFlexViewWrapper.*
- Simplify the GetViewTransform JNI code
- Move the references to CompositorParent and CompositorThread from AndroidBridge to nsWindow
- Remove a bunch of logging and add some assertions and comments
2012-03-14 00:15:11 -04:00
Kartikaya Gupta
7c423cffa2 Fix small merge resolution error in 60ebef177e6d. r=me 2012-03-13 18:21:58 -04:00
Benoit Girard
bbefdec4f2 Merge mc->Maple 2012-03-13 11:05:28 -04: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
Ehsan Akhgari
2b74d3c75c Fix an assertion condition to assert what it means 2012-02-22 11:29:21 -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