Commit Graph

539 Commits

Author SHA1 Message Date
Kartikaya Gupta
7c27c82eb2 Bug 777351 - Scope down and inline some functions in the new GeckoLayerClient. r=sriram 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
69eda93651 Bug 777351 - Remove unnecessary getBitmap function that always returns null. r=sriram 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
0f75a70847 Bug 777351 - Fold LayerController into GeckoLayerClient. r=sriram 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
e3ce5edbe4 Bug 777351 - Some minor cleanup in GeckoLayerClient.java. r=sriram 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
8805993182 Bug 777351 - Move the getDrawable functions from LayerController to LayerView. r=sriram 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
3350e05928 Bug 777075 - Remove notifyLayerClientOfGeometryChange from the PanZoomTarget interface by baking it into setViewportMetrics and setForceRedraw. r=mbrubeck 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
4fdffd71e8 Bug 777075 - Trim the PanZoomState interface by moving some LayerController functions into PanZoomController. r=mbrubeck 2012-08-07 10:39:04 -04:00
Kartikaya Gupta
4b24887a6e Bug 777075 - Extract a PanZoomTarget interface for functions that PanZoomController depends upon. r=mbrubeck 2012-08-07 10:39:03 -04:00
Kartikaya Gupta
d3a77d21bc Bug 777075 - Eliminate the getViewport and getZoomFactor methods in LayerController to further reduce exposed surface area. r=mbrubeck 2012-08-07 10:39:03 -04:00
Kartikaya Gupta
d6ad560bb7 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-07 10:39:03 -04:00
Kartikaya Gupta
decd347956 Bug 777075 - Refactor PanZoomController to consolidate code that gets the viewport metrics from the LayerController. r=mbrubeck 2012-08-07 10:39:03 -04:00
Chris Peterson
778b6784c6 Bug 778468 - Part 6: Inject LayerView's InputConnectionHandler to remove GeckoInputConnection dependency. r=blassey
--HG--
extra : rebase_source : 7422a54c7c360ef8712c75d865e5e545d922aad1
2012-08-02 11:56:52 -07:00
Vladimir Vukicevic
bd1724bff4 b=780213; don't call glDeleteTextures when len == 0 in TextureReaper, because Adreno; r=snorp 2012-08-03 13:40:41 -04:00
Vladimir Vukicevic
abcbcb4077 b=779936; can't use TextureView without android hardware accelerated windows (S3 bustage); r=snorp 2012-08-03 13:40:33 -04:00
Chris Peterson
41b6ea6b1b Bug 779366 - Part 2b: Remove ViewportMetrics' dependency on GeckoApp by passing DisplayMetrics. r=sriram 2012-08-01 14:51:28 -07:00
Chris Peterson
0056fba509 Backout bcb8b2b5a310 (bug 779366 - Part 2). r=me 2012-08-01 14:42:11 -07:00
Chris Peterson
51f10d37e8 Bug 779366 - Part 3: Move direct buffer allocation to DirectBufferAllocator. r=kats 2012-07-31 15:54:29 -07:00
Chris Peterson
2f9b95cde3 Bug 779366 - Part 2: Move DisplayMetrics to ConfigurationUtils. r=sriram 2012-07-30 16:05:44 -07:00
Chris Peterson
f5549b06dc Bug 779366 - Part 1: Move FloatUtils to org.mozilla.gecko.util package. r=kats
--HG--
rename : mobile/android/base/FloatUtils.java => mobile/android/base/util/FloatUtils.java
2012-07-27 21:57:47 -07:00
Chris Peterson
20927a2f40 Bug 778472 - Part 3: Standardize order of import statements: org.mozilla, com, net, org, android, java. r=mfinkle 2012-07-27 17:53:54 -07:00
Ed Morley
8c798cdc3b Backout d2ee4c12c0b3 (bug 777351), 5aa6f94160dd (bug 777351), b47c470168fc (bug 777351), 5fb303ba52f7 (bug 777351), be81e4c3d928 (bug 777351), abc5b9a922dc (bug 777075), 8f1fc980f1f1 (bug 777075), 0b194a7f47d4 (bug 777075), d10df9bfef60 (bug 777075), 65393fe32cce (bug 777075), b52dc1df2fde (bug 777075), 8aeda525c094 (bug 777075) for Android native R1 failures on a CLOSED TREE 2012-08-01 18:42:05 +01:00
Kartikaya Gupta
912ab62a3b Bug 777351 - Scope down and inline some functions in the new GeckoLayerClient. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta
59d53a3a44 Bug 777351 - Remove unnecessary getBitmap function that always returns null. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta
4df9e1758d Bug 777351 - Fold LayerController into GeckoLayerClient. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta
789cc42d7f Bug 777351 - Some minor cleanup in GeckoLayerClient.java. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta
866b310b59 Bug 777351 - Move the getDrawable functions from LayerController to LayerView. r=sriram 2012-08-01 10:48:19 -04:00
Kartikaya Gupta
9637f91654 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
7de6d09010 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
48920d20cf Bug 777075 - Extract a PanZoomTarget interface for functions that PanZoomController depends upon. r=mbrubeck 2012-08-01 10:38:30 -04:00
Kartikaya Gupta
dbe1c47d30 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
48c5cd570b 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
e0c7659f57 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
7d9aa5cde7 Bug 779152 - Render into a TextureView on Android where available r=kats 2012-07-31 13:30:46 -04:00
Chris Peterson
22f5fd455c Bug 778472 - Part 1: Remove unused and redundant import statements. r=mfinkle 2012-07-27 17:54:41 -07:00
Kartikaya Gupta
aed9399f87 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
38a53f53bc 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
0c3fb5d217 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
19e23d0d9a Bug 761785: Background shown during overscroll disappeared. [r=kats] 2012-07-26 23:54:48 -07:00
Kartikaya Gupta
d701131c35 Bug 775722 - Reposition the text selection handles during pan/zoom operations. r=blassey 2012-07-26 10:13:48 -04:00
Benoit Jacob
761f468679 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
722e5e018b Bug 773667 - Remove unused code from ScreenshotLayer; r=blassey 2012-07-23 13:34:16 -06:00
Kartikaya Gupta
68195c5196 Bug 772855 - Log exception stack traces when logging errors. r=cpeterson 2012-07-23 15:04:28 -04:00
James Willcox
f97d0fb4b7 Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey 2012-07-20 15:20:51 -04:00
Ed Morley
865b492e14 Backout 4987ffd173a4 (bug 687267) for bustage 2012-07-23 14:47:54 +01:00
James Willcox
a2f250042f 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
8c936ae394 Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE. 2012-07-22 14:02:18 +02:00
James Willcox
ff21a06364 Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert 2012-07-20 15:20:51 -04:00
Matt Brubeck
cfddc83422 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
6dcbf4aa2b Backed out changeset afd9e75374e8 from a CLOSED TREE for breaking Windows builds 2012-07-19 14:55:48 -07:00
Margaret Leibovic
e0b16108e1 Bug 774938 - Native text selection handles. r=mfinkle,kats 2012-07-19 13:16:44 -07:00
James Willcox
d6aa2eee6c Bug 687267 - Initial support for Flash on Honeycomb r=benwa,vlad 2012-07-19 16:15:40 -04:00
Kartikaya Gupta
d62854f51b Bug 766647 - Do a better job of coalescing the low-res screenshots. r=blassey 2012-07-18 11:23:16 -04:00
Chris Peterson
09dd93adf1 Backout 554503c436a3 (Bug 709230 Part 2) for possible test bustage. r=me 2012-07-17 22:39:46 -07:00
Chris Peterson
ea5aca80f3 Backout 844444ca8feb (Bug 709230) r=bustage 2012-07-17 17:54:54 -07:00
Chris Peterson
bb71352997 Bug 709230 - Part 4: Remove unused imports. r=blassey 2012-07-15 13:20:43 -07:00
Chris Peterson
ad0d5b1167 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
8f94ca9bd5 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
bf7ccdb81c 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
23aa8796f7 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
eda75c8988 Bug 772890 - Guard against ArrayIndexOutOfBoundsException in GfxInfoThread. r=bjacob 2012-07-11 14:19:58 -04:00
Kartikaya Gupta
851ec9e4a6 Bug 772890 - Update package for GfxInfoThread. r=bjacob 2012-07-11 14:13:49 -04:00
Kartikaya Gupta
0edbe5c01f Bug 771757 - Fix subdocument scrolling so that it works again. r=wesj 2012-07-10 12:46:49 -04:00
Ali Juma
99a264d626 Bug 771189 - Don't try to pause/resume a non-existent compositor. r=kats 2012-07-06 09:48:25 -04:00
Jeff Muizelaar
d2ca56a7d7 Bug 765725 - Ensure we are binding to the correct texture unit. r=chrislord 2012-07-05 21:08:02 -04:00
Benoit Jacob
de3d2ca49c 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
df89ee9ba4 Backout changeset cd6d52bdf2d8 (bug 539356) because of performance and correctness regressions 2012-07-03 20:07:55 -04:00
Matt Woodrow
aeb5398df9 Bug 539356 - Part 29 - Handle OOM exception gracefully during java snapshots. r=jrmuizel 2012-06-30 15:06:14 +12:00
Kartikaya Gupta
58ce159123 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
aa807b4225 Bug 756474 - Harden the SimpleScaleGestureDectector against missed events [r=kats] 2012-06-19 12:01:44 -07:00
Matt Brubeck
8800bf1a97 Bug 765407 - Don't setOnDoubleTapListener(null); fixes crash in GestureDetector [r=kats] 2012-06-18 09:54:48 -07:00
Eitan Isaacson
1a7bf52bf4 Bug 763613 - Make hover events mousemove events. r=wesj 2012-06-15 15:34:22 -07:00
Matt Brubeck
4161644620 Back out bug 764621, bug 762717, bug 764638, and bug 764622 for mochitest failures 2012-06-14 20:12:06 -07:00
Sriram Ramasubramanian
2a82459a0a 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
17abebe181 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
43e1306bd0 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
7178944e03 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
cf708e340f Bug 753102 - Remove BrowserToolbar from GeckoApp. r=mfinkle 2012-06-11 15:18:40 -07:00
Wes Johnston
ecc29d4288 backout 2d1268c57588 2012-06-12 09:53:44 -07:00
Wes Johnston
e8dfe63037 Bug 753102 - Remove BrowserToolbar from GeckoApp. r=mfinkle 2012-06-11 15:18:40 -07:00
Matt Brubeck
3de6b102e4 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
61e1120311 Bug 745250 - Prevent crash from NPE in TouchEventHandler. r=wesj 2012-06-06 13:50:01 -04:00
Kartikaya Gupta
86c4abe906 Bug 759775 - Update checkerboard telemetry code to handle RTL pages. r=Cwiiis 2012-06-06 09:56:48 -04:00
Brad Lassey
989a26a9ca backing out bug 755070 for potential talos panning regression 2012-06-05 22:55:18 -04:00
Brad Lassey
e6a5c8c939 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
ddbab52c55 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
d70bdb620c 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
73f5daa6bc Bug 758635 - LayerRenderer doesn't need to implement GLSurfaceView.Renderer. r=jrmuizel 2012-06-03 17:49:50 -04:00
Matt Brubeck
1f99b61afd 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
7dea2d33ac 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
81ce6b0c02 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
b497180aad 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
cd1814b7d1 Bug 759762 - Update screenshot code to take into account RTL pages. r=blassey 2012-05-30 11:27:05 -04:00
Jeff Muizelaar
e73c725c3e 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
4998405718 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
877c26f46d Back out d22c4f57daaf and 6c27b32ad788 (bug 758635) on suspicion of causing reftest failures 2012-05-26 13:11:47 -07:00
Kartikaya Gupta
a32704dcfa Bug 758635 - LayerRenderer doesn't need to implement GLSurfaceView.Renderer. r=Cwiiis 2012-05-26 11:03:27 -04:00
Kartikaya Gupta
4e24dc2721 Bug 758635 - Remove redundant code to set the viewport size. r=Cwiiis 2012-05-26 10:59:11 -04:00
Ed Morley
5eb4baa056 Backout 5f82df6b980e (bug 757944) on suspicion of reftest failures 2012-05-24 17:51:46 +01:00
Wes Johnston
58f252ef6b Bug 757893 - Reset max and min zoom when switching tabs. r=kats 2012-05-24 09:11:21 -07:00
Benoit Girard
df1dd36e0d 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