Commit Graph
709 Commits
Author SHA1 Message Date
Timothy Nikkel 46c8254b34 Bug 845147. Fix accidentally landed incorrect patch so it does some sync decoding for images being decoded the first time. r=joe 2013-06-26 15:36:43 -05:00
Catalin Iacob f88cdc0744 Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn. 2013-06-23 14:03:39 +02:00
David Zbarsky a0797c3369 Bug 885959 - Remove nsIDOMSVGAnimatedLength r=Ms2ger 2013-06-24 12:31:52 -07:00
Justin Lebar b6f0672b85 Bug 845147 - Don't decode images synchronously if we've decoded them once before. r=joedrew 2013-06-04 17:05:54 -05:00
Seth Fowler 68e8f5779f Bug 695763 (Part 1) - Add imgIContainer::IsDecoded. r=joe sr=bz 2013-05-22 17:27:02 +08:00
Seth Fowler f4b566c875 Bug 883416 (Part 3) - Coalesce invalidations in RasterImage using a listening flag. r=dholbert 2013-06-21 13:32:34 -07:00
Seth Fowler cd36a45f93 Bug 883416 (Part 2) - Revert bug 846028. r=dholbert 2013-06-21 13:32:34 -07:00
Seth Fowler ffa930ac2d Bug 883416 (Part 1) - Revert bug 851416. r=dholbert 2013-06-21 13:32:33 -07:00
Joey Armstrong c59a20548a bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (cleanup). r=mshal 2013-06-20 15:59:59 -04:00
Joe Drew 40e7c8c284 Bug 867774 - Rename the helper HTML pages as suggested by reviewer. r=seth 2013-06-20 09:33:51 -04:00
Brian O'Keefe df70c9c82e Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal 2013-06-17 15:21:01 -04:00
Joe Drew 78049d5b2c Bug 867774 - Tests for animated images with different disposal and blend modes. r=seth 2013-06-18 16:24:05 -04:00
Joe Drew 832f03c263 Bug 867774 - Create a FrameBlender class that holds on to an image's frames and can blend frames together on demand (while leaving the decision as to which frames to external users). r=seth
FrameBlender steals RasterImage::mFrames, RasterImage::DoComposite, and the
RasterImage blending helper functions CopyFrameImage, DrawFrameTo, and
ClearFrame. Now RasterImage doesn't hold on to its frames directly, and defers
all blending to FrameBlender::DoComposite.
2013-06-17 16:49:04 -04:00
Joe Drew b39ad43b9d Bug 867774 - Make RasterImage's frame blending helper functions threadsafe. r=jrmuizel 2013-06-14 09:42:01 -04:00
Joey Armstrong 51cc4687d7 bug 880246: move EXTRA_PP_COMPONENTS to mozbuild (file batch #1) r=mshal 2013-06-14 14:07:19 -04:00
Seth Fowler 821e7864b7 Bug 600207 (Part 1) - Avoid fuzzy SVGs on the tiling path by matrix twiddling. r=dholbert 2013-06-13 00:47:26 -07:00
Martin Stransky 2a65e7861d Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt 2013-06-12 08:04:28 -04:00
Joe Drew be63b8c533 Bug 878751 - Port a bug fix from Chrome back to Mozilla. r=jlebar 2013-06-07 16:42:57 -04:00
Joe Drew 9eda3c6740 Bug 878392 - Reset Decoder::mCurrentFrame to nullptr if we fail to create a frame. r=seth 2013-06-07 16:42:57 -04:00
Joe Drew 6cd002c07c Bug 876499 - If a looping image is being asked to advance to a time that is more than one loop in the future, skip the intermediate frames and simply jump to the next multiple of the loop count. r=seth
When there is a long delay between calls to RequestRefresh(), for example
because an animated image has been scrolled off the screen, the current
animation frame time can be significantly behind the current time, requiring a
huge number of composites to catch up. This patch makes us skip those
intermediate composites, jumping to the closest multiple of the image's loop
time.
2013-06-07 15:28:24 -04:00
Matt Woodrow 9b00a81aaa No Bug - Mark bmp-size-1x1-1bpp.bmp as passing on b2g now 2013-06-07 21:22:41 +12:00
Joe Drew 803261159f Bug 878037 - unit test to make sure we can clone a static imgIRequest. r=seth 2013-06-06 13:33:54 -04:00
Phil Ringnalda c12afccffc Bug 879494 followup, clean up the last few bug685516 annotations
CLOSED TREE
2013-06-04 23:10:53 -07:00
Timothy Nikkel 7f14b7ae9d Bug 879494. Remove bug685516 annotations from reftests, they are not needed anymore. r=khuey 2013-06-05 00:18:54 -05:00
Daniel Holbert e37a2c2f4c Back out 022bc808586b (bug 845147) on suspicion of causing frequent intermittent oranges for list-simple-1.html by busting its reference case 2013-06-04 20:00:20 -07:00
Bobby Holley 1338a0c856 Bug 877478 - Fix mochitests with problematic callbacks to use the new API. r=mrbkap 2013-06-04 19:56:41 -07:00
Justin Lebar 137f9dc7cc Bug 845147 - Don't decode images synchronously if we've decoded them once before. r=joedrew 2013-06-04 17:05:54 -05:00
Joe Drew a0f4f24e90 Bug 878037 - Make static image requests (imgRequestProxyStatic) Clone correctly when the concrete-type Clone override is called. r=seth 2013-06-04 14:38:37 -04:00
Joe Drew e561956f21 Bug 878037 - Revert the null-owner intentional crashes, since we found the cause. r=seth 2013-06-04 14:38:31 -04:00
Robert O'Callahan 637551a497 Bug 786064. Part 1: Pass aFlags through VectorImage::Draw; FLAG_CLAMP is especially important to avoid taking a deathly-slow tiling path. r=joedrew 2013-06-04 15:29:34 +12:00
Joe Drew 10359a7a3f Bug 876355 - We must report telemetry *before* shutting down the decoder! r=jrmuizel
This simply restores the control flow from pre-bug 716140.
2013-05-30 10:32:16 -04:00
Joe Drew 0885ee2b7b Bug 876332 - Set currentAnimationFrameTime correctly based on the current frame's timeout (not the next frame's timeout). r=jrmuizel
In AdvanceFrame(), timeout refers to the timeout of the *next* frame. Setting
the *current* animation frame time based on the *next* frame is nonsense, but
worked for images with uniform frame timings. Unfortunately some images
don't have uniform frame timings!
2013-05-30 10:31:54 -04:00
Ehsan Akhgari 6a7064a975 Backed out 8 changesets (bug 803299) because it makes Tcheckerboard and Tpan so much worse
Backed out changeset f0311781c218 (bug 803299)
Backed out changeset 946467115924 (bug 803299)
Backed out changeset 59af481d8888 (bug 803299)
Backed out changeset 99a03f7ca8a4 (bug 803299)
Backed out changeset 44539f533a92 (bug 803299)
Backed out changeset 3f3963a3ebf6 (bug 803299)
Backed out changeset 5269f0483d1e (bug 803299)
Backed out changeset a9485787fdb1 (bug 803299)
2013-05-29 17:14:27 -04:00
Chris Lord 1524768b34 Bug 803299 - JPEG srgb icc fails on Android in 24-bit colour. r=jrmuizel 2013-05-29 15:26:35 +01:00
Trevor Saunders 0912ad014d backout 7a1706d0e5b0 to 8c8b6adebb4c for frequent failures in scrolling/text-1.html and scrolling/text-2.html reftests on a CLOSED TREE 2013-05-28 18:32:29 -04:00
Chris Lord 351b414cb7 Bug 803299 - JPEG srgb icc fails on Android in 24-bit colour. r=jrmuizel 2013-05-28 18:50:17 +01:00
Mike Shal 42d90ead43 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Phil Ringnalda 6078d3452d Bug 876275 - skip a crashtest that times out on B2G on a VM 2013-05-26 11:16:47 -07:00
Joe Drew e004077331 Bug 855221 - Don't flush from imgFrame::ImageUpdated(), which can be called from the decoder thread. r=jrmuizel 2013-05-24 21:52:34 +08:00
Joe Drew 54aa81c744 Bug 867758 - Test to ensure we don't return to the event loop while changing the frame of two images with the same FPS. r=seth 2013-05-23 09:49:38 +08:00
Joe Drew 6ae15fb90a Bug 867758 - Don't start images' animation until they've been explicitly RequestRefreshed by the refresh driver. r=seth 2013-05-17 16:57:26 -04:00
Joe Drew 4934553a32 Bug 867758 - Add imgIContainer::SetAnimationStartTime, which lets us explicitly set the time animation starts (rather than using TimeStamp::Now()). r=seth 2013-05-17 16:57:20 -04:00
Joe Drew 2300fa9c46 Bug 867758 - Add an imgIContainer getter for the first frame's delay time. r=seth 2013-05-17 13:42:20 -04:00
Joe Drew 13b1e489f7 Bug 873505 - Set the animation frame's start time based on when we *wanted* to start, not when we actually did. r=seth 2013-05-17 13:41:35 -04:00
Joe Drew 6a73ea11c9 Bug 875173 - Fix an infinite loop in RasterImage::RequestRefresh when, for whatever reason, we can't advance a frame after we've advanced at least one. r=seth 2013-05-23 09:40:58 +08:00
Seth Fowler b063fa2ac0 Bug 873455 - Add assertions for imgFrame::Init failure. r=joe 2013-05-22 17:10:38 +08:00
Ed Morley a2170c55e8 Backed out changeset 11de174da4a4 (bug 873455) for assertions 2013-05-22 09:18:27 +01:00
Seth Fowler 0d6e7bfd29 Bug 853774 - Crash if sanity checks related to imgRequestProxy::Clone fail. r=joe 2013-05-22 15:46:57 +08:00
Seth Fowler 244b3d3adf Bug 873455 - Add assertions for imgFrame::Init failure. r=joe 2013-05-22 15:33:08 +08:00
Joe Drew ed93517aa5 Bug 861595 - Don't try to decode anything if we don't have any bytes to decode. r=seth 2013-05-22 13:38:06 +08:00