Граф коммитов

517 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta 8008b07c75 Bug 777351 - Remove unnecessary getBitmap function that always returns null. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta aafa3dfccd Bug 777351 - Fold LayerController into GeckoLayerClient. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta 81e3002e79 Bug 777351 - Some minor cleanup in GeckoLayerClient.java. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta 8143ab8d72 Bug 777351 - Move the getDrawable functions from LayerController to LayerView. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta e6a93f7653 Bug 777075 - Remove notifyLayerClientOfGeometryChange from the PanZoomTarget interface by baking it into setViewportMetrics and setForceRedraw. r=mbrubeck 2012-08-01 10:38:30 -04:00
Kartikaya Gupta 270c2238aa Bug 777075 - Trim the PanZoomState interface by moving some LayerController functions into PanZoomController. r=mbrubeck 2012-08-01 10:38:30 -04:00
Kartikaya Gupta f66041d163 Bug 777075 - Extract a PanZoomTarget interface for functions that PanZoomController depends upon. r=mbrubeck 2012-08-01 10:38:30 -04:00
Kartikaya Gupta 45562a3fe1 Bug 777075 - Eliminate the getViewport and getZoomFactor methods in LayerController to further reduce exposed surface area. r=mbrubeck 2012-08-01 10:38:30 -04:00
Kartikaya Gupta 1d9e46cdec Bug 777075 - Extract a ZoomConstraints class to carry around the pieces of data that are otherwise floating around Tab and LayerController. r=mbrubeck 2012-08-01 10:38:30 -04:00
Kartikaya Gupta 684c1207ef Bug 777075 - Refactor PanZoomController to consolidate code that gets the viewport metrics from the LayerController. r=mbrubeck 2012-08-01 10:38:29 -04:00
James Willcox 332ecc4dd6 Bug 779152 - Render into a TextureView on Android where available r=kats 2012-07-31 13:30:46 -04:00
Chris Peterson d44be64a5e Bug 778472 - Part 1: Remove unused and redundant import statements. r=mfinkle 2012-07-27 17:54:41 -07:00
Kartikaya Gupta 55c4097bef Bug 770047 - Add the LayerView directly to the XML layout rather than creating it later, so that we don't get a black flash on startup on JellyBean devices. r=sriram 2012-07-28 10:33:51 -04:00
Sriram Ramasubramanian 0da7fc919a Bug 778247: mAppContext cleanup: Tabs can avoid it. [r=mbrubeck]
--HG--
extra : rebase_source : 1a5ed5ec5dbfdd72c81877196e3a3f10764e3d07
2012-07-27 23:31:54 -07:00
Sriram Ramasubramanian 7e1dc1def9 Bug 778247: mAppContext cleanup: display metrics can be obtained from context. [r=mbrubeck]
--HG--
extra : rebase_source : a36329385979ffd0312fdba19b17798f0e62b3ad
2012-07-27 23:13:34 -07:00
Sriram Ramasubramanian 09ae3a71a2 Bug 761785: Background shown during overscroll disappeared. [r=kats] 2012-07-26 23:54:48 -07:00
Kartikaya Gupta 2abce8dc66 Bug 775722 - Reposition the text selection handles during pan/zoom operations. r=blassey 2012-07-26 10:13:48 -04:00
Benoit Jacob 33465b564a Bug 763805 - make GL error messages more explicit about lack of OpenGL ES2 support - r=kats 2012-07-25 12:13:45 -04:00
Geoff Brown d79dac9d36 Bug 773667 - Remove unused code from ScreenshotLayer; r=blassey 2012-07-23 13:34:16 -06:00
Kartikaya Gupta d7c5700e41 Bug 772855 - Log exception stack traces when logging errors. r=cpeterson 2012-07-23 15:04:28 -04:00
James Willcox 30e0f551ce Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey 2012-07-20 15:20:51 -04:00
Ed Morley 320a116efd Backout 4987ffd173a4 (bug 687267) for bustage 2012-07-23 14:47:54 +01:00
James Willcox 752928c2eb Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
--HG--
extra : rebase_source : 450055ae3e71ea84f74252d3bf100fe970d29d14
2012-07-20 15:20:51 -04:00
Ms2ger cb94cc2ce1 Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE. 2012-07-22 14:02:18 +02:00
James Willcox 5517ea9fde Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert 2012-07-20 15:20:51 -04:00
Matt Brubeck 3f9fd893b5 Bug 766858 - When tab menu is open, intercept all touch events on about:home or web content [r=kats] 2012-07-20 10:06:01 -07:00
Steve Fink 6914108ba0 Backed out changeset afd9e75374e8 from a CLOSED TREE for breaking Windows builds 2012-07-19 14:55:48 -07:00
Margaret Leibovic c3bc36aec8 Bug 774938 - Native text selection handles. r=mfinkle,kats 2012-07-19 13:16:44 -07:00
James Willcox 08eb1f216b Bug 687267 - Initial support for Flash on Honeycomb r=benwa,vlad 2012-07-19 16:15:40 -04:00
Kartikaya Gupta 15dfe18ba1 Bug 766647 - Do a better job of coalescing the low-res screenshots. r=blassey 2012-07-18 11:23:16 -04:00
Chris Peterson 1baa5f84b7 Backout 554503c436a3 (Bug 709230 Part 2) for possible test bustage. r=me 2012-07-17 22:39:46 -07:00
Chris Peterson 7298003751 Backout 844444ca8feb (Bug 709230) r=bustage 2012-07-17 17:54:54 -07:00
Chris Peterson 26908498c3 Bug 709230 - Part 4: Remove unused imports. r=blassey 2012-07-15 13:20:43 -07:00
Chris Peterson 215e80e667 Bug 709230 - Part 3: Mark classes final and reduce class visibility public->package->private to aid ProGuard optimizations. r=blassey 2012-07-15 13:20:43 -07:00
Chris Peterson 97edd595af Bug 709230 - Part 2: Add missing access modifiers for Java methods accessed from JNI. r=blassey 2012-07-15 00:07:58 -07:00
Kartikaya Gupta ae9420729d Bug 769269 - Update the graphics code to be able to deal with blowing away the layer controller, client, and view and creating them afresh. r=ajuma 2012-07-13 10:19:46 -04:00
Kartikaya Gupta 6084aabef4 Bug 769269 - Update a bunch of fields in GeckoApp to not be static any more. r=mfinkle 2012-07-13 10:17:03 -04:00
Kartikaya Gupta 79e2b2e3dd Bug 772890 - Guard against ArrayIndexOutOfBoundsException in GfxInfoThread. r=bjacob 2012-07-11 14:19:58 -04:00
Kartikaya Gupta 641974a8c9 Bug 772890 - Update package for GfxInfoThread. r=bjacob 2012-07-11 14:13:49 -04:00
Kartikaya Gupta 73a28a13f1 Bug 771757 - Fix subdocument scrolling so that it works again. r=wesj 2012-07-10 12:46:49 -04:00
Ali Juma f9d2715e76 Bug 771189 - Don't try to pause/resume a non-existent compositor. r=kats 2012-07-06 09:48:25 -04:00
Jeff Muizelaar 060555d496 Bug 765725 - Ensure we are binding to the correct texture unit. r=chrislord 2012-07-05 21:08:02 -04:00
Benoit Jacob 9e50f7cb4b Bug 766251 - 1/5 - GfxInfo on Android: the Java and AndroidBridge parts - r=kats,jrmuizel 2012-07-05 10:12:10 -04:00
Ehsan Akhgari d46ae3a382 Backout changeset cd6d52bdf2d8 (bug 539356) because of performance and correctness regressions 2012-07-03 20:07:55 -04:00
Matt Woodrow 11927c4b90 Bug 539356 - Part 29 - Handle OOM exception gracefully during java snapshots. r=jrmuizel 2012-06-30 15:06:14 +12:00
Kartikaya Gupta f52ff46322 Bug 765463 - Fix indexes when copying the screenshot buffer to the screenshot layer image buffer. r=blassey 2012-06-27 07:52:11 -07:00
Matt Brubeck f010ac1911 Bug 756474 - Harden the SimpleScaleGestureDectector against missed events [r=kats] 2012-06-19 12:01:44 -07:00
Matt Brubeck c1a88fa6e9 Bug 765407 - Don't setOnDoubleTapListener(null); fixes crash in GestureDetector [r=kats] 2012-06-18 09:54:48 -07:00
Eitan Isaacson 13a49280a3 Bug 763613 - Make hover events mousemove events. r=wesj 2012-06-15 15:34:22 -07:00
Matt Brubeck 1d0b75d023 Back out bug 764621, bug 762717, bug 764638, and bug 764622 for mochitest failures 2012-06-14 20:12:06 -07:00
Sriram Ramasubramanian 72dea6b6d3 Bug 764621: FormAssistant doesn't need to be static. [r=margaret]
--HG--
extra : rebase_source : acd7d1b0a2ce7825b4ba8c150d43ef9a98dc48fd
2012-06-14 11:54:05 -07:00
Brad Lassey 6b0fea71be bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding r=kats,cjones 2012-06-14 09:08:51 -07:00
Kartikaya Gupta 763a9662ee Bug 764467 - Add a separate event for notifying browser.js of resize events, to avoid weird re-entrancy issues. r=Cwiiis 2012-06-14 10:59:28 -04:00
Kartikaya Gupta 0cb90ae73c Bug 753444 - Remove device-space page rect from setPageRect as it is not needed. r=jrmuizel 2012-06-13 13:49:40 -04:00
Wes Johnston b6276a09ea Bug 753102 - Remove BrowserToolbar from GeckoApp. r=mfinkle 2012-06-11 15:18:40 -07:00
Wes Johnston 1a3f2035d8 backout 2d1268c57588 2012-06-12 09:53:44 -07:00
Wes Johnston 188a246ec4 Bug 753102 - Remove BrowserToolbar from GeckoApp. r=mfinkle 2012-06-11 15:18:40 -07:00
Matt Brubeck 19d46d4ac7 Bug 760087 - Don't steal focus from the findbar when Gecko IME state changes [r=cpeterson]
--HG--
extra : rebase_source : 49a6582ff2c13b3a40963f430c7d9a5da5ac8141
2012-06-08 11:43:17 -07:00
Kartikaya Gupta 81a65a5a05 Bug 745250 - Prevent crash from NPE in TouchEventHandler. r=wesj 2012-06-06 13:50:01 -04:00
Kartikaya Gupta 9d780315ce Bug 759775 - Update checkerboard telemetry code to handle RTL pages. r=Cwiiis 2012-06-06 09:56:48 -04:00
Brad Lassey f6011a1f0c backing out bug 755070 for potential talos panning regression 2012-06-05 22:55:18 -04:00
Brad Lassey dd58f9dddd bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding, only copy the region that was painted r=kats
--HG--
extra : rebase_source : 0f85abfedf36fb51e3632ba63ae1f194ff0a87ac
2012-06-05 14:59:01 -04:00
Brad Lassey ce87155cc1 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
--HG--
extra : rebase_source : a8eb542ef7a9f6c86e9766db7276a76dd8f038ee
2012-06-04 11:56:31 -04:00
Kartikaya Gupta 639a68e214 Bug 758635 - Move a call to resizeView so that we don't send two resize events to gecko when the keyboard comes up. r=jrmuizel 2012-06-03 17:50:00 -04:00
Kartikaya Gupta a98d1bbdcd Bug 758635 - LayerRenderer doesn't need to implement GLSurfaceView.Renderer. r=jrmuizel 2012-06-03 17:49:50 -04:00
Matt Brubeck e62fcc8acf Back out bug 760342 for Windows build error, bug 755070 for Android crashes, and bug 760458 because it depends on 755070 2012-06-01 17:45:02 -07:00
Brad Lassey dd3516b825 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
--HG--
extra : rebase_source : 2a7c299c7133da06638d9ef1d27d4b4653072dce
2012-06-01 18:54:48 -04:00
Jeff Muizelaar 0575fc4e6e Bug 760226. Remove unneeded EGLContext creation in GLController.java. r=ajuma
This is old and causing some sadness on platforms with a limited number of
contexts.

--HG--
extra : rebase_source : cb867c8d9dcfa145fc6b9e95cc7bfc9652c0bc2d
2012-05-31 16:14:56 -04:00
Benoit Girard 5bff6f5e9b Bug 757944 - Remove GL calls made without a context. r=jrmuizelaar
--HG--
extra : rebase_source : aabc39ae9f9d4a5b66eadf87738af4ae38e1c889
2012-05-31 15:27:45 -04:00
Kartikaya Gupta 44e78db58f Bug 759762 - Update screenshot code to take into account RTL pages. r=blassey 2012-05-30 11:27:05 -04:00
Jeff Muizelaar 6af7439ab5 Bug 758205. Use highp in the fragment shader. r=joe
More precision makes the java screenshot look better on large pages.
2012-05-24 16:44:10 -04:00
Jeff Muizelaar 7be981c23e Bug 758205. Move the y-axis inversion out of the fragment shader. r=clord
Moves the inversion into the vertex shader. No point in doing this
operation per-pixel when we can do it per-vertex.
2012-05-28 11:35:20 -04:00
Phil Ringnalda b8af2d92b2 Back out d22c4f57daaf and 6c27b32ad788 (bug 758635) on suspicion of causing reftest failures 2012-05-26 13:11:47 -07:00
Kartikaya Gupta d8b20aaacd Bug 758635 - LayerRenderer doesn't need to implement GLSurfaceView.Renderer. r=Cwiiis 2012-05-26 11:03:27 -04:00
Kartikaya Gupta 197564f739 Bug 758635 - Remove redundant code to set the viewport size. r=Cwiiis 2012-05-26 10:59:11 -04:00
Ed Morley 34309ca065 Backout 5f82df6b980e (bug 757944) on suspicion of reftest failures 2012-05-24 17:51:46 +01:00
Wes Johnston ef794c4175 Bug 757893 - Reset max and min zoom when switching tabs. r=kats 2012-05-24 09:11:21 -07:00
Benoit Girard e5900f58f8 Bug 757944 - Don't call onSurfaceCreated/onSurfaceChanged before a context is created. r=joe
--HG--
extra : rebase_source : 61ce6cb26a69ace210f2fb60eb4714dd5fed3eb9
2012-05-23 18:26:21 -04:00
James Willcox b755e5a29b Bug 753458 - Remove unnecessary fields in RenderContext r=kats 2012-05-24 11:02:49 -04:00
Kartikaya Gupta a1f03fdc6b Bug 752709 - Extract a getDisplayMetrics function into GeckoApp. r=cpeterson 2012-05-23 21:53:39 -04:00
Kartikaya Gupta 9583637c8e Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats 2012-05-23 10:51:39 -04:00
Kartikaya Gupta 55a35e49b8 Bug 748384 - Propagate the page bounds in via browser.js. r=Cwiiis,mats 2012-05-23 10:49:59 -04:00
Kartikaya Gupta f80b94f940 Bug 748384 - Update all Java code to keep a page rect and CSS page rect instead of just the page size. r=Cwiiis 2012-05-23 10:49:52 -04:00
Kartikaya Gupta 15d02d35fd Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage 2012-05-23 11:08:19 -04:00
Kartikaya Gupta c9a4698bf1 Bug 748384 - Propagate page bounds and CSS page bounds in via compositor. r=Cwiiis,ajuma,mats 2012-05-23 10:51:39 -04:00
Kartikaya Gupta c150c572b1 Bug 748384 - Propagate the page bounds in via browser.js. r=Cwiiis,mats 2012-05-23 10:49:59 -04:00
Kartikaya Gupta 352857dcce Bug 748384 - Update all Java code to keep a page rect and CSS page rect instead of just the page size. r=Cwiiis 2012-05-23 10:49:52 -04:00
James Willcox a197517be2 Bug 731288 - Don't call methods on finalized SurfaceTexture, JNI housekeeping r=blassey 2012-05-21 21:35:29 -04:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Matt Brubeck 397834a9d2 Bug 707571 (part 4) - Use mininum-scale and maximum-scale from <meta name="viewport"> [r=kats] 2012-05-18 08:24:27 -07:00
Matt Brubeck 561779c4f3 Bug 707571 (part 3) - Disable double-tap listener on pages with user-scalable=no [r=kats] 2012-05-18 08:24:27 -07:00
Matt Brubeck 56743ae0a7 Bug 707571 (part 2) - Disable zooming for pages with user-scalable=no [r=kats] 2012-05-18 08:24:27 -07:00
Ali Juma 28ef34c012 Bug 745243 - Wait for surfaceChanged before calling GLController.provideEGLSurface. r=kats 2012-05-18 15:58:46 -04:00
Matt Brubeck 2821ecfa99 Back out bug 707571 because of reftest failures 2012-05-18 09:31:27 -07:00
Matt Brubeck 7836159cee Bug 707571 (part 4) - Use mininum-scale and maximum-scale from <meta name="viewport"> [r=kats] 2012-05-18 08:24:27 -07:00
Matt Brubeck 79b2273a49 Bug 707571 (part 3) - Disable double-tap listener on pages with user-scalable=no [r=kats] 2012-05-18 08:24:27 -07:00
Matt Brubeck 0cf4d7ad70 Bug 707571 (part 2) - Disable zooming for pages with user-scalable=no [r=kats] 2012-05-18 08:24:27 -07:00
Vladimir Vukicevic 051a14217f b=752368; [android] random black screen when opening links from other apps; r=bgirard,ajuma,kats 2012-05-09 22:32:54 -04:00
Kartikaya Gupta 6b173a446c Bug 749384 - Notify PZC of some events before the touchevent listeners deal with it so that we remain responsive. r=wesj 2012-05-15 13:22:26 -04:00
Kartikaya Gupta 9d80bde95b Bug 749384 - Store the PZC instead of the LayerController. r=wesj 2012-05-15 13:21:53 -04:00