Kartikaya Gupta
91da6e0789
Bug 781220 - Move some functions from GeckoLayerClient over into LayerView to simplify access to them. r=sriram
2012-08-20 15:43:53 -04:00
Kartikaya Gupta
0f75a70847
Bug 777351 - Fold LayerController into GeckoLayerClient. 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
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
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
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
4df9e1758d
Bug 777351 - Fold LayerController into GeckoLayerClient. 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
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
Chris Peterson
22f5fd455c
Bug 778472 - Part 1: Remove unused and redundant import statements. r=mfinkle
2012-07-27 17:54:41 -07:00
Geoff Brown
722e5e018b
Bug 773667 - Remove unused code from ScreenshotLayer; r=blassey
2012-07-23 13:34:16 -06: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
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
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
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
James Willcox
f17ad4617e
Bug 753458 - Remove unnecessary fields in RenderContext r=kats
2012-05-24 11:02:49 -04:00
Kartikaya Gupta
84ade9c45e
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
04a457fab1
Bug 748384 - Back out 330e9c52f9ac, 9ba1078559fe, 2ed39c12d792, f53f05ecacd5 for build bustage. r=bustage
2012-05-23 11:08:19 -04:00
Kartikaya Gupta
d7e205e633
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
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
James Willcox
424a4c0c97
Small fixup to my last patch (no bug, r=blassey)
2012-05-11 11:05:37 -04:00
James Willcox
b5f5a032fd
Bug 750778 - Ensure PluginLayer is always present when plugin is visible r=blassey
2012-05-11 10:54:51 -04:00
Kartikaya Gupta
fb82ca7260
Bug 753334 - Audit and clean up code that deals with allocating/freeing direct buffers. r=Cwiiis
2012-05-10 09:46:53 -04:00
Joe Drew
16cc3ebe26
Bug 728026 - Leave the scissor bit enabled when we return from Java code. r=jrmuizel
2012-05-01 12:12:45 -04:00
James Willcox
5a33f3734d
Bug 746633 - Don't use placeholder for full page plugins on Android r=blassey
2012-05-07 14:18:46 -04:00
James Willcox
22ddeff430
Bug 727116 - Draw Flash plugins with OpenGL during pan/zoom on legacy Android r=blassey
2012-04-27 16:04:47 -04:00
Chris Lord
9b4791fda0
Bug 749630 - Fix single-colour checkerboard and masking. r=kats
...
Bug 748718 tried to fix masking of the checkerboard layer, but incorrectly
calculated the values for the right and bottom sides of the page, causing
less masking to occur than should happen.
It also possibly broke single-colour layer drawing (though I'm not sure this
worked previously), which this fixes by clearing to the page colour instead of
generating and drawing a texture for it.
2012-04-27 12:54:18 -04:00
Kartikaya Gupta
97492a9c94
Bug 749164 - Fix viewport intersection with page rect and guard against zero screen area. r=jrmuizel
2012-04-26 14:23:28 -04:00
Chris Lord
968ce32698
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.
--HG--
extra : rebase_source : 671c5a48d7bc08b3b452ed7eea228eb22843c1ce
2012-04-26 13:45:31 -04:00
Jeff Muizelaar
deff894d8a
Bug 748382. Don't count overscroll as checkerboard. r=kats
...
We currently check root layer position with the viewport.
During overscroll these won't match and we'll think we're
checkerboarding.
--HG--
extra : rebase_source : 27c93b524a539ad5851ff4ba5ee94f5321c24172
2012-04-24 11:26:21 -04:00
Brad Lassey
142a463d8e
bug 746016 - Cache low res version of the page in the java ui for use instead of checkerboarding r=kats
...
--HG--
extra : rebase_source : d6de0327a46393cd4cfc327dea5689364744a71d
2012-04-24 15:13:36 -04:00
Kartikaya Gupta
3fcd38a3b0
Bug 743800 - Ensure all metrics used during one frame of composition are consistent. r=jrmuizel a=blocking-fennec
2012-04-18 01:34:05 -04:00
Jeff Muizelaar
19bdb5c297
Bug 742743. Unify pageRect retrieval. r=kats
...
This ensures that we use the same pageRect for the whole
drawing process and avoids the overhead of recreating it.
2012-04-05 15:58:42 -04:00
Jeff Muizelaar
0def51bdb5
Bug 740303. Make sure we update the checkerboard layer. r=kats.
...
Presumably this started happening after we stopped setting the
checkerboard color all of the time.
--HG--
extra : rebase_source : d9c76561256161335727d3e76c8a8aed37a36c97
2012-04-09 10:59:36 -04:00