Commit Graph
686 Commits
Author SHA1 Message Date
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
Ed Morley 1189e8be47 Backout 4e26b559d215, d74da7b4bf10 & d91d3787a3ef (bug 742036) for xul android failures; a=backout 2012-04-19 12:50:46 -07:00
Chris Peterson 305ef55494 Bug 742036 - Part 3: Pass Android's native keycodes to Flash plugin using nsGUIEvent::pluginEvent. r=masayuki,blassey a=blocking-fennec 2012-04-19 10:49:31 -07:00
Chris Peterson f8f8a51ad8 Bug 742036 - Part 1: Convert Android keycodes to DOM/NS_VK keycodes. r=masayuki a=blocking-fennec 2012-04-18 10:15:15 -07:00
Eitan Isaacson 467fa86445 Bug 739493 - Add "Accessibility:IsEnabled" message for Android 2012-03-15 10:38:27 -04:00
Kartikaya Gupta bc371e9e38 Bug 742019 - Rewrite how we handle touch events so we don't break panning, and don't introduce unnecessary latency. r=wesj 2012-04-07 03:09:26 -04:00
Veeraya Pupatwibul 054cc031c2 Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02: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
Eitan Isaacson 3c3617d482 Bug 738741 - Map Android's KEYCODE_DPAD_CENTER to DOM_VK_ENTER. r=mbrubeck 2012-03-28 22:11:55 +02:00
Kartikaya Gupta 3f7e787fc5 Bug 731603 - Save the display port and resolution in the VirtualLayer's mPosition and mResolution fields. r=Cwiiis 2012-03-20 00:07:42 -04:00
Kartikaya Gupta 32390aef67 Bug 727966 - Remove an unnecessary paint on rotation. r=blassey 2012-03-19 10:06:24 -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
Benoit Girard 5b49ecf494 Bug 733184 - Remove more logging from widget. r=pcwalton 2012-03-05 19:58:18 -05:00
Kartikaya Gupta c72c152027 Merge m-c again to pick up 75deec1f1a7b 2012-02-28 14:37:26 -05:00
Benoit Girard 7ecb84135e More render trace. r=debug_only 2012-02-28 11:24:24 -05:00
Kartikaya Gupta a9ae7da188 Merge heads 2012-02-27 15:59:56 -05:00
Kartikaya Gupta 92f7200fe7 Merge m-c 2012-02-27 15:06:35 -05:00
Benoit Girard ae4c8791c8 Added more rendertrace breakdowns 2012-02-27 14:31:29 -05:00
Josh Dhaliwal f605eeb680 Bug 727905 - Zero width window handling in nsWindow.cpp crash. r=dougt 2012-02-26 19:59:22 -08: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
Benoit Girard 623e14f95b Bug 730521 - Fix memory leak and needless memory allocation. r=ajuma 2012-02-24 21:51:14 -05:00
Kartikaya Gupta 1c1e19a713 We were allocating and re-allocating a view-sized buffer and then claiming it was 32x32. Cut that down to stop wastage. Also drop unused method. 2012-02-24 12:11:32 -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
Chris Lord 9e4f92e0d7 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 6989e0184d Stop asserting the reverse of what we mean 2012-02-17 11:50:14 -05:00
Kartikaya Gupta 0a466af8b4 Also remove dangling entrails of the layer client type 2012-02-17 09:16:14 -05: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
Benoit Girard 253aa084ba Fix one shutdown crash 2012-02-15 11:29:14 -05: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 ddb67d8401 Integrate the Java compositor. Scroll bars now appear. 2012-02-13 14:52:30 -08:00
Benoit Girard 76e9bab873 Make OMTC changes not effect desktop 2012-02-13 17:17:12 -05:00
Patrick Walton 74d3cc6667 Uncomment the Java compositor integration, except for the part that causes PowerVR crashes 2012-02-10 23:03:02 -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 7a3ee0105d Add a DrawWindowUnderlay() to match DrawWindowOverlay() 2012-02-09 19:47:50 -08: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
Josh Dhaliwal a8952836c1 Bug 727905 - Zero width window handling in nsWindow.cpp crash. r=dougt 2012-02-27 18:57:28 -05:00
Patrick Walton 492000e1c3 Shrink the surface size to speed up painting 2012-02-06 15:25:18 -08:00
Patrick Walton ba5b63cde0 Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform() 2012-02-03 18:35:58 -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 85326bec09 Clean up nsWindow::Draw() a bit 2012-02-02 20:24:49 -08:00
Patrick Walton 7d31d7d639 Partial removal of tiling, stub callouts 2012-02-02 19:28:22 -08:00
Benoit Girard 049097b646 Hack the real window dimensions 2012-02-02 18:03:55 -05:00
Benoit Girard 4f50a7fdac Fix GetLayerManager logic 2012-02-02 14:16:59 -05:00