Commit Graph

24 Commits

Author SHA1 Message Date
Kartikaya Gupta
864003c462 Bug 803700 - Remove unnecesary finalizers. r=blassey 2012-10-22 10:15:35 -04:00
Kartikaya Gupta
44370c82ac Bug 803613 - Minor code cleanup. r=blassey 2012-10-22 10:14:44 -04:00
Kartikaya Gupta
a01dc19222 Bug 803613 - Guard against NPE by synchronizing the destroy function and checking for null. r=blassey 2012-10-22 10:14:39 -04:00
pushkarsingh
44e6bd9d0c Bug 779511 - Freeing buffers should be moved out of finalize functions. r=kats 2012-10-17 23:53:40 -04:00
Matt Woodrow
62f7b73450 Bug 539356 - Part 29 - Handle OOM exception gracefully during java snapshots. r=jrmuizel 2012-08-29 17:48:44 +12:00
Ed Morley
c863356300 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
8670e8c7b3 Bug 539356 - Part 29 - Handle OOM exception gracefully during java snapshots. r=jrmuizel 2012-08-29 17:48:44 +12:00
Chris Peterson
f1e7ec6bd4 Bug 779366 - Part 3: Move direct buffer allocation to DirectBufferAllocator. r=kats 2012-07-31 15:54:29 -07:00
Chris Peterson
dfd0007214 Bug 778472 - Part 1: Remove unused and redundant import statements. r=mfinkle 2012-07-27 17:54:41 -07:00
Geoff Brown
960a950edb Bug 773667 - Remove unused code from ScreenshotLayer; r=blassey 2012-07-23 13:34:16 -06:00
Chris Peterson
0ae5b05768 Backout 844444ca8feb (Bug 709230) r=bustage 2012-07-17 17:54:54 -07:00
Chris Peterson
7cc0a9ac2f Bug 709230 - Part 4: Remove unused imports. r=blassey 2012-07-15 13:20:43 -07:00
Chris Peterson
949e399cad 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
Ehsan Akhgari
197fdca966 Backout changeset cd6d52bdf2d8 (bug 539356) because of performance and correctness regressions 2012-07-03 20:07:55 -04:00
Matt Woodrow
da4ca28895 Bug 539356 - Part 29 - Handle OOM exception gracefully during java snapshots. r=jrmuizel 2012-06-30 15:06:14 +12:00
Kartikaya Gupta
9cfb150be6 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
Brad Lassey
d571f01e38 bug 755070 - Scrolling causes after paint notifications which causes screenshotting which causes checkerboarding r=kats,cjones 2012-06-14 09:08:51 -07:00
Brad Lassey
3c13cc7973 backing out bug 755070 for potential talos panning regression 2012-06-05 22:55:18 -04:00
Brad Lassey
822c3827ab 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
9dea03bf32 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
8b2a37c104 Bug 753334 - Audit and clean up code that deals with allocating/freeing direct buffers. r=Cwiiis 2012-05-10 09:46:53 -04:00
Chris Lord
077e78ae9e 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
Chris Lord
6e7a025ac6 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
Brad Lassey
7209478fe4 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