Commit Graph

52 Commits

Author SHA1 Message Date
Joe Drew
869f435cb5 Back out 134f5b1d6d50 for leaking at shutdown on a CLOSED TREE 2012-10-03 16:31:28 -04:00
Joe Drew
4a5b791736 Bug 795940 - Always hold on to a reference to our image from a ScaleRequest so it can't delete itself while we're outstanding. r=jlebar 2012-10-03 14:29:33 -04:00
Joe Drew
4aa72291ae Backout d13f5f15df86 for busting the tree 2012-10-03 13:37:14 -04:00
Joe Drew
9b48805329 Bug 795940 - Always hold on to a reference to our image from a ScaleRequest so it can't delete itself while we're outstanding. r=jlebar 2012-10-03 13:26:02 -04:00
Tatiana Meshkova
96f837dfa2 Bug 486918. Part 2: Add the ability to pre-downscale using a high-quality scaler on a separate thread. r=joe,jlebar 2012-04-03 14:57:22 -07:00
Ms2ger
b83586e559 Bug 795862 - Back out bug 486918 for build bustage in unreviewed code. 2012-10-01 14:16:03 +02:00
Tatiana Meshkova
e72e50b42e Bug 486918. Part 2: Add the ability to pre-downscale using a high-quality scaler on a separate thread. r=joe,jlebar 2012-04-03 14:57:22 -07:00
Joe Drew
eaae42b795 Bug 786449 - Add a place to explicitly initialize RasterImage on the main thread at startup. r=jlebar 2012-09-26 11:33:06 -04:00
Ed Morley
6028447903 Backout 92530b29ac24, 42e659956dc6 & 38277196c099 (bug 486918), d3b69fe15ac3 & b2dba2108722 (bug 786444), e7381ac9e30a (bug 786449) on suspicion of causing Android reftest failures on a CLOSED TREE 2012-09-28 23:00:28 +01:00
Tatiana Meshkova
4a75d5d0f0 Bug 486918. Part 2: Add the ability to pre-downscale using a high-quality scaler on a separate thread. r=joe,jlebar
--HG--
extra : rebase_source : fa22f42c832ae57b8e221ee03c68a45d33a929d3
2012-04-03 14:57:22 -07:00
Joe Drew
0bb2d0df90 Bug 786449 - Add a place to explicitly initialize RasterImage on the main thread at startup. r=jlebar
--HG--
extra : rebase_source : d23afb459bca8c36467ad2af042580a96666b886
2012-09-26 11:33:06 -04:00
Matt Woodrow
638b4002cb Bug 781053 - Part 2 - Trigger empty transactions when an animated image in an ImageLayer changes frame. r=roc 2012-09-25 08:31:30 +12:00
Ed Morley
aba3a8f5ef Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
53908eb696 Bug 781053 - Part 2 - Trigger empty transactions when an animated image in an ImageLayer changes frame. r=roc 2012-09-25 08:31:30 +12:00
Phil Ringnalda
8166187203 Back out 85d6cbd01d39, 56fc051c1932, a2ad17b87332 (bug 781053) for OS X debug assertions and crashes
--HG--
extra : rebase_source : ab24a2f8e9eddcf33ea39344abb7afbf400bf6e0
2012-09-24 21:23:05 -07:00
Matt Woodrow
8570336fe7 Bug 781053 - Part 2 - Trigger empty transactions when an animated image in an ImageLayer changes frame. r=roc 2012-09-25 08:31:30 +12:00
Joe Drew
b4164cc128 Bug 787899 - Always re-sniff the MIME type of parts on multipart/x-mixed-replace streams. r=jlebar 2012-09-06 18:05:23 -04:00
Justin Lebar
5eb5691aeb Bug 744309 - Don't kick off a new decode from RasterImage::ShutdownDecoder. r=joedrew 2012-09-17 21:53:37 -04:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Kyle Huey
e8f5271758 Bug 685516: Instead of decoding small images synchronously and large images asynchronously, always decode synchronously for some time, and post the remainder to the event loop if necessary. r=joe 2012-08-13 11:12:15 -07:00
Kyle Huey
841ea59c70 Bug 693319: Factor out some common code in RasterImage for dealing with decode flag changes. r=bholley 2012-08-13 09:35:32 -07:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Justin Lebar
a9916a6e83 Bug 772987 - Part 2: Use Static{Auto,Ref}Ptr where appropriate. r=mounir
--HG--
extra : rebase_source : 4e3e72ba53cd0177160f80231eebeb4972119eec
2012-07-26 15:33:45 -04:00
Joshua Cranmer
497e7cd9bb Bug 773637 - Kill NS_SCRIPTABLE attributes, Part 2: Remove NS_SCRIPTABLE. r=ehsan
--HG--
extra : rebase_source : 83020e0a1961ed5b33d5e0599419c6b7b82caa87
2012-07-06 15:31:49 -05:00
Joshua Cranmer
a1186c1020 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Adam Dane [:hobophobe]
ce9676ce34 Bug 733553 - Allow multipart image streams to cope with stream changes. r=joe 2012-05-19 14:32:37 -05:00
Ryan VanderMeulen
5e78d60411 Backout bug 733553 due to mochitest orange. 2012-05-19 12:10:26 -04:00
Adam Dane [:hobophobe]
d2e80641a8 Bug 733553 - Allow multipart image streams to cope with stream changes. r=joe 2012-05-08 21:35:32 -05:00
Joe Drew
adeb871cdd Back out changeset 501d38d3892c (Bug 733553) for causing crashes in xpcshell tests. 2012-05-08 21:59:30 -04:00
Adam Dane [:hobophobe]
f72c3770d4 Bug 733553 - Allow multipart image streams to cope with stream changes. r=joe
--HG--
extra : rebase_source : 21ebc85f26fcbc4a4a27387d1ec5007c0886c386
2012-05-08 16:19:01 -05:00
Jeff Gilbert
f23bc53c69 Bug 696569 - Allow for non-premultiplied data for canvases - r=bjacob,joedrew 2012-03-23 15:10:50 -07:00
Justin Lebar
380905d6c1 Bug 732820 - Part 2: Cap the amount of discardable image data we'll willingly keep around. r=joe
--HG--
extra : rebase_source : 013b58b9148f0fd4d7f0eb7104674d6aa63bca82
2012-03-15 16:30:41 -04:00
Justin Lebar
ac34f00ddc Bug 731419 - Part 1: Discard image data immediately on tab close, imagelib changes. r=joe
--HG--
extra : rebase_source : 5e08cc235f1a9cb7b63d83df13760f2f2a4de0a4
2012-03-10 01:29:28 -05:00
Justin Lebar
53959f7e57 Back out bug 731419 and bug 732820 due to orange.
Backs out changesets 55e63a03ccad 45d2f5e2fe31 f78900832562 6184b50776fc 35d8045aeadd 42e887fec034.
2012-03-09 18:32:42 -05:00
Justin Lebar
35076a79dd Bug 731419 - Part 1: Discard image data immediately on tab close, imagelib changes. r=joe 2012-03-09 17:21:01 -05:00
Justin Lebar
74cb6a16da Bug 732820 - Part 2: Cap the amount of discardable image data we'll willingly keep around. r=joe 2012-03-09 17:21:01 -05:00
Nicholas Nethercote
01299aae8a Bug 711901 - Use mallocSizeOf in the source image memory reporters. r=joedrew.
--HG--
extra : rebase_source : 9c39bbb44cb40fa900a8245842a50d894c02f4e0
2012-02-19 19:51:48 -08:00
Justin Lebar
53b43f460c Bug 715308 and bug 721510 - Back out rev 350ba395c, backing in bug 715308 and bug 721510, plus randomorange/crash fixes. r=joe 2012-02-09 15:04:30 -05:00
Justin Lebar
4a3cd7b50f Back out bug 715308 and bug 721510 due to crashes and intermittent OSX reftest failures. r=joe 2012-02-02 10:59:01 -05:00
Bas Schouten
7244d2b180 Bug 715785: Make ImageContainers independent of LayerManagers. r=roc 2012-02-01 03:18:30 +01:00
Justin Lebar
dcc95caa8a Bug 715308 - Part 1: Decode RasterImage::Draw()'n images before other images. r=joe
--HG--
extra : rebase_source : b958a682e5a92767ba1887a7d6df5a53f146fda2
2012-01-26 15:54:04 -05:00
Atul Aggarwal
ed47d8142d Bug 698263 - Rename mozilla::imagelib namespaces to mozilla::image r=joe 2012-01-06 21:32:27 +05:30
Ms2ger
1a688061bd Bug 699731 - Remove PR_INT64_MAX / PR_UINT64_MAX from non-nsprpub source; r=ted 2012-01-11 09:23:07 +01:00
Justin Lebar
661f8de7fc Bug 712959 - Imagelib should notice when all image.mem.* prefs change. r=joe 2011-12-22 09:21:00 -05:00
Scott Johnson
10e13a5eaf Bug 666446, Part 9/10 - Implement methods in RasterImage in order to faciliate refresh driver-based animations. [r=dholbert,joe] 2011-11-09 13:39:16 -08:00
Scott Johnson
d4b112def1 Bug 666446, Part 1/10 - Add method to imgIContainer for notification of refresh driver events. [r=dholbert,joe][sr=mats] 2011-11-09 13:39:15 -08:00
Matt Woodrow
2c52d928ce Bug 695610 - Move ImageContainer caching into imgIContainer. r=joe 2011-11-09 16:14:41 +13:00
Justin Lebar
81c40942af Back out bug 666446 due to Talos regression. 2011-11-02 20:11:01 -04:00
Scott Johnson
e0d9a22ae9 Bug 666446, Part 9/10 - Implement methods in RasterImage in order to faciliate refresh driver-based animations. [r=dholbert,joe] 2011-11-01 11:06:53 -04:00